An e-commerce company hosts its critical shopping cart and order processing application on AWS. The application runs on Amazon ECS tasks using the AWS Fargate launch type in the us-east-1 Region, backed by an Amazon Aurora PostgreSQL Multi-AZ DB cluster. The company needs to design a disaster recovery (DR) solution in the us-west-2 Region. The DR solution must support a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 15 minutes. The company wants to minimize costs during normal operations while ensuring the compute capacity can scale up rapidly during a failover. Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)
- Set up an Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2.Answer
- Deploy a Warm Standby compute environment by maintaining a scaled-down ECS service in us-west-2. Configure an Application Load Balancer in us-west-2, and set up Amazon Route 53 failover routing with health checks pointing to both regions.Answer
- CCreate a cross-region read replica of the Aurora PostgreSQL database in us-west-2. In the event of a disaster, configure Amazon Route 53 to automatically promote the read replica to a standalone DB cluster and redirect database traffic to the promoted instance.
- DSet up a Pilot Light compute environment by maintaining an Amazon ECS task definition and an Application Load Balancer in us-west-2, with the ECS service task count set to 0. Create an AWS CloudTrail log filter that triggers an AWS Lambda function to provision the tasks when us-east-1 is unresponsive.
- EEstablish active-active routing by configuring Amazon Route 53 latency routing to distribute user traffic between us-east-1 and us-west-2. Configure an AWS Lambda function to dynamically adjust weights to 0 for us-east-1 if it goes offline.
Answer
To meet the RPO of 5 minutes and RTO of 15 minutes while minimizing cost, the Solutions Architect should set up an Amazon Aurora Global Database with a secondary cluster in us-west-2, and deploy a Warm Standby compute environment by maintaining a scaled-down ECS service with Route 53 failover routing and health checks in us-west-2.
The correct architecture combines Amazon Aurora Global Database for the data layer and a Warm Standby compute environment for the application layer. Aurora Global Database provides sub-second replication to the secondary region, satisfying the 5-minute RPO, and supports promotion of the secondary cluster to primary in less than a minute, supporting the 15-minute RTO. For the compute layer, keeping a scaled-down ECS service running in the secondary region ensures that network paths, load balancers, and tasks are warm and ready to scale up rapidly using ECS Auto Scaling. Configuring Route 53 failover routing with health checks ensures that user traffic is automatically and dynamically redirected to the secondary region if the primary region's Application Load Balancer becomes unhealthy.
Step-by-Step Solution
Key Concept
Disaster recovery planning using a combination of Aurora Global Database and Warm Standby compute strategies to achieve low RTO and RPO targets cost-effectively.