Created
June 17, 2016 16:22
-
-
Save algotrader-dotcom/fe110907efc34f5d3f96cfc7474ff362 to your computer and use it in GitHub Desktop.
How to get metadata ec2 instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ curl http://169.254.169.254/latest/dynamic/instance-identity/document | |
| { | |
| "version" : "2010-08-31", | |
| "architecture" : "x86_64", | |
| "instanceType" : "t1.micro", | |
| ... | |
| "region" : "us-west-2", | |
| "availabilityZone" : "us-west-2b", | |
| ... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment