Articles → AWS → Instance Metadata In AWS

Instance Metadata In AWS


How To Get The Metadata Information?

Picture showing the different categories of information for the EC2 instance using instance metadata
Click to Enlarge

Picture showing the hostname from instance metadata
Click to Enlarge

How To Get Instance Metadata In Linux

TOKEN=`curl -X PUT "" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"` \
&& curl -H "X-aws-ec2-metadata-token: $TOKEN" -v

Is Instance Metadata Encrypted?

Posted By  -  Karan Gupta
Posted On  -  Thursday, January 13, 2022
Updated On  -  Thursday, December 28, 2023


Your Email Id  
Query/FeedbackCharacters remaining 250