A global e-commerce firm is designing a new online transaction processing (OLTP) ledger system that must operate across two AWS Regions: us-east-1 (primary) and us-west-2 (secondary). The ledger requires a relational database that can handle high-rate write transactions in the primary region, support local read operations with sub-second latency in both regions to serve real-time analytics dashboards, and support a disaster recovery plan with a Recovery Point Objective (RPO) of under 2 seconds and a Recovery Time Objective (RTO) of under 10 minutes. Additionally, compliance requirements dictate that all data must be encrypted at rest using customer managed keys (CMKs) in AWS Key Management Service (AWS KMS). Which database and storage strategy meets these requirements with the lowest operational overhead?
- Deploy an Amazon Aurora PostgreSQL global database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. Configure Aurora Replicas in both regions to scale read operations, and enable Aurora Auto Scaling for the replicas. Encrypt the database clusters at rest using customer managed keys (CMKs) in AWS KMS created in each respective region.Answer
- BDeploy an Amazon RDS for PostgreSQL database in us-east-1 with Multi-AZ deployment enabled, and create a cross-region read replica in us-west-2. Route read queries to the Multi-AZ standby instance in us-east-1 during peak traffic to scale read capacity. Encrypt the database using customer managed keys (CMKs) in AWS KMS.
- CDeploy a single-region Amazon Aurora PostgreSQL database in us-east-1. Configure hourly database snapshots, encrypt them using a customer managed key in AWS KMS, and copy the snapshots to us-west-2. In the event of a disaster, restore the database from the latest copied snapshot in us-west-2.
- DDeploy an Amazon Aurora PostgreSQL global database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. Encrypt the primary cluster using the default AWS-managed KMS key for Amazon RDS. Modify the key policy of this AWS-managed key to grant replication permissions to the secondary region.