Articles → AWS → Instance Metadata In AWS
Instance Metadata In AWS
Purpose
How To Get The Metadata Information?
http://169.254.169.254/latest/meta-data
Click to Enlarge
http://169.254.169.254/latest/meta-data/hostname
Click to Enlarge
How To Get Instance Metadata In Linux
TOKEN=`curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"` \
&& curl -H "X-aws-ec2-metadata-token: $TOKEN" -v http://169.254.169.254/latest/meta-data/
Is Instance Metadata Encrypted?