A financial technology company is migrating its core transaction ledger application to Amazon Aurora PostgreSQL. The application requires high availability within a single AWS Region, with a Recovery Point Objective (RPO) of zero (no data loss) and a Recovery Time Objective (RTO) of less than 30 seconds. Additionally, the company needs to dynamically scale read operations during peak trading hours. Which database configuration best meets these requirements?
- Deploy an Amazon Aurora PostgreSQL DB cluster with a primary writer instance and at least one Aurora Replica in a different Availability Zone, and configure the application to use the cluster endpoint and reader endpoint.Answer
- BDeploy a single-node Amazon Aurora PostgreSQL DB cluster, and configure an Amazon RDS PostgreSQL Read Replica in a different Availability Zone to serve as the automatic failover target.
- CDeploy an Amazon Aurora PostgreSQL DB cluster in a Single-AZ configuration, and configure Amazon Route 53 latency routing to automatically redirect write traffic to a read replica during an outage.
- DDeploy a primary Amazon Aurora PostgreSQL DB instance, configure a standby instance in another Availability Zone, and implement a pilot light replication scheme to sync transaction logs every 10 minutes.
Answer
Deploy an Amazon Aurora PostgreSQL DB cluster with a primary writer instance and at least one Aurora Replica in a different Availability Zone, and configure the application to use the cluster endpoint and reader endpoint.
The correct configuration uses an Amazon Aurora PostgreSQL DB cluster with a primary writer instance and at least one Aurora Replica in a different Availability Zone. Amazon Aurora automatically replicates database storage across three Availability Zones within the region, ensuring an RPO of zero. If the primary instance fails, Aurora automatically fails over to the replica in another Availability Zone in less than 30 seconds (meeting the RTO requirement). The application can write to the cluster endpoint and scale read operations dynamically by using the reader endpoint.
Step-by-Step Solution
Key Concept
Amazon Aurora high availability relies on multi-AZ storage replication and Aurora Replicas acting as failover targets with automated failover handling.