A company hosts a production web application in the us-east-1 Region. The application uses Amazon EC2 instances behind an Application Load Balancer (ALB) and an Amazon RDS for PostgreSQL DB instance. The SysOps Administrator needs to design a disaster recovery (DR) strategy to the us-west-2 Region. The business requires a Recovery Point Objective (RPO) of minutes and a Recovery Time Objective (RTO) of hours. The strategy must minimize ongoing infrastructure costs in the secondary region.
Which configuration meets these requirements?
- Enable Amazon RDS cross-region automated backups from us-east-1 to us-west-2. Store the application deployment templates in AWS CloudFormation. In the event of a disaster, restore the RDS DB instance from the replicated backups in us-west-2, and provision the application infrastructure using the CloudFormation templates.Cevap
- BDeploy the RDS DB instance as a Multi-AZ deployment with the standby replica located in the us-west-2 Region. In the event of a disaster in us-east-1, Route 53 will automatically failover the database to us-west-2.
- CCreate a cross-region RDS read replica in us-west-2. Configure an Amazon Route 53 active-active failover routing policy to route write traffic to the replica in us-west-2 and automatically promote it during a failover event.
- DExport automated RDS snapshots to an Amazon S3 bucket. Configure Amazon S3 Cross-Region Replication (CRR) without enabling S3 Versioning to copy the snapshots from us-east-1 to us-west-2, and restore the database from the copied snapshots.
Cevap
Enable Amazon RDS cross-region automated backups from us-east-1 to us-west-2. Store the application deployment templates in AWS CloudFormation. In the event of a disaster, restore the RDS DB instance from the replicated backups in us-west-2, and provision the application infrastructure using the CloudFormation templates.
The correct configuration is to enable Amazon RDS cross-region automated backups, which continuously replicates transaction logs to the secondary region. This satisfies the 15-minute RPO. Restoring the database from these backups and deploying the application tier using AWS CloudFormation satisfies the 4-hour RTO. This approach is highly cost-effective because it incurs only backup storage costs in the secondary region until a failover is executed.
Adım Adım Çözüm
Anahtar Kavram
Disaster Recovery strategies and the trade-offs between RTO, RPO, and cost efficiency using RDS cross-region backup capabilities.