A company is designing a disaster recovery (DR) strategy for its internal HR portal. The application runs on Amazon EC2 instances behind an Application Load Balancer in a Multi-AZ configuration, using an Amazon RDS for PostgreSQL database. The business requires a Recovery Time Objective (RTO) of 4 hours and a Recovery Point Objective (RPO) of 24 hours. The solutions architect must design a cost-effective solution that minimizes ongoing idle resource costs. Which two actions should the solutions architect take to meet these requirements?
- Configure daily automated backups of the Amazon RDS database and copy the snapshots to a secondary AWS Region.Answer
- Store the application server configuration as an Amazon Machine Image (AMI), copy the AMI to a secondary AWS Region, and maintain an AWS CloudFormation template to provision the application infrastructure in the secondary Region only during a disaster.Answer
- CDeploy a cross-region Amazon RDS Read Replica in the secondary AWS Region and configure Amazon Aurora Replica Auto Scaling to dynamically adjust replica capacity.
- DConfigure a Route 53 Private Hosted Zone for the portal in the secondary Region's VPC without associating it with the primary Region's VPC, relying on default cross-VPC DNS inheritance.
- EDeploy a single NAT Gateway in one Availability Zone in the primary Region and route all outbound internet traffic from all private subnets through it to reduce gateway hourly charges.
Answer
Configure daily automated backups of the Amazon RDS database and copy the snapshots to a secondary AWS Region, and store the application server configuration as an Amazon Machine Image (AMI), copy the AMI to a secondary AWS Region, and maintain an AWS CloudFormation template to provision the application infrastructure in the secondary Region only during a disaster.
The correct strategy combines daily database snapshots copied to a secondary region with on-demand infrastructure provisioning using AMIs and CloudFormation. Since the database is backed up daily, the 24-hour RPO is met. Restoring the database from a snapshot and deploying the application tier using CloudFormation can easily be completed within the 4-hour RTO. This minimizes ongoing idle costs since no compute or database resources run in the secondary region during normal operations.
Step-by-Step Solution
Key Concept
For applications with non-critical RTO (hours) and RPO (24 hours or more), a Backup and Restore disaster recovery pattern is the most cost-effective solution. It avoids ongoing running costs in the recovery region by copying offline assets (database snapshots and AMIs) and deploying the environment using automation (CloudFormation) only when a failover is initiated.
Estimated Time:2m 0s