Skill 3.3.1

Configuring read replicas to meet business requirements

Key Concepts

RDS read replicas use asynchronous replication, so reads may be slightly stale (replica lag). RDS supports up to 15 replicas for MySQL, MariaDB and PostgreSQL (fewer for Oracle and SQL Server). Replicas can be in the same AZ, another AZ or another Region, can have Multi-AZ themselves, and can be promoted to standalone databases. Automatic backups must be enabled on the source.

Applications must send read queries to the replica endpoints. Aurora replicas share the cluster storage volume, so lag is usually milliseconds; up to 15 replicas sit behind a single reader endpoint that load-balances connections, and Aurora Auto Scaling adds or removes replicas. Replicas are also failover targets (set priority tiers).

Cross-Region read replicas reduce read latency for distant users and form the basis of a pilot light DR strategy. Data transfer between Regions is charged.