Created
March 16, 2014 07:14
-
-
Save xshyamx/9579619 to your computer and use it in GitHub Desktop.
Get the public hostname in ec2 from within the 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/meta-data/public-hostname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment