Giter Club home page Giter Club logo

Comments (2)

brycahta avatar brycahta commented on July 2, 2024

hey @petrukngantuk, I confirmed this is definitely a valid path on my ec2 instance, but not seeing it in the documentation. Out of curiosity, how did you come across this path?

I'll do some research on my end to see if this is a one-off addition or if it's one of many paths that need to be added so we can batch appropriately. From there, I can provide a better answer as to if/when we can support /meta-data/instance-life-cycle

For future reference:

[ec2-user@ip-172-31-34-43 ~]$ curl http://169.254.169.254/latest/meta-data/instance-life-cycle
on-demand[ec2-user@ip-172-31-34-43 ~]$
[ec2-user@ip-172-31-34-43 ~]$ curl http://169.254.169.254/latest/meta-data/instance-life-cycle/on-demand
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>404 - Not Found</title>
 </head>
 <body>
  <h1>404 - Not Found</h1>
 </body>
</html>

from amazon-ec2-metadata-mock.

kholisrag avatar kholisrag commented on July 2, 2024

Well when I use mixed asg on-demand n spot instance in our eks cluster

When instance type on-demand its return normal/on-demand,iirc. But when we have spot instance it's return spot. When we curl to /meta-data/instance-life-cycle

from amazon-ec2-metadata-mock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.