An enterprise core banking application requires a relational database backend. The database configuration must achieve a Recovery Point Objective (RPO) of (no data loss) and a Recovery Time Objective (RTO) of less than seconds during an Availability Zone outage. The architecture must also support scaling read operations for reporting tools without impacting the primary database's write performance. Which database configuration meets these requirements with the lowest RTO and minimal operational effort?
- Deploy an Amazon Aurora PostgreSQL DB cluster with a primary DB instance and at least one Aurora Replica in a different Availability Zone. Configure the reporting tools to use the cluster reader endpoint.Answer
- BDeploy an Amazon RDS for PostgreSQL DB instance in a single Availability Zone. Create a Read Replica in a different Availability Zone, and use an Amazon Route 53 latency routing policy with health checks to automatically route write traffic to the replica during an outage.
- CDeploy an Amazon RDS for PostgreSQL database in a Multi-AZ DB instance deployment. Configure the reporting tools to connect directly to the standby replica to scale read operations.
- DDeploy two independent single-AZ Amazon RDS for PostgreSQL DB instances in different Availability Zones. Set up AWS Database Migration Service (AWS DMS) to perform bidirectional replication, and use an Application Load Balancer to distribute read and write traffic.
Answer
Deploy an Amazon Aurora PostgreSQL DB cluster with a primary DB instance and at least one Aurora Replica in a different Availability Zone, and configure the reporting tools to use the cluster reader endpoint.
The correct configuration uses Amazon Aurora PostgreSQL with a primary instance and an Aurora Replica in a different Availability Zone. Aurora's storage layer replicates data synchronously across three Availability Zones, ensuring an RPO of (no data loss). If the primary instance fails, failover to the replica is automatic and typically completes in under seconds. Additionally, the reporting tools can use the cluster reader endpoint to query the replica, offloading read operations from the primary writer instance.
Step-by-Step Solution
Key Concept
High Availability and Read Scaling in Amazon Aurora and Amazon RDS