Database

RDS Multi-AZ

Synchronous standby in another AZ with automatic DNS failover.

How it works

Amazon RDS Multi-AZ deployments improve database availability within a Region by placing database capacity in multiple Availability Zones. A Multi-AZ DB instance deployment has a standby that is not available for reads. A Multi-AZ DB cluster has a writer and two readable instances. RDS manages failover when needed, but applications should handle interrupted connections and reconnect using the endpoint.

When to use it

High availability and disaster recovery of an RDS database within a Region.

Real-world example

An online payment service uses an RDS Multi-AZ DB instance deployment. If its primary instance fails, RDS can promote the standby in another Availability Zone. The application reconnects after failover and handles any transactions interrupted during the transition.

Key facts

  • Synchronous replication to a standby in another AZ.
  • The DB endpoint is retained through failover; clients may need to reconnect and resolve DNS.
  • The standby is for availability, not read scaling.
  • A documented snapshot-based conversion can avoid downtime, but may affect write performance; confirm the procedure for the engine and deployment type.

Common pitfall

Do not assume all Multi-AZ deployments have the same read behavior. The standby in a Multi-AZ DB instance deployment does not serve reads, while the reader instances in a Multi-AZ DB cluster can serve read traffic.

Often confused with

Read Replicas — those are ASYNC and exist to scale reads.

References

Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:

SAA-C03 study guide and learning resources

Keywords you will see in SAA-C03 questions

  • AZ failure
  • automatic failover

Understand it for real with 3D models and simulated labs

Connect the concept to a working architecture.

Start learning