A global retail company is deploying a transactional microservice across two AWS Regions: us-east-1 and eu-west-1. The service requires active-active database access, allowing users in both regions to perform low-latency reads and writes locally. The architecture must achieve a Recovery Point Objective (RPO) of less than 1 second and a Recovery Time Objective (RTO) of less than 5 seconds. The database must automatically handle multi-region replication and conflict resolution. Which two configurations should a solutions architect select to meet these requirements? (Select TWO.)
- Create an Amazon DynamoDB table in us-east-1 and configure it as a global table by adding the eu-west-1 Region.Cevap
- Configure the microservice instances in each region to read and write to their local regional Amazon DynamoDB endpoint.Cevap
- CSet up an Amazon RDS for PostgreSQL Multi-AZ DB cluster in us-east-1 and deploy cross-region Read Replicas in eu-west-1 to handle local writes.
- DDeploy an Amazon Aurora PostgreSQL Global Database and use Amazon Route 53 latency routing to load-balance active writes across the writer endpoints in both regions.
- EConfigure a Pilot Light disaster recovery strategy using Amazon Aurora Global Database, relying on manual failover to promote the secondary region's database cluster when needed.
Cevap
Create an Amazon DynamoDB table in us-east-1 and configure it as a global table by adding the eu-west-1 Region, and configure the microservice instances in each region to read and write to their local regional Amazon DynamoDB endpoint.
To satisfy the requirements of active-active multi-region writes, sub-second RPO, and sub-5-second RTO, Amazon DynamoDB Global Tables is the optimal choice. It provides multi-region, multi-active replication where writes to any region are propagated to other regions within a second. By pointing the local microservices to their local DynamoDB endpoints, the application achieves low-latency local reads and writes, and if a region fails, traffic can be instantly rerouted to the other region's local endpoint, meeting the strict RTO constraint.
Adım Adım Çözüm
Anahtar Kavram
Multi-region active-active database architectures with low RTO/RPO using DynamoDB Global Tables