Soru

Zorluk: OrtaDesigning Infrastructure for Technical Requirements and High Availability

An energy utility company is designing a high-availability architecture on Google Cloud for a stateless REST API that ingests real-time smart grid telemetry. The solution requires multi-zone high availability within a primary region, an RTO of under 1 minute, and an RPO of 0 for standard relational transactional data. The peak bandwidth requirement for hybrid connectivity from their on-premises data center to Google Cloud is 1.5 Gbps. Which architecture satisfies these technical and availability requirements while minimizing operational overhead and cost?

  1. Deploy the stateless REST API on Cloud Run backed by a Regional External Application Load Balancer, store relational data in Cloud SQL configured with High Availability (regional failover with synchronous replication), and establish HA VPN for hybrid connectivity.Cevap
  2. B
    Deploy the stateless REST API on a regional Google Kubernetes Engine (GKE) cluster, store relational data in Cloud SQL configured with High Availability, and establish HA VPN for hybrid connectivity.
  3. C
    Deploy the stateless REST API on Cloud Run, store relational data in a multi-region Cloud Spanner instance, and establish HA VPN for hybrid connectivity.
  4. D
    Deploy the stateless REST API on Cloud Run, store relational data in Cloud SQL configured with High Availability, and provision a Dedicated Interconnect connection as the minimum required connectivity.

Cevap

Deploy the stateless REST API on Cloud Run backed by a Regional External Application Load Balancer, store relational data in Cloud SQL configured with High Availability (regional failover with synchronous replication), and establish HA VPN for hybrid connectivity.
The combination of Cloud Run, Cloud SQL High Availability, and HA VPN addresses all technical requirements precisely. Cloud Run handles stateless API workloads without node or cluster maintenance overhead. Cloud SQL in HA mode provides synchronous persistent disk replication across zones in the same region, ensuring zero data loss (RPO = 0) and rapid automatic failover (RTO under 1 minute). HA VPN supports up to 3 Gbps per tunnel, fulfilling the 1.5 Gbps hybrid bandwidth requirement with minimal cost and setup effort.

Adım Adım Çözüm

1
Evaluate compute requirements for the stateless REST API
Cloud Run provides automatic scaling and zero cluster operational management for stateless microservices.
GKE adds unnecessary cluster configuration and operational overhead for pure stateless HTTP workloads.
2
Evaluate database high availability and recovery requirements
Cloud SQL HA uses synchronous replication across zones in a single region to achieve sub-minute failover (RTO < 1 min) and zero data loss (RPO = 0).
Cloud Spanner is designed for global scale across multiple regions and is over-engineered for single-region relational requirements.
3
Evaluate throughput requirements for hybrid connectivity
HA VPN supports up to 3 Gbps per tunnel, meeting the 1.5 Gbps requirement cost-effectively.
Dedicated Interconnect requires 10 Gbps / 100 Gbps circuits, which is unnecessary for a 1.5 Gbps workload.

Anahtar Kavram

Designing right-sized high availability infrastructure matching RTO/RPO and throughput constraints while minimizing operational complexity
Bu soruyu puanla