An enterprise runs a critical transactional application backed by an Amazon RDS for PostgreSQL database instance in the us-east-1 Region. The database must sustain an Availability Zone outage with zero data loss (RPO = 0) and automatic failover in less than 60 seconds (RTO < 60s). The enterprise also requires a disaster recovery (DR) solution in the us-west-2 Region with an RPO of less than 5 minutes and an RTO of less than 15 minutes. Which two database configuration actions should the solutions architect take to meet these requirements with the least operational overhead?
- Modify the primary database instance to a Multi-AZ DB cluster deployment to support synchronous replication across three Availability Zones and automated failover.Cevap
- BConfigure an in-region read replica in another Availability Zone, and create a custom script to automate promotion of the replica if the primary instance becomes unresponsive.
- CSet up AWS Backup to perform daily database snapshots, copy them to the secondary region, and deploy an AWS CloudFormation template to restore the database in the secondary region during a disaster.
- Create an Amazon RDS cross-region read replica in the secondary region to asynchronously replicate data and serve as the promotion target for regional disaster recovery.Cevap
- EConfigure Amazon Route 53 latency-based routing to automatically distribute write traffic between the primary instance and the secondary region to achieve active-active database capabilities.
Cevap
Modify the primary database instance to a Multi-AZ DB cluster deployment, and create a cross-region read replica in the secondary region.
To achieve high availability with an RPO of 0 and an RTO of less than 60 seconds, the database must be configured with synchronous replication and automated failover. An Amazon RDS Multi-AZ DB cluster deployment provides synchronous replication across three Availability Zones and failover in under 35 seconds, satisfying the primary region HA goals. For cross-region disaster recovery, an Amazon RDS cross-region read replica replicates data asynchronously with very low replication lag (RPO < 5 minutes) and can be promoted to a primary database in the secondary region in under 15 minutes (RTO < 15 minutes) with minimal administrative overhead.
Adım Adım Çözüm
Anahtar Kavram
Amazon RDS Multi-AZ DB clusters provide synchronous replication across three Availability Zones for zero data loss and automated sub-minute failovers, while cross-region read replicas provide asynchronous replication for multi-region disaster recovery with low replication lag and fast promotion capabilities.