Skip to content

Instantly share code, notes, and snippets.

@thomaswitt
Last active October 21, 2016 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomaswitt/6b29d1845840a3a83c12a720e074a788 to your computer and use it in GitHub Desktop.
Save thomaswitt/6b29d1845840a3a83c12a720e074a788 to your computer and use it in GitHub Desktop.
Get IP ranges of AWS in Europe
curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select(.region=="eu-west-1" or .region == "eu-central-1" or .region == "GLOBAL") | .ip_prefix' | sort -u | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment