A financial services company is migrating its transactional application to AWS. The database tier will run on Amazon RDS for PostgreSQL. The company requires a database design that guarantees high availability within a single AWS Region. The design must provide an automatic failover time of less than 60 seconds (Recovery Time Objective) and zero data loss (Recovery Point Objective) during an Availability Zone outage. In addition, the database must support horizontal read scaling during peak hours. Which of the following database configurations meets these requirements?
- ADeploy a Single-AZ RDS PostgreSQL DB instance and create two Read Replicas in different Availability Zones, configuring the application to promote a Read Replica if the primary fails.
- BDeploy a Single-AZ RDS PostgreSQL DB instance and use AWS Backup to restore hourly snapshots to a new DB instance in a different Availability Zone during a failure.
- Deploy an Amazon RDS Multi-AZ DB cluster with one writer DB instance and two readable standby DB instances across three Availability Zones.Cevap
- DDeploy two Single-AZ RDS PostgreSQL DB instances in different Availability Zones and configure Amazon Route 53 latency-based routing to distribute database write and read traffic.
Cevap
Deploy an Amazon RDS Multi-AZ DB cluster with one writer DB instance and two readable standby DB instances across three Availability Zones.
Deploying an Amazon RDS Multi-AZ DB cluster provides a high availability configuration with one primary (writer) DB instance and two readable standby DB instances across three Availability Zones. This deployment uses semi-synchronous replication to ensure zero data loss (RPO of 0) and supports automatic failover in under 35 seconds (meeting the RTO requirement). Furthermore, the readable standby instances allow horizontal scaling of read traffic through the reader endpoint.
Adım Adım Çözüm
Anahtar Kavram
High Availability and Read Scaling in Amazon RDS Multi-AZ DB Clusters