A financial services company is designing a highly available, multi-region disaster recovery (DR) architecture for a critical transactional analytics application. The primary environment runs in the us-east-1 Region, and the DR environment will be located in the us-west-2 Region. The application uses Amazon Aurora PostgreSQL as its database. The application's microservices communicate internally using a Route 53 Private Hosted Zone (PHZ). The dashboard workers in private subnets require continuous outbound internet access for third-party API validation.
The solution must meet an RTO of less than minutes, an RPO of less than minute, and minimize resource costs in the DR region during normal operations.
Which two actions should a solutions architect take to meet these requirements?
- Deploy an Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2, configuring the secondary cluster with a single low-instance-class reader node. In both regions, deploy a NAT Gateway in each Availability Zone and associate them with the route tables of their respective private subnets.Answer
- BIn both regions, deploy a single NAT Gateway in the primary Availability Zone and route all outbound internet traffic from private subnets through it. Set up cross-region read replicas for the Aurora database to replicate transactions to us-west-2.
- Associate the Route 53 Private Hosted Zone (PHZ) with the application VPCs in both us-east-1 and us-west-2. Use Route 53 failover routing policy with health checks associated with public endpoints to manage external client traffic routing between regions.Answer
- DDeploy Amazon RDS PostgreSQL in a Multi-AZ configuration between us-east-1 and us-west-2. Configure the application instances in us-west-2 to read from the standby instance to distribute query loads and reduce costs during normal operations.
- EConfigure Route 53 latency-based routing to automatically route internal microservice traffic between us-east-1 and us-west-2 without modifying the VPC associations of the Route 53 Private Hosted Zone (PHZ).
- FSet up hourly database snapshots of the Aurora PostgreSQL cluster in us-east-1 and copy them to us-west-2. Use AWS CloudFormation to automatically provision the application servers and restore the database from the copied snapshots upon detecting a primary region outage.