Created
October 11, 2012 01:14
-
-
Save loopj/3869561 to your computer and use it in GitHub Desktop.
Get the AWS instance ID for the current instance, no API credentials required
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
| # Get the AWS instance ID for the current instance, no API credentials required | |
| curl http://169.254.169.254/2009-04-04/meta-data/instance-id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment