Soru

Zorluk: Çok zorEnhancing Reliability and Disaster Recovery

An enterprise is optimizing the disaster recovery (DR) and reliability of a critical multi-tier application. The application is deployed across multiple AWS accounts within an AWS Organization:

* Account A (Application): Hosts the application tier on Amazon EC2 instances inside private subnets of VPC-Prod (in us-east-1) and VPC-DR (in us-west-2).
* Account B (Network): Hosts a centralized Egress-VPC in us-east-1. Outbound traffic from VPC-Prod to third-party payment APIs is routed through an AWS Transit Gateway to the Egress-VPC, which contains a single NAT Gateway.
* Account C (Data): Hosts an Amazon Aurora PostgreSQL Global Database. The primary cluster is in us-east-1 (VPC-Data-Primary), and the secondary cluster is in us-west-2 (VPC-Data-DR). Account C also hosts the Route 53 Private Hosted Zone (PHZ) db.corp.local containing the database endpoints. VPC-Prod is associated with this PHZ.

During a recent regional disaster recovery simulation, the team observed the following failures:
1. A single Availability Zone (AZ) outage in the Egress-VPC caused all outbound payment API requests from VPC-Prod to fail, even though the application instances in other AZs were healthy.
2. The failover of the application tier to us-west-2 exceeded the 15-minute Recovery Time Objective (RTO) because database promotion was triggered manually and DNS updates took too long to propagate.
3. The standby application instances in VPC-DR failed to resolve the database endpoints in db.corp.local.

The enterprise requires an RTO of under 10 minutes and a Recovery Point Objective (RPO) of under 1 minute.

Which combination of actions will resolve these issues and meet the target RTO and RPO?

  1. A
    In Account B, deploy a NAT Gateway in each Availability Zone of the Egress-VPC. Configure the route tables of the Transit Gateway subnets in each AZ to route outbound internet traffic to the local NAT Gateway. Create an AWS Lambda function triggered by a CloudWatch Alarm every 15 minutes to monitor replication lag, delete the global database, promote the secondary cluster, and update Route 53. In Account C, share the PHZ db.corp.local with Account A using AWS Resource Access Manager (RAM) and associate it.
  2. B
    In Account B, maintain the single NAT Gateway and configure a VPC peering connection between VPC-Prod and Egress-VPC to bypass the Transit Gateway. Use AWS Backup to perform daily cross-Region backups of the Aurora PostgreSQL database, restore the database from the backup in us-west-2 during a failover, and update Route 53. In Account A, authorize the association of VPC-DR with the PHZ db.corp.local. In Account C, associate VPC-DR with db.corp.local.
  3. In Account B, deploy a NAT Gateway in each Availability Zone of the Egress-VPC. Configure the route tables of the Transit Gateway subnets in each AZ to route outbound internet traffic to the NAT Gateway in the same AZ. Use AWS Route 53 Application Recovery Controller (ARC) routing controls to manage application traffic failover, and initiate an Aurora Global Database managed failover to promote the secondary database cluster. In Account C, authorize the association of VPC-DR with db.corp.local. In Account A, associate VPC-DR with db.corp.local.Cevap
  4. D
    In Account B, configure a Route 53 resolver endpoint in the Egress-VPC to perform active-passive failover between NAT Gateways. Configure Amazon Route 53 active-passive failover routing policies with basic Route 53 health checks directly monitoring the Aurora cluster's primary endpoint. In Account A, create a duplicate Private Hosted Zone named db.corp.local and manually replicate the database CNAME records to point to the secondary cluster's endpoints.

Cevap

Deploy a NAT Gateway per Availability Zone in the Egress-VPC, configure Transit Gateway subnet route tables for AZ affinity, use AWS Route 53 Application Recovery Controller (ARC) and Aurora managed failover to orchestrate rapid recovery, and perform a proper cross-account Private Hosted Zone association by creating an authorization in the hosted zone's account and accepting it in the application's account.
The correct solution resolves all three failure points. First, it eliminates the egress single point of failure by deploying redundant NAT Gateways per AZ and configuring local route tables. Second, it utilizes Route 53 ARC to handle rapid DNS-level failover for the application tier, coupled with Aurora Global Database managed failover to promote the secondary database cluster, satisfying the strict RTO and RPO. Third, it correctly sets up cross-account Private Hosted Zone association using the authorize-and-associate workflow, enabling VPC-DR to resolve database endpoints securely.

Adım Adım Çözüm

1
Ensure egress redundancy by deploying a NAT Gateway in each Availability Zone of the centralized Egress-VPC in Account B and mapping subnet route tables locally.
VPC-Prod outbound traffic continues to function even if a single NAT Gateway or AZ in the Egress-VPC fails.
This isolates AZ failures and prevents an outage in one zone from affecting egress traffic generated by healthy application instances in other zones.
2
Orchestrate disaster recovery failover by utilizing Route 53 Application Recovery Controller (ARC) routing controls for the application layer and initiating an Aurora Global Database managed failover.
Application routing is redirected within seconds, and the secondary database cluster in us-west-2 is promoted to primary with minimal data loss.
Route 53 ARC provides high-availability routing controls that update DNS routing without TTL delay. Aurora managed failover promotes the standby database cluster safely to meet the under 10-minute RTO and under 1-minute RPO.
3
Associate VPC-DR in Account A with the Route 53 Private Hosted Zone db.corp.local in Account C by running create-vpc-association-authorization in Account C, and then running associate-vpc-with-hosted-zone in Account A.
Standby application instances in VPC-DR can resolve internal database endpoints using the central PHZ.
For cross-account Private Hosted Zone association, the owner of the hosted zone must explicitly authorize the target VPC before the owner of the VPC can complete the association.

Anahtar Kavram

Cross-Region Disaster Recovery, NAT Gateway Redundancy, and Cross-Account Route 53 Private Hosted Zone Association
Tahmini Süre:3m 0s
Bu soruyu puanla