AWS EC2 Instance Metadata

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

To view the startup

/latest/user-data/
script

/latest/dynamic/
169.254.169.245/latest/meta-data/ ( Last
Slash Matters )
Will Get the IPv4, Host
Name, Instance ID etc

/info Less Known Feature


append that to the url
Will Give you /meta-data/iam/ To Get the Credentials
and you will get the AWS EC2 Instance
IP to remember
Gives Id,Pass and Token JSON which has the Will List the Role /security-credentials Metadata Lets to know about the
credentials and much machine with NO IAM
Can be hit only from
more Role
EC2 Intances

Can Get the Policy


Name but not the Policy Using This
Itself

You might also like