Keep data available—and recover the past
Choose separate mechanisms for live failover, read scaling, connection surges, and recovery from deletion instead of treating every replica as the same thing.
LESSON GOALS
By the end, you can
- Choose separately for database failover, lag-tolerant read scale, connection surges, and recovery from deletion or corruption.
- Explain why a standby, read replica, RDS Proxy, live copy, and backup solve different problems.
01
Ask four different questions about the data
First ask whether the data remains intact. Then ask whether the application can read and write it now. Next ask whether old data can be recovered after deletion or corruption. Finally ask whether the database can accept the current number of client connections.
These are different requirements. A durable backup does not serve live traffic. A live replica can copy a bad deletion. A connection proxy does not add database compute. Write down failure scope, RPO, RTO, read freshness, write ownership, and connection demand separately.
Name the exact service mode. Traditional RDS Multi-AZ uses a synchronous standby for availability. A read replica is asynchronous and serves eligible reads. Aurora uses distributed cluster storage and replica instances with its documented failover behavior.
For object and file services, live replication and retained history have the same separation. Replication can improve location resilience, while versioning, retention, or backup protects an earlier state. Verify the exact mode instead of transferring relational words by analogy.
02
Standby, reader, and proxy are not interchangeable
For a traditional RDS Multi-AZ DB instance, the standby is not a read target. Its job is automatic failover. A read replica executes lag-tolerant reads and may be promoted, but it does not provide the same synchronous automatic failover contract.
Amazon RDS Proxy pools and reuses supported database connections. Use it when connection churn is the measured problem. It does not make a Single-AZ database Multi-AZ, execute report queries, or preserve deleted history.
Combining Multi-AZ, readers, and Proxy can be correct because the requirements are independent. Say which mechanism handles each requirement instead of saying the database is simply “more resilient.”
Read routing must match the freshness requirement. Reports may tolerate observed replica lag; a customer checking the order they just placed may need the writer path. Adding a reader without changing query routing adds cost without moving work.
03
Preserve history and prove the restore
Backups, point-in-time recovery, snapshots, and versioning preserve earlier state. Set retention and frequency from the RPO. Restore into a safe location and measure whether the application becomes usable inside the RTO.
Monitor replica lag, backup age, writer identity, failover time, restore time, and connection errors. During a drill, record who can write before and after promotion, how clients reconnect, and how failback avoids two writers.
Run a deletion exercise separately from a failover exercise. Successful failover proves live availability; it does not prove recovery of a record deleted ten minutes earlier. Protect recovery copies with scoped roles, keys, networks, retention, and deletion authority.
Cost each mechanism separately: standby capacity, reader compute, proxy usage, retained recovery points, and restore exercises. Remove a mechanism only when its requirement is removed—not because another resilience feature has a similar name.
A restore is complete only when authorised clients can use the recovered application and the team knows which writer is authoritative.
DECISION TABLE
Compare the architecture constraints
| requirement | choose | because | reject |
|---|---|---|---|
| Automatic AZ failover for traditional RDS | RDS Multi-AZ | Synchronous standby HA fits | Read replica is async/manual |
| Lag-tolerant read scale | Read replica or Aurora reader | Adds read execution | Standby and Proxy do not |
| Connection surge | RDS Proxy | Pooling targets connections | Reader and backup solve other needs |
| Deletion or corruption | Versioning/PITR/backup and restore test | Prior state is required | Live replication can copy damage |
GUIDED WORKED SCENARIO
Reason from the stated constraints
This is a guided example, not a question to memorise. The knowledge check uses new situations to test the same reasoning.
An order store must survive AZ failure, handle reports at 70% of load, absorb 3,000 Lambda connections, and recover deletion with 15-minute RPO.
Requirements
- Automatic AZ failover
- Lag-tolerant reads
- Connection pooling
- Tested 15-minute recoverable history
Reasoning path
- Use named Multi-AZ for AZ failure.
- Add readers for reports.
- Use Proxy for supported pooling.
- Configure PITR/backup and prove restore.
Why it wins
- Each requirement gets its mechanism.
- Live replication does not replace history.
Why the alternatives lose
It lacks synchronous automatic HA and prior history.
Becomes correct when: Only read scale is required.It adds neither HA nor history.
Becomes correct when: Only connection churn matters.It can propagate deletion and adds unneeded scope.
Becomes correct when: Regional DR is required and corruption recovery is separate.INTERACTIVE ARCHITECTURE VISUAL
Give each data problem one mechanism
Standby, reader, proxy, and backup sound similar only until the required outcome is named.
× Wrong data boundaryThis mechanism solves a different problem. The requested data outcome remains unmet.
Read the diagram as text
Four-column ledger: live AZ failover, report read capacity, client connection pooling, and recovery of a prior point. Mark which mechanism satisfies each column; no single standby, reader, proxy, or backup satisfies all four.
KNOWLEDGE CHECK
Answer one question at a time
Pass every question to complete this lesson. Each answer includes reasoning before you continue.
KEY TERMS
Glossary
- Durability
- The likelihood that stored data remains intact over time.
- Availability
- Whether the required operation can access the data now.
- Standby
- A secondary database used for failover rather than ordinary application reads in the named mode.
- Read replica
- An asynchronously updated copy used for eligible lag-tolerant reads.
- Failover
- Changing the active service or writer after a failure.
- Amazon RDS Proxy
- A managed proxy that pools and reuses supported database connections.
- Point-in-time recovery (PITR)
- Restoring a database to an earlier recoverable time within its retention window.
- Recovery point objective (RPO)
- The maximum acceptable amount of recent data loss measured in time.
- Recovery time objective (RTO)
- The maximum acceptable time to restore the required service.
- Replica lag
- The delay between a source write and its appearance on an asynchronous replica.
- Writer
- The database endpoint or instance currently authorised to accept writes.
PRIMARY SOURCES
Verify the claims
- primaryConfiguring and managing a Multi-AZ deployment for Amazon RDSaws-rds-multi-az-deployments · retrieved 2026-07-30
- primaryWorking with DB instance read replicasaws-rds-db-instance-read-replicas · retrieved 2026-07-30
- primaryAmazon RDS Proxyaws-rds-proxy · retrieved 2026-07-30
- primaryHigh availability for Amazon Auroraaws-aurora-high-availability · retrieved 2026-07-30
- primaryReplicating objects within and across Regionsaws-s3-replication · retrieved 2026-07-30
- primaryReplicating EFS file systemsaws-efs-replication · retrieved 2026-07-30
- primaryWhat is AWS Backup?aws-dr-backup · retrieved 2026-07-29