Google Cloud IP ranges
141 IPv4 and 225 IPv6 prefixes that Google Cloud publishes for its services, with the region where the provider gives one.
Release Dec 5, 2026 · updated weekly, every Monday
IPv4 prefixes
141
IPv6 prefixes
225
IPv4 addresses
22.8M
Regions
47
Google Cloud IP ranges
First 200 of 366 rows. The downloads have them all.
Use the list
Fetch the list in a script, a firewall or a web server configuration. It changes when the provider changes its ranges.
# Google Cloud IPv4 and IPv6 ranges, one CIDR per line
curl -s https://ipinfo.zip/ip-ranges/google-cloud.txt -o google-cloud.txt
# nginx: allow only Google Cloud (e.g. in front of a load balancer)
awk '{ print "allow " $1 ";" }' google-cloud.txt > google-cloud-allow.conf
echo 'deny all;' >> google-cloud-allow.conf