Skip to content

Instantly share code, notes, and snippets.

@yunghoy
Last active September 12, 2017 08:20
Show Gist options
  • Select an option

  • Save yunghoy/106ee2e8e55f52b45ee0a5be4427c352 to your computer and use it in GitHub Desktop.

Select an option

Save yunghoy/106ee2e8e55f52b45ee0a5be4427c352 to your computer and use it in GitHub Desktop.
aws pubip
curl http://169.254.169.254/latest/meta-data/public-ipv4
curl checkip.amazonaws.com
dig -x $(curl -s checkip.amazonaws.com) +short
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment