A global maritime freight company is designing a high-availability tracking and customs compliance system on Google Cloud. The system consists of stateless HTTP API microservices processing real-time vessel updates, backed by a transactional relational database. The solution must provide multi-region high availability with a Recovery Point Objective (RPO) of 0 and a Recovery Time Objective (RTO) under 1 minute across two GCP regions. Additionally, the system requires hybrid connectivity to an on-premises data center with a peak bandwidth requirement of 500 Mbps. Which architecture meets all technical requirements while minimizing operational complexity and cost?
- Deploy the stateless microservices on Cloud Run across both regions behind a Global External Application Load Balancer. Use a multi-region Cloud Spanner instance for the database, and establish HA VPN for hybrid connectivity to the on-premises data center.Answer
- BDeploy the stateless microservices on Cloud Run across both regions behind a Global External Application Load Balancer. Use Cloud SQL with High Availability (HA) in the primary region and cross-region read replicas, and establish HA VPN for hybrid connectivity.
- CDeploy the stateless microservices on Cloud Run across both regions behind a Global External Application Load Balancer. Use a multi-region Cloud Spanner instance for the database, and provision a 10 Gbps Dedicated Interconnect circuit for hybrid connectivity.
- DProvision GKE Autopilot clusters in both regions behind a Global External Application Load Balancer to host the microservices. Use a multi-region Cloud Spanner instance for the database, and establish HA VPN for hybrid connectivity.
Answer
Deploying stateless microservices on Cloud Run across two regions fronted by a Global External Application Load Balancer, using multi-region Cloud Spanner for zero RPO relational data storage, and connecting on-premises via HA VPN fulfills all HA, compliance, performance, and cost requirements.
The combination of Cloud Run for stateless compute, multi-region Cloud Spanner for globally consistent zero RPO database writes, and HA VPN for 500 Mbps hybrid connectivity perfectly satisfies the RTO, RPO, availability, and cost constraints.
Step-by-Step Solution
Key Concept
Designing multi-region high-availability architectures with zero RPO data storage and appropriate hybrid connectivity scaling.