Skip to content

Instantly share code, notes, and snippets.

@Mikulas
Created September 15, 2017 09:31
Show Gist options
  • Save Mikulas/0d7bf3caf51774fd830ea707d8015548 to your computer and use it in GitHub Desktop.
Save Mikulas/0d7bf3caf51774fd830ea707d8015548 to your computer and use it in GitHub Desktop.
curl 'https://ip-ranges.amazonaws.com/ip-ranges.json' | jq -r '.prefixes[] | select(.service=="AMAZON") | select(.region=="eu-central-1") | .ip_prefix'
18.194.0.0/15
18.196.0.0/15
35.156.0.0/14
52.28.0.0/16
52.29.0.0/16
52.57.0.0/16
52.58.0.0/15
52.92.68.0/22
52.94.17.0/24
52.94.198.48/28
52.94.204.0/23
52.94.248.112/28
52.95.248.0/24
52.95.255.128/28
52.119.188.0/22
52.219.44.0/22
52.219.72.0/22
54.93.0.0/16
54.231.192.0/20
54.239.0.160/28
54.239.4.0/22
54.239.54.0/23
54.239.56.0/21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment