Toshihiro Shibamoto suggested an idea · Nov 05, 2020 at 02:18 PM · 88 Views cidrip address
Hi community,
When you need to know the Apigee northbound router component IP address CIDR range, please follow the steps below.
1. Check the region where your org apis are deployed with the following Management API:
https://api.enterprise.apigee.com/v1/organizations/{org_name}/apis/{api_name}/deployments | jq -r '.environment[0].revision[0].server[0].pod.region'
For example, it gives;
- us-east1 for GCP
- us-east-1 for AWS
2. Find or run the following commands to check IP address range for GCP or AWS accordingly
GCP
Please refer to the GCP documentation:
Where can I find Compute Engine IP ranges
https://cloud.google.com/compute/docs/faq#find_ip_range
Google Cloud publishes a JSON-formatted list of customer-usable global and regional external IP address ranges in
https://www.gstatic.com/ipranges/cloud.json
AWS
You can check by the steps written on the page:
https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html
by the command is like;
$ jq '.prefixes[] | select(.region=="<region>" and .service=="EC2")' < ip-ranges.json
For example,
$ jq '.prefixes[] | select(.region=="us-east-1" and .service=="EC2")' < ip-ranges.json
Please note that the IP range may change based on the platform.
Hope this helps.
Thanks,
Toshi
Help us make things better. Share your great idea or vote for other people's.