What are the IP ranges for GCE zones?

后端 未结 2 1053
故里飘歌
故里飘歌 2020-12-31 11:14

I need to provide my CDN the IP ranges that I might be using when I create GCE instances. Is the list of IP ranges by GCE location published anywhere?

相关标签:
2条回答
  • 2020-12-31 11:38

    We don't currently publish which IPs map to which ranges. We can and do move blocks as necessary to balance capacity. However, all Google Cloud IPs are listed here:

    dig txt _cloud-netblocks.googleusercontent.com +short
    "v=spf1 include:_cloud-netblocks1.googleusercontent.com include:_cloud-netblocks2.googleusercontent.com include:_cloud-netblocks3.googleusercontent.com ?all"
    

    See also:

    • Google App Engine - urlFetch address not in _netblocks.google.com
    • Compute Engine Firewall for App Engine Url Fetch
    0 讨论(0)
  • 2020-12-31 11:55

    You might also consider reserving ip addresses and reusing those to start/restart your instances depending on what you're doing.

    https://developers.google.com/compute/docs/reference/latest/addresses/insert

    0 讨论(0)
提交回复
热议问题