Difference between global and regional IP addresses in Google Cloud

Viewed 932

I do understand that global external addresses are used for External Load Balancers while regional external addresses for VMs and Regional Load Balancers. Why is there such a separation between global and regional IP? They are both can be reached from internet. Is it implementation detail?Can somebody explain that?

1 Answers

Global IP addresses are different because of ANYCAST. The same IP address can represent more than one data center. Load balancers, DNS servers, CDNs, etc use ANYCAST and BGP (Border Gateway Protocol) to route the client to the closest datacenter using one IP address. You could imagine this as one global IP address can route to one of many regional IP addresses. Which regional IP address is determined by BGP (the routing rules).

Related