Sometimes, it is necessary to route internet traffic for performance reasons. If such routing is necessary, one must determine the range of IP addresses used by the cloud provider.
The first step is to discover your cloud provider's endpoint.
If your cloud provider is Amazon S3
Choose your Amazon S3 endpoint location
The routes will be different for every Amazon S3 endpoint location. A list of endpoints can be found on the following page.
Select the endpoint that you use for your backups.
If your cloud provider is Google Cloud Storage
Your endpoint is commondatastorage.googleapis.com
After discovering your endpoint
Determine an IP address for the endpoint
Open a command prompt and enter the following command (without the brackets):
nslookup [your location]
The results of the nslookup command will include an IP address currently used for the cloud provider.
In the example below, we used the location s3.amazonaws.com and have determined the IP address to be 22.214.171.124
s3.amazonaws.com canonical name = s3.geo.amazonaws.com.
s3.geo.amazonaws.com canonical name = s3-2.amazonaws.com.
Run a whois query on the IP address
We need to determine the entire range of IP addresses (the NetRange) available for Amazon S3. We can get this range by running a whois query on the IP address we gathered above.
It is usually easiest to run a whois query from a website. We recommend: http://www.networksolutions.com/whois/index.jsp
In the example below, we have determined the NetRange is 126.96.36.199 to 188.8.131.52
NetRange: 184.108.40.206 - 220.127.116.11 CIDR: 18.104.22.168/19 OriginAS: AS16509 NetName: AMAZON-01 NetHandle: NET-207-171-160-0-1 Parent: NET-207-0-0-0-0 NetType: Direct Assignment RegDate: 1999-09-23 Updated: 2012-03-02 Ref: http://whois.arin.net/rest/net/NET-207-171-160-0-1
Once you have the NetRange, you can then route traffic to the cloud IP addresses used by ZCB. This can be used for routing traffic, setting up firewall, and so on.