An enterprise energy grid monitoring company runs its real-time telemetry processing application on AWS. The application consists of Amazon ECS Fargate tasks in a private VPC subnet in us-east-1 behind an Application Load Balancer (ALB). The database tier stores state in an Amazon Aurora PostgreSQL DB cluster. The data ingest rate is highly critical, and the company requires a cross-region disaster recovery (DR) solution in us-west-2 with a Recovery Time Objective (RTO) of minutes and a Recovery Point Objective (RPO) of minute. The solution must minimize operational costs during normal operations. Which TWO actions should a solutions architect recommend to implement this DR strategy?
- Create an Amazon Aurora Global Database from the primary database cluster. In us-west-2, deploy a secondary DB cluster containing an Amazon Aurora Serverless v2 reader instance configured with a minimum capacity of Aurora Capacity Units (ACUs).Answer
- In us-west-2, provision the network infrastructure, the Application Load Balancer, and the Amazon ECS service with the desired task count set to 0. Create an automation workflow to scale the ECS service to the required production capacity during a failover.Answer
- CIn us-west-2, deploy a scaled-down Amazon ECS service running at 50% capacity, and configure an Amazon Route 53 latency-based routing policy to automatically distribute incoming traffic across both Regions during normal operations.
- DConfigure Amazon Aurora to export hourly database snapshots to Amazon S3. Use S3 Cross-Region Replication (CRR) to replicate these snapshots to an S3 Glacier Flexible Retrieval vault in us-west-2, and write a script to restore the cluster during failover.
- ECreate a cross-region Amazon RDS PostgreSQL read replica in us-west-2. Configure an AWS Lambda function to automatically promote this replica to a standalone primary database cluster using the RDS API during a primary Region outage.
Answer
Configure an Amazon Aurora Global Database with an Aurora Serverless v2 reader in the secondary Region, and deploy the secondary ECS infrastructure with a task count of 0, scaling up only during failover.
Using an Amazon Aurora Global Database secondary cluster with a Serverless v2 reader instance allows replication to proceed with sub-second latency, ensuring the 1-minute RPO is met while keeping idle compute costs very low ( ACUs). Setting the ECS service's desired task count to 0 in the secondary Region implements a Pilot Light pattern, which eliminates active ECS compute costs during normal operations. The infrastructure can be scaled up to target capacity within the 15-minute RTO during a failover event.
Step-by-Step Solution
Key Concept
Disaster recovery (DR) strategies, specifically Pilot Light database replication and scaled-down ECS Fargate deployments, to meet strict RTO/RPO targets while minimizing idle costs.