Multi-AZ, Read Replicas & Backups
Stay online during failures, scale reads, and recover from mistakes.
1 min read
These three features are often confused:
| Feature | Purpose | How it works |
|---|---|---|
| Multi-AZ | High availability | A standby in another AZ receives every write. If the primary fails, RDS fails over automatically, typically within a minute or two. |
| Read replicas | Scale reads | Asynchronous copies that serve SELECT queries. Up to 15 for Aurora. |
| Automated backups | Recovery | Daily snapshots plus transaction logs allow point-in-time restore to any second within retention (up to 35 days). |
Think of it like this
Multi-AZ is a backup generator that kicks in when the power fails. Read replicas are extra cashiers for a busy store. Backups are security-camera footage you can rewind.
Point-in-time restore
Someone ran DELETE FROM notes without a WHERE clause at 14:05? Restore to 14:04 as a new DB instance,
check it, and switch your app over (or copy the missing rows back).
Tip
Turn on Multi-AZ for production, enable deletion protection, and test a restore at least once. A backup you've never restored isn't a backup yet.
Key takeaways
- Multi-AZ is for availability (automatic failover), not for scaling.
- Read replicas scale read traffic, with slight replication lag.
- Automated backups enable point-in-time restore. Test restores regularly.
Check your understanding
Pick an answer to see the explanation.
1. Your database is overloaded by reporting queries (all SELECTs). What helps most?
2. What's Multi-AZ mainly for?