AWS › RDS & Databases

What is Multi-AZ deployment in RDS, and how does it improve database availability?

Beginner

Answer

A Multi-AZ deployment automatically maintains a synchronously replicated standby copy of your database in a different Availability Zone, and if the primary database instance becomes unavailable due to an infrastructure failure, RDS automatically fails over to the standby instance within a short amount of time, all without requiring any manual intervention, significantly improving database availability compared to running a single database instance in only one Availability Zone.
aws rds create-db-instance --db-instance-identifier my-database --multi-az --engine postgres --db-instance-class db.t3.medium
Real-world example A company running a critical production database enables Multi-AZ deployment, ensuring that if the underlying hardware hosting the primary database instance fails, RDS automatically fails over to the synchronized standby instance within about a minute, minimizing downtime.

Common follow-ups: How does Multi-AZ differ from creating a manually configured read replica?;What is the typical failover time for a Multi-AZ deployment?