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'



Comments

Popular posts from this blog

[Solved] calico/node is not ready: BIRD is not ready: BGP not established (Calico 3.6 / k8s 1.14.1)

[Resolved] groupVersion shouldn't be empty

[Solved] Gitlab remote: ERROR: Your SSH key has expired.