This refers to GCP Http(s) Global Load balancing tutorial here. This example shows cross region content based load balancing. I want to check if a similar configuration(based on URL maps) can be used to set up a DR site for an application in another region. For example,
- An instance group in europe-west3 region (Primary). URL map entry added at the time of load balancer configuration.
- Another instance group in europe-west4 region (DR).
The idea is to update the URL map entry to point to the second (DR) instance group when a DR procedure is invoked.
Question
- Assuming the DR instance group is always up(active), how long does it take for a URL map entry update to start routing traffic to the second(DR) instance group?
- Is there another way to start routing traffic to the second instance group without a URL map update? Is it possible to configure a DNS setting to create a similar effect?
Update 15Oct2019
At the moment, the best option appears to be setting up a multi region deployment with URL map configured to both regions. GFEs will ensure that traffic is served to users from the primary region - assuming that the primary region is closest to users. However there is a chance of traffic overflow to secondary(DR) region due to reasons other than a DR trigger - as listed in this useful article - which needs to be accounted for.