A company runs a logistics and package tracking application on AWS that uses an Amazon RDS for PostgreSQL database. The database must be configured to survive a single Availability Zone (AZ) failure within the Region. The solution must support automatic failover with a Recovery Time Objective (RTO) of less than minutes and a Recovery Point Objective (RPO) of (no data loss). Additionally, the company needs to scale read performance for historical tracking queries without affecting the write performance of the primary database. Which configuration will meet these requirements?
- ADeploy two independent Single-AZ DB instances in different Availability Zones, and configure Amazon Route 53 with a latency routing policy and health checks to automatically route read and write requests to the healthiest instance.
- BDeploy the database as a Single-AZ DB instance, create an asynchronous Read Replica in a different Availability Zone, and configure the application to manually promote the Read Replica if the primary instance fails.
- Deploy the database as an Amazon RDS Multi-AZ DB instance, create one or more Read Replicas in different Availability Zones, and route application read traffic to the replica endpoints.Cevap
- DDeploy the database as a Single-AZ DB instance, and configure a disaster recovery strategy to restore the database from daily automated snapshots to a new instance in a different Availability Zone during a failure event.
Cevap
Deploy the database as an Amazon RDS Multi-AZ DB instance, create one or more Read Replicas in different Availability Zones, and route application read traffic to the replica endpoints.
Deploying the database as an Amazon RDS Multi-AZ DB instance provides synchronous replication to a standby instance in a different Availability Zone, guaranteeing a Recovery Point Objective (RPO) of (no data loss). In the event of an infrastructure failure, Amazon RDS automatically performs a failover to the standby instance, typically in under to seconds, which satisfies the Recovery Time Objective (RTO) of less than minutes. To scale read performance without impacting the primary writer, one or more Read Replicas can be deployed to handle read-only queries.
Adım Adım Çözüm
Anahtar Kavram
High Availability and Read Scaling with Amazon RDS Multi-AZ and Read Replicas
Tahmini Süre:2m 0s