Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine - list of IP addresses?

I know that Google App Engine does not support an application having a static IP address, but I'd like to know if there is a list or range of IP addresses that an app could potentially have? I'd like to use that list as a whitelist of IP addresses for another application deployed elsewhere.

like image 802
ThePiachu Avatar asked Jun 22 '12 02:06

ThePiachu


People also ask

Can Google check IP addresses?

Google collects IP addresses from your website visitors whenever you send a hit to their systems (think each time a page finishes loading). That means every Google Analytics hit from your tags is attached to an IP address.

Which IP addresses are owned by Google?

In the DNS servers field, enter the Google Public DNS IP addresses, separated by a comma: For IPv4: 8.8.8.8 and/or 8.8.4.4 . For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844 .

How do I find the IP of a GCP project?

To view the internal and external IP addresses for your instance using gcloud compute , use the instances list sub-command. Replace instance-name with the name of the instance whose internal or external IP you want to view. Make a GET request to the instances. get method.


1 Answers

In addition to the other answers, GAE premier support directed me to this name, esp as the source IP address for URLFetch calls:

$ dig -t txt _cloud-netblocks.googleusercontent.com 

which answers:

include:_cloud-netblocks1.googleusercontent.com include:_cloud-netblocks2.googleusercontent.com include:_cloud-netblocks3.googleusercontent.com 

if you then query those, you get this list of ranges (as of 2014-06-26):

8.34.208.0/20 8.35.192.0/21 8.35.200.0/23 23.236.48.0/20 23.251.128.0/19 107.167.160.0/19 107.178.192.0/18 108.170.192.0/20 108.170.208.0/21 108.170.216.0/22 108.170.220.0/23 108.170.222.0/24 108.59.80.0/20 130.211.4.0/22 146.148.16.0/20 146.148.2.0/23 146.148.32.0/19 146.148.4.0/22 146.148.64.0/18 146.148.8.0/21 162.216.148.0/22 162.222.176.0/21 173.255.112.0/20 192.158.28.0/22 199.192.112.0/22 199.223.232.0/22 199.223.236.0/23 
like image 118
ckhan Avatar answered Sep 19 '22 22:09

ckhan