Single-AZ vs Multi-AZ RDS Deployments Explained
Single-AZ vs Multi-AZ DB instance vs Multi-AZ DB cluster on Amazon RDS: failover times, readable standbys, engines, latency, cost and CLI.
A Single-AZ RDS deployment runs one database instance in one Availability Zone, so an instance or zone failure means downtime until it is recovered. Multi-AZ adds standby capacity in other zones with automatic failover. A Multi-AZ DB instance has one synchronous, non-readable standby; a Multi-AZ DB cluster has two readable standbys and typically fails over faster.
Amazon RDS now offers three deployment options, not two, and the choice affects availability, write latency, read capacity and cost. This guide compares Single-AZ, Multi-AZ DB instance and Multi-AZ DB cluster side by side and shows how to choose. If you already know you need high availability and want the reasons to make the case to your team, read our companion post on why Multi-AZ is recommended for Amazon RDS. New to the service? Start with what Amazon RDS is. All facts here were checked against the Amazon RDS User Guide in November 2026.
Key takeaways
- Single-AZ is one DB instance. It is the cheapest option and fine for development, testing and workloads that can tolerate downtime.
- A Multi-AZ DB instance deployment keeps one synchronous standby in a different zone. The standby cannot serve reads. AWS documents failover times of typically 60 to 120 seconds.
- A Multi-AZ DB cluster has one writer and two readable reader instances in three zones, using semisynchronous replication. AWS documents failover times of typically under 35 seconds.
- Multi-AZ DB clusters are available for RDS for MySQL and RDS for PostgreSQL only, on specific instance classes.
- Failover changes the DNS record of the endpoint, so applications must reconnect and should not cache DNS for long.
- Multi-AZ protects against instance and zone failure. It does not replace backups, and it does not protect against a Region outage or a bad
DELETE.
What is a Single-AZ RDS deployment?
A Single-AZ deployment is one DB instance with its storage in one Availability Zone. RDS still manages patching, automated backups and monitoring, and the underlying storage is replicated within the zone, but there is no second instance ready to take over.
If the instance's host fails, RDS works to recover it, and if the whole zone has a problem the database is unavailable until the zone recovers or you restore elsewhere. Restoring means creating a new instance from an automated backup or snapshot, which takes time that grows with database size. Our guide to RDS snapshots and automated backups explains how point-in-time restore works.
Single-AZ suits development and test databases, proofs of concept, internal tools that can be offline for a while, and data you can rebuild easily.
What is a Multi-AZ DB instance deployment?
In a Multi-AZ DB instance deployment, RDS provisions a synchronous standby replica in a different Availability Zone and keeps it in step with the primary. Every write is committed to both before it is acknowledged. The standby exists only for failover: AWS states that you cannot use it to serve read traffic.
This option is available for MariaDB, MySQL, Oracle, PostgreSQL and SQL Server. For SQL Server, RDS uses SQL Server Database Mirroring or Always On Availability Groups rather than the Amazon failover technology used by the other engines.
When does it fail over?
The RDS User Guide lists these failover reasons, which appear in the event log:
- Operating system patching in an offline operation during the maintenance window
- The primary host is unhealthy
- The primary host is unreachable due to loss of network connectivity
- A customer modification of the DB instance that triggers a failover
- The primary is busy and unresponsive
- A storage volume failure on the primary host
- A user-requested failover through reboot with failover
AWS says failover times are typically 60 to 120 seconds, and that large transactions or a lengthy recovery process can increase that.
The latency trade-off
Because writes are replicated synchronously across zones, AWS notes that Multi-AZ DB instances can have higher write and commit latency than Single-AZ. For production it recommends Provisioned IOPS storage for consistent performance.
What is a Multi-AZ DB cluster deployment?
A Multi-AZ DB cluster has a writer DB instance and two reader DB instances, each in a separate Availability Zone in the same Region. RDS replicates from the writer to both readers using the engine's native replication, in semisynchronous mode: a change is committed once at least one reader acknowledges it.
The readers do two jobs. They are automatic failover targets, and they serve read traffic through a reader endpoint. AWS states that Multi-AZ DB clusters typically have lower write latency than Multi-AZ DB instance deployments, and that failover times are typically under 35 seconds.
Limits to know before you choose it:
- Engines: RDS for MySQL and RDS for PostgreSQL only. It is not available for Db2, MariaDB, Oracle or SQL Server.
- Instance classes: a specific list of classes with local NVMe storage, such as
db.m6gd,db.r6gdanddb.r8gd. Check the current list in the User Guide. - Regions and versions: not every Region or engine version supports it.
- Replica lag affects failover time, because readers must apply outstanding transactions before one is promoted. Monitor the
ReplicaLagCloudWatch metric. - For RDS for MySQL clusters, AWS strongly recommends that every table has a primary key to prevent replication errors.
A Multi-AZ DB cluster is not the same thing as an Amazon Aurora DB cluster. Aurora uses its own distributed storage layer and is a separate service with its own documentation.
Single-AZ vs Multi-AZ DB instance vs Multi-AZ DB cluster
| Factor | Single-AZ | Multi-AZ DB instance | Multi-AZ DB cluster |
|---|---|---|---|
| DB instances | 1 | 2 (primary + standby) | 3 (writer + 2 readers) |
| Availability Zones | 1 | 2 | 3 |
| Replication | None to another instance | Synchronous | Semisynchronous (one reader must acknowledge) |
| Standby serves reads? | No standby | No | Yes, through the reader endpoint |
| Automatic failover | No | Yes, typically 60 to 120 seconds | Yes, typically under 35 seconds |
| Write latency | Lowest | Can be higher than Single-AZ | Typically lower than Multi-AZ DB instance |
| Engines | All RDS engines | MariaDB, MySQL, Oracle, PostgreSQL, SQL Server | MySQL, PostgreSQL |
| Relative cost | One instance | Pay for the standby instance and its storage too | Pay for three instances |
| Best for | Dev, test, tolerant workloads | Production on any engine | Production MySQL/PostgreSQL needing fast failover and read scaling |
Prices vary by Region, engine, instance class and storage. Use the Amazon RDS pricing page and the AWS Pricing Calculator for real numbers rather than rules of thumb.
How failover works from the application's side
In both Multi-AZ options, failover changes the DNS record behind the endpoint to point at the new primary or writer. Existing connections drop, and the application has to reconnect. Two things decide whether users notice:
- Connection retry logic. The application or its connection pool must retry failed connections and transactions instead of crashing.
- DNS caching. If the client caches the old IP address, it keeps trying the failed host. AWS recommends a JVM DNS TTL of no more than 60 seconds through the
networkaddress.cache.ttlproperty.
# $JAVA_HOME/jre/lib/security/java.security (path varies by JDK version)
networkaddress.cache.ttl=60
Amazon RDS Proxy can also help. It pools connections and, according to AWS, can reduce downtime for a minor version upgrade of a Multi-AZ DB cluster to one second or less.
Read replicas are a different feature
Read replicas are often confused with Multi-AZ. A read replica uses asynchronous replication, can live in the same or a different Region, serves read traffic, and must be promoted manually to become a standalone instance. It helps with read scaling and cross-Region disaster recovery, while Multi-AZ handles automatic failover within a Region. Many production setups use both. See why read replicas help RDS scalability for details.
| Multi-AZ DB instance standby | Read replica | |
|---|---|---|
| Purpose | High availability | Read scaling, cross-Region DR |
| Replication | Synchronous | Asynchronous |
| Serves reads | No | Yes |
| Failover | Automatic | Manual promotion |
| Location | Another AZ in the same Region | Same or another Region |
How to choose
- Development, test, demos: Single-AZ. Turn on automated backups and accept that recovery takes time.
- Production on Oracle, SQL Server or MariaDB: Multi-AZ DB instance, since DB clusters are not available for these engines.
- Production MySQL or PostgreSQL with moderate load: Multi-AZ DB instance is the simpler starting point.
- Production MySQL or PostgreSQL that needs faster failover or extra read capacity: Multi-AZ DB cluster, if your Region, version and instance class support it.
- Need to survive a Region outage: add cross-Region read replicas or cross-Region backup copies on top of Multi-AZ.
Write down your recovery time objective (RTO) and recovery point objective (RPO) first. A few minutes of downtime and restore-from-backup may be acceptable for an internal tool; it is rarely acceptable for a customer-facing checkout.
Creating and converting deployments with the AWS CLI
Create a Multi-AZ DB instance by adding --multi-az:
aws rds create-db-instance \
--db-instance-identifier app-db \
--engine postgres \
--db-instance-class db.m6g.large \
--allocated-storage 100 \
--master-username dbadmin \
--manage-master-user-password \
--multi-az
Convert an existing Single-AZ instance to Multi-AZ:
aws rds modify-db-instance \
--db-instance-identifier app-db \
--multi-az \
--apply-immediately
Without --apply-immediately the change waits for the next maintenance window. Plan the conversion for a quiet period, since RDS has to create the standby from the primary's data.
Test failover before you depend on it. For a Multi-AZ DB instance, reboot with failover:
aws rds reboot-db-instance \
--db-instance-identifier app-db \
--force-failover
For a Multi-AZ DB cluster:
aws rds failover-db-cluster --db-cluster-identifier app-cluster
Measure how long your application takes to recover, not just how long RDS takes. For step-by-step console setup, see launching and configuring RDS instances.
Monitoring each deployment type
- Subscribe to RDS event notifications so you are told when a failover starts and finishes.
- Watch CloudWatch metrics such as
CPUUtilization,FreeStorageSpace,DatabaseConnections,ReadLatencyandWriteLatency. On DB clusters, alarm onReplicaLag. - Use Enhanced Monitoring for OS metrics and Performance Insights (now part of CloudWatch Database Insights) for query load.
- Keep databases in private subnets with tight security groups regardless of deployment type; see securing RDS in a private subnet.
Our post on RDS monitoring tools goes further, and the scenario-based AWS interview questions include RDS failover scenarios. Deployment choices like these are part of the AWS Solutions Architect Associate syllabus, which our AWS Solutions Architect Associate training in Pune covers in the Kharadi classroom and live online.
Frequently asked questions
What is the main difference between Single-AZ and Multi-AZ RDS?
Single-AZ has one DB instance in one Availability Zone and no automatic failover. Multi-AZ keeps standby capacity in other zones and fails over automatically when the primary or its zone has a problem.
Can I read from the Multi-AZ standby?
Not in a Multi-AZ DB instance deployment; its standby only exists for failover. In a Multi-AZ DB cluster, the two reader instances serve read traffic through the reader endpoint.
How long does an RDS Multi-AZ failover take?
AWS documents typical failover times of 60 to 120 seconds for Multi-AZ DB instances and under 35 seconds for Multi-AZ DB clusters. Large transactions or replica lag can make it longer.
Which engines support Multi-AZ DB clusters?
RDS for MySQL and RDS for PostgreSQL, on specific instance classes, Regions and engine versions. Db2, MariaDB, Oracle and SQL Server do not support Multi-AZ DB clusters.
Is Multi-AZ the same as a read replica?
No. Multi-AZ provides automatic failover inside a Region. A read replica uses asynchronous replication, serves reads, can be cross-Region and must be promoted manually.
Can I convert Single-AZ to Multi-AZ later?
Yes. Modify the DB instance and enable Multi-AZ in the console or with aws rds modify-db-instance --multi-az. Apply it immediately or in the next maintenance window.
Does Multi-AZ replace backups?
No. A bad write or deleted table is replicated to the standby too. Keep automated backups and snapshots for point-in-time recovery.
Is a Multi-AZ DB cluster the same as Aurora?
No. AWS states that Multi-AZ DB clusters are not the same as Aurora DB clusters. Aurora is a separate engine with its own storage architecture.
References
- Amazon RDS: Configuring and managing a Multi-AZ deployment
- Amazon RDS: Multi-AZ DB instance deployments
- Amazon RDS: Failing over a Multi-AZ DB instance
- Amazon RDS: Multi-AZ DB cluster deployments
- Amazon RDS: Failing over a Multi-AZ DB cluster
- Amazon RDS: Supported Regions and engines for Multi-AZ DB clusters
- Amazon RDS pricing
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0