An e-commerce company is migrating its primary transactional database to Amazon RDS for MySQL. The database design must meet the following operational requirements:
* Within the primary AWS Region, the database must support automatic failover with a Recovery Time Objective (RTO) of less than seconds.
* The architecture must allow read workloads to scale horizontally across multiple Availability Zones in the primary Region without querying the primary writer instance.
* For disaster recovery, the database must support cross-Region replication to a secondary Region with a Recovery Point Objective (RPO) of less than minutes.
Which database configuration meets these requirements with the least operational complexity?
- Deploy an Amazon RDS Multi-AZ DB cluster containing one primary writer and two readable standby instances across three Availability Zones. Configure an asynchronous cross-Region read replica in the secondary Region.Cevap
- BDeploy an Amazon RDS Multi-AZ DB instance containing one primary writer and one non-readable standby instance. Create two read replicas in the primary Region for read scaling, and create a cross-Region read replica. Configure Amazon Route 53 latency-based routing to automatically redirect write traffic to the read replicas if the primary writer fails.
- CDeploy an Amazon RDS Single-AZ DB instance with two read replicas in the primary Region and one cross-Region read replica in the secondary Region. Configure Route 53 failover routing with active-passive health checks to automatically promote a primary Region read replica to master if the Single-AZ instance fails.
- DDeploy an Amazon RDS Multi-AZ DB instance in the primary Region. Configure AWS Backup to perform cross-Region replication of the database snapshots to the secondary Region every hours. Restore the database from the copied snapshot in the secondary Region during a disaster recovery scenario.
Cevap
Deploy an Amazon RDS Multi-AZ DB cluster containing one primary writer and two readable standby instances across three Availability Zones. Configure an asynchronous cross-Region read replica in the secondary Region.
The configuration utilizing an Amazon RDS Multi-AZ DB cluster satisfies all operational requirements. It provides a primary writer and two readable standby instances across three Availability Zones. Failover in a Multi-AZ DB cluster is typically completed in under seconds (meeting the -second RTO limit). Additionally, because both standby instances are readable, the application can scale read workloads without querying the primary writer. A cross-Region read replica provides asynchronous, near-real-time replication, meeting the RPO of less than minutes.
Adım Adım Çözüm
Anahtar Kavram
Selecting between Amazon RDS Multi-AZ DB instances, Multi-AZ DB clusters, and cross-Region read replicas to satisfy strict RTO, RPO, and read scaling requirements.
Tahmini Süre:2m 30s