An enterprise application uses an Amazon RDS for PostgreSQL database to manage critical transactions. The architecture must guarantee high availability (HA) within the primary Region () with a Recovery Time Objective (RTO) of less than seconds and a Recovery Point Objective (RPO) of . For disaster recovery (DR) in a secondary Region (), the architecture must support a Recovery Point Objective (RPO) of less than minutes. The secondary Region must also support read scaling for local analytics workloads. Which of the following database configurations meets these requirements with the least operational complexity?
- AConfigure the database as a Single-AZ Amazon RDS DB instance in the primary Region with a local read replica in a different Availability Zone. Configure the application to automatically promote the local read replica to primary during an outage, and create a cross-region read replica in the secondary Region.
- Configure the database as an Amazon RDS Multi-AZ DB cluster deployment in the primary Region. Create a cross-region read replica in the secondary Region to serve local analytics workloads.Answer
- CConfigure an Amazon RDS Multi-AZ DB instance in the primary Region. Configure AWS Backup to take automated snapshots of the database every hours and copy them to the secondary Region to maintain a pilot light environment.
- DConfigure an Amazon RDS Multi-AZ DB instance in the primary Region and create a cross-region read replica in the secondary Region. Configure an Amazon Route 53 Latency routing policy without health checks to automatically redirect write traffic to the secondary Region replica during a failure.
Answer
Configure the database as an Amazon RDS Multi-AZ DB cluster deployment in the primary Region, and create a cross-region read replica in the secondary Region to serve local analytics workloads.
The correct configuration utilizes an Amazon RDS Multi-AZ DB cluster deployment in the primary Region. Multi-AZ DB clusters provide high availability with a writer DB instance and two readable reader DB instances across three Availability Zones. Failovers in this configuration typically take less than seconds, which satisfies the RTO of less than seconds, and the replication is synchronous, guaranteeing an RPO of . A cross-region read replica in the secondary Region provides asynchronous replication to meet the DR RPO requirement of less than minutes and allows local analytics workloads to perform read operations without impacting the primary writer.
Step-by-Step Solution
Key Concept
High Availability vs. Disaster Recovery in Amazon RDS