A company is migrating an on-premises MySQL 8.0 OLTP application to Google Cloud. The application requires high availability with automatic failover and zero RPO. Which Google Cloud database and configuration should they use?
Trap 1: Cloud Spanner with multi-region configuration
Cloud Spanner is overkill for a simple MySQL migration and does not support MySQL wire protocol.
Trap 2: Cloud SQL for MySQL with read replicas
Read replicas are asynchronous and do not provide automatic failover or zero RPO.
Trap 3: AlloyDB for PostgreSQL with HA
AlloyDB is PostgreSQL-compatible, not MySQL. The application uses MySQL 8.0.
- A
Cloud Spanner with multi-region configuration
Why wrong: Cloud Spanner is overkill for a simple MySQL migration and does not support MySQL wire protocol.
- B
Cloud SQL for MySQL with read replicas
Why wrong: Read replicas are asynchronous and do not provide automatic failover or zero RPO.
- C
AlloyDB for PostgreSQL with HA
Why wrong: AlloyDB is PostgreSQL-compatible, not MySQL. The application uses MySQL 8.0.
- D
Cloud SQL for MySQL with HA configuration
HA configuration uses synchronous replication to a standby in the same zone/region, automatic failover, and zero RPO.