A regional freight logistics company is designing a high-availability backend on Google Cloud for its shipment management platform within a single GCP region. The architecture requires a stateless HTTP microservice tier that automatically scales during peak hours without server management overhead. The relational database tier requires strict ACID compliance, a zero Recovery Point Objective () in the event of a single zonal outage, and automated multi-zone failover to maintain a 99.99% availability target. Which architecture meets these technical requirements with the lowest operational complexity?
- Deploy the stateless microservices to Cloud Run, and store relational data in a regional Cloud SQL for PostgreSQL instance with High Availability (HA) enabled across dual zones.Answer
- BDeploy the stateless microservices to a regional Google Kubernetes Engine (GKE) cluster, and store relational data in a multi-region Cloud Spanner instance.
- CDeploy the stateless microservices to Cloud Run, and store relational data in a single-zone Cloud SQL instance backed up by automated hourly Cloud Storage database snapshots.
- DDeploy the stateless microservices to unmanaged Compute Engine virtual machines in a single zone, and store relational data in a single-zone Cloud SQL instance using HA VPN for cross-zone replication.
Answer
Deploying stateless microservices on Cloud Run backed by a regional Cloud SQL for PostgreSQL instance with High Availability (HA) enabled across dual zones provides serverless autoscaling and zero-RPO zonal redundancy with minimum operational overhead.
Combining serverless Cloud Run for the compute tier with dual-zone Cloud SQL HA for the storage tier fulfills all stateless scaling and database zero-RPO () failover requirements while keeping operational complexity low.
Step-by-Step Solution
Key Concept
Single-Region High Availability and DR Alignment