Architecting Multi-Regional High Availability with Cloud SQL and Cloud Spanner

ADVANCED
180 minutes
5 tasks

This advanced lab guides you through designing a multi-regional architecture using Cloud SQL and Cloud Spanner to ensure high availability and disaster recovery for a fictitious financial services company. You will configure read replicas, set up backup and recovery procedures, and utilize SQL Insights to monitor and optimize performance. The focus will be on balancing availability, cost, and performance to meet strict SLA requirements.

Scenario

You are working for a financial services company that requires a high-availability database architecture to support their global trading platform. The system must ensure a 99.99% SLA and handle burst loads up to 10,000 transactions per second during peak trading hours. Your team decided to implement Cloud SQL for PostgreSQL for transactional data and Cloud Spanner for seamless scaling and global consistency. A key project goal is cost management while maintaining required performance and reliability metrics.

Learning Objectives

  • Design and implement a multi-regional architecture using Cloud SQL and Cloud Spanner.
  • Set up high availability and disaster recovery strategies for both databases.
  • Utilize SQL Insights to monitor and optimize database performance.

tasks (5)

task 1: Set up Cloud SQL with HA and a read replica

45 min

task 2: Implement high availability and consistency with Cloud Spanner

50 min

task 3: Configure SQL Insights for monitoring and optimization

30 min

task 4: Implement disaster recovery using backups and PITR

35 min

task 5: Optimize database cost and performance

20 min

Prerequisites

  • Basic understanding of Cloud SQL and Cloud Spanner services.
  • Fundamental knowledge of high availability and disaster recovery concepts.

Skills Tested

Designing and implementing high-availability database architecture using Cloud SQL and Cloud Spanner.Configuring database solutions to meet specific SLA requirements.