Skill 1.5.4
Design database scaling solutions to provide high availability (for example, by using read replicas, Amazon Aurora Global Database, Amazon DynamoDB global tables, Amazon RDS Multi-AZ deployments).
Key Concepts
Aurora Global Database: storage-level replication with typically under 1 second lag, managed planned switchover and unplanned failover. DynamoDB global tables: multi-active replication (eventual consistency, or multi-Region strong consistency). RDS cross-Region read replicas and automated backup replication. S3 CRR with Replication Time Control (15-minute SLA) and Multi-Region Access Points with failover controls.
Also: EFS replication, FSx backups and cross-Region copies, ElastiCache Global Datastore, DMS for continuous replication to other engines, and Kinesis or MSK replication for streams.
RDS Multi-AZ instance deployments keep a synchronous standby in another Availability Zone and fail over automatically in one to two minutes; Multi-AZ DB cluster deployments add two readable standbys and faster failover. Read replicas scale reads asynchronously and can be promoted. Aurora stores six copies across three Availability Zones, with up to 15 replicas and failover in about 30 seconds; Aurora Global Database replicates to up to ten secondary Regions with typical lag under one second. DynamoDB global tables provide multi-Region active-active writes with eventual consistency, or multi-Region strong consistency where the application needs it.