Question

Difficulty: MediumDesigning Infrastructure for Technical Requirements and High Availability

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?

  1. 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
  2. B
    Deploy 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.
  3. C
    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 provision a 10 Gbps Dedicated Interconnect circuit for hybrid connectivity.
  4. D
    Provision 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

1
Evaluate compute requirements for stateless HTTP APIs
Cloud Run provides scalable, serverless container hosting across regions with lower operational overhead than Kubernetes Engine clusters.
Stateless microservices do not require complex Kubernetes orchestration.
2
Evaluate database requirements for multi-region zero RPO transactional consistency
Cloud Spanner configured with a multi-region instance configuration guarantees synchronous replication across regions and synchronous zero RPO failover.
Cloud SQL regional HA only covers single-region zone failures, and cross-region replication in Cloud SQL is asynchronous.
3
Evaluate hybrid networking requirements for 500 Mbps bandwidth
HA VPN supports up to 3 Gbps per tunnel, fully satisfying the 500 Mbps requirement cost-effectively.
Dedicated Interconnect requires a minimum 10 Gbps pipe and higher baseline costs.

Key Concept

Designing multi-region high-availability architectures with zero RPO data storage and appropriate hybrid connectivity scaling.
Rate this question