An international airline is designing the infrastructure for a microservice-based seat reservation API on Google Cloud. The architecture must handle unpredictable traffic spikes, maintain 99.99% availability, eliminate operational overhead associated with container cluster management, and support globally synchronous database transactions across multiple GCP regions with zero Recovery Point Objective (RPO). Which architecture best meets these technical and high-availability requirements?
- Deploy the API on Cloud Run across multiple regions behind a Global External HTTP(S) Load Balancer, and store reservation data in a multi-region Cloud Spanner instance.Answer
- BDeploy the API on GKE (Google Kubernetes Engine) Autopilot clusters in multiple regions behind a Global External HTTP(S) Load Balancer, and store reservation data in a multi-region Cloud Spanner instance.
- CDeploy the API on Cloud Run across multiple regions behind a Global External HTTP(S) Load Balancer, and store reservation data in a regional Cloud SQL for PostgreSQL instance with High Availability enabled.
- DDeploy the API on Compute Engine Managed Instance Groups (MIGs) across multiple regions using HA Cloud VPN to synchronize transactions with an on-premises database.
Answer
Deploying the microservice API on Cloud Run across multiple regions behind a Global External HTTP(S) Load Balancer, paired with a multi-region Cloud Spanner instance for database storage.
Cloud Run is a fully managed serverless platform for containerized stateless applications that scales automatically and eliminates container cluster administration. Fronted by a Global External HTTP(S) Load Balancer, incoming requests are efficiently distributed to regional Cloud Run instances. Cloud Spanner with a multi-region deployment configuration delivers external consistency and multi-region synchronous replication with zero RPO, satisfying strict transactional reservation requirements.
Step-by-Step Solution
Key Concept
Designing multi-region high-availability cloud architectures combining serverless compute and globally consistent relational databases.