Soru

Zorluk: OrtaEnhancing Reliability and Disaster Recovery

An enterprise runs a media transcoding application on Amazon ECS tasks (AWS Fargate) in a multi-AZ VPC in the us-east-1 Region. The application uses an Amazon Aurora PostgreSQL database cluster for metadata storage. Internal microservices communicate within the VPC using private DNS names registered in a Route 53 Private Hosted Zone (PHZ).

To enhance reliability, a solutions architect must design a disaster recovery (DR) solution in the us-west-2 Region. The solution must achieve a Recovery Time Objective (RTO) of less than 15 minutes and a Recovery Point Objective (RPO) of less than 2 minutes.

Which set of actions should the solutions architect take to meet these disaster recovery requirements?

  1. Configure Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. Pre-deploy the Amazon ECS service in us-west-2 with a minimum task count of 1. Associate the existing Route 53 Private Hosted Zone with the VPC in us-west-2, and configure Route 53 failover routing records with active health checks associated with the primary Application Load Balancer.Cevap
  2. B
    Configure Amazon Aurora cross-region read replicas to replicate metadata to us-west-2. Implement a pilot light strategy by deploying the Amazon ECS service via AWS CloudFormation templates in us-west-2 with the task count set to 0. During a failover event, update the task count to scale out the ECS service and associate the Route 53 Private Hosted Zone with the us-west-2 VPC.
  3. C
    Configure Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. Pre-deploy the Amazon ECS service in us-west-2 with a minimum task count of 1. Associate the Route 53 Private Hosted Zone with the VPC in us-west-2. Set up Route 53 failover routing records pointing to the primary and secondary Application Load Balancers, but configure the records without Route 53 health checks, relying on manual DNS updates to route traffic during a failover event.
  4. D
    Configure Amazon Aurora Global Database with the primary cluster in us-east-1 and a secondary cluster in us-west-2. Pre-deploy the Amazon ECS service in us-west-2 with a minimum task count of 1. Configure Route 53 failover routing records with active health checks on the primary Application Load Balancer, but keep the Route 53 Private Hosted Zone associated only with the us-east-1 VPC to prevent DNS naming conflicts.

Cevap

The correct strategy involves configuring Amazon Aurora Global Database, pre-deploying a warm standby Amazon ECS service in the secondary region, associating the Private Hosted Zone with both VPCs, and using Route 53 failover routing with active health checks.
The correct architecture leverages Amazon Aurora Global Database, which offers cross-region replication with an RPO of under 1 second, easily meeting the 2-minute RPO requirement. By pre-deploying the Amazon ECS service with a minimum task count of 1 in the standby region (warm standby), the system can handle initial traffic immediately, satisfying the 15-minute RTO requirement. Associating the Route 53 Private Hosted Zone with the VPCs in both regions enables seamless private DNS resolution for internal microservices when traffic fails over. Configuring Route 53 failover routing records with active health checks on the primary Application Load Balancer enables automated failover to the standby region if the primary region experiences an outage.

Adım Adım Çözüm

1
Establish a database replication strategy between the primary region (us-east-1) and the secondary region (us-west-2).
Configure Amazon Aurora Global Database.
Aurora Global Database provides sub-second replication latency, satisfying the RPO requirement of less than 2 minutes.
2
Deploy the containerized application tier in the secondary region (us-west-2).
Configure the Amazon ECS service as a warm standby with a minimum task count of 1.
Having at least one running task pre-registered with the load balancer ensures instant traffic handling, meeting the RTO requirement of less than 15 minutes.
3
Enable private DNS resolution for the internal microservices in both VPCs.
Associate the Route 53 Private Hosted Zone with both the us-east-1 and us-west-2 VPCs.
Allows microservices in the secondary region to resolve private DNS names and communicate with each other after failover.
4
Configure DNS failover routing for the application endpoints.
Set up Route 53 failover routing records with active health checks linked to the primary Application Load Balancer.
Enables automatic failover to the secondary region if the primary region's Application Load Balancer becomes degraded.

Anahtar Kavram

Multi-region disaster recovery, database replication latency, and Private Hosted Zone cross-VPC association.
Tahmini Süre:2m 0s
Bu soruyu puanla