GCP Cloud Architecture (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
How do you design multi-region Disaster Recovery (Active-Active vs Active-Passive) on GCP?
senior LevelgcpAdvanced Internals
In Simple Words:
- Global Anycast Load Balancer: Serves as the single frontend entry point routing users to the nearest healthy region.
- Active-Active with Cloud Spanner: Spanner replicates writes across multi-region configurations (e.g.
nam-eur-asia1) with zero downtime if an entire continent goes offline. - Active-Passive with Cloud SQL: Primary instance in Region A with cross-region read replica in Region B; automated health probe triggers regional promotion during disaster events.