-->

Monday, August 28, 2017

Listing the complete IP range of the AWS

If you want to whitelist the IPs of AWS, use the following command to list the all ips of  aws

curl https://ip-ranges.amazonaws.com/ip-ranges.json -s | jq '.prefixes[] | select(.region=="us-east-1" and .service=="EC2").ip_prefix'