AWS/Metadata service (IMDS)

From Ever changing code
< AWS
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

EC2 Meta-data

Methods of retrieving instance meta-data:

  • Instance information: http://169.254.169.254/latest/meta-data/
GET http://169.254.169.254/latest/meta-data/
curl http://169.254.169.254/latest/meta-data/
  • User information: http://169.254.169.254/latest/user-data
curl http://169.254.169.254/latest/user-data
  • Dynamic information: http://169.254.169.254/latest/dynamic/
GET http://169.254.169.254/latest/dynamic/document

References