A digital media streaming provider is designing a high-availability architecture on Google Cloud for its user profile and session management REST API service. The workload consists of stateless HTTP services experiencing variable traffic up to 5,000 requests per second. The backend database requires regional transactional consistency with low Recovery Time Objective (RTO) zonal failover, but does not require global multi-region write replication. The on-premises operations center requires a resilient connection to the Google Cloud VPC, with aggregate peak traffic limited to 1.5 Gbps. Which architecture meets all technical and high availability requirements while minimizing operational overhead and cost?
- Deploy the stateless REST API service on Cloud Run with a Serverless VPC Access connector, store user profile data in a regional Cloud SQL instance configured for High Availability across multiple zones, and establish hybrid connectivity using HA Cloud VPN.Answer
- BDeploy the stateless REST API service on Google Kubernetes Engine (GKE) Autopilot across multiple zones, store user profile data in a regional Cloud SQL instance configured for High Availability, and establish hybrid connectivity using HA Cloud VPN.
- CDeploy the stateless REST API service on Cloud Run with a Serverless VPC Access connector, store user profile data in a multi-region Cloud Spanner instance, and establish hybrid connectivity using HA Cloud VPN.
- DDeploy the stateless REST API service on Cloud Run with a Serverless VPC Access connector, store user profile data in a regional Cloud SQL instance configured for High Availability, and provision a 10 Gbps Dedicated Interconnect connection.
Answer
The optimal architecture combines Cloud Run for stateless compute auto-scaling, a Regional Cloud SQL instance configured for zonal High Availability (HA), and HA Cloud VPN for hybrid network connectivity under 3 Gbps.
The solution combining Cloud Run, regional HA Cloud SQL, and HA Cloud VPN meets all operational SLAs with minimal cost and management overhead. Cloud Run auto-scales stateless HTTP APIs efficiently. Regional Cloud SQL with HA provides automatic failover between zones in a single region to satisfy RTO/RPO goals. HA Cloud VPN supports up to 3 Gbps per tunnel with a 99.99% SLA, making it ideal for the 1.5 Gbps peak hybrid bandwidth requirement.
Step-by-Step Solution
Key Concept
Selecting right-sized high-availability compute, database, and networking primitives to meet technical RTO/RPO SLAs without over-engineering.