AWS Fundamentals Series

🔀 Understanding RDS Multi-AZ vs Read Replica From a Top 1% Perspective — Both Are 'Another DB Instance,' But Their Purpose and Replication Method Are Completely Different

Introduction

This article is part of the Top 1% Series Complete Article Guide, and article 6.1 in the AWS Fundamentals Series.

Prerequisite Knowledge

Getting the Big Picture

Multi-AZ is a mechanism for availability (failover), maintaining a standby in a different Availability Zone via synchronous replication. A read replica is a mechanism for read scaling, creating a copy via asynchronous replication that can be used directly as a read-only query target. Both share the surface-level trait of creating “another DB instance,” but their purpose, replication method, and failover behavior are all entirely different.

graph TB
    subgraph "Multi-AZ (Availability)"
    P1["Primary"] -->|"Synchronous replication"| S1["Standby (not readable)"]
    P1 -.->|"Automatic failover on failure<br/>Endpoint stays the same"| S1
    end
    subgraph "Read Replica (Scaling)"
    P2["Primary"] -->|"Asynchronous replication"| R1["Read replica (readable)"]
    R1 -.->|"Manual promotion only<br/>Endpoint changes"| R1
    end

Deep Dive Into the Fundamentals

Multi-AZ: the Standby Is Not Readable by Default

The official AWS documentation explicitly states that the standby in a Multi-AZ DB instance deployment cannot serve read traffic, and recommends using a Multi-AZ DB cluster deployment or a read replica when read scaling is needed. Writes to the primary are synchronously replicated to the standby, so on failure, RDS can fail over automatically without any data loss, and because the endpoint itself never changes, the application never needs to be aware of a connection target change at all.

Note: a newer Multi-AZ DB cluster deployment with readable standbys

For MySQL and PostgreSQL, AWS also offers a Multi-AZ DB cluster deployment option with one primary and two readable standby instances — but this is a separate deployment type from the traditional single-standby configuration.

Read Replicas: Asynchronous Replication and Manual Failover

Because a read replica uses asynchronous replication, replication lag can occur, meaning writes to the primary take time to be reflected on the read replica. And if the primary fails, a read replica never fails over automatically — you must manually promote the read replica and rewrite the application’s connection endpoint, and forgetting this manual promotion step or misconfiguring it becomes a typical cause of real-world incidents.

What a Pro Sees Here (Top 1% Understanding)

“There’s Another One” and “What It’s For” Are Separate Axes

Multi-AZ and read replicas get confused because of the superficial common trait that “there’s another DB instance,” but Multi-AZ exists for automatic failover for availability, while read replicas exist for manual promotion for read scaling — entirely different purposes. Never settle for “this DB has redundancy” alone — always separately check “is this for availability or for scaling” and “is failover automatic or manual.” This is the perspective a top-1% engineer carries. And don’t forget: in real-world practice, Multi-AZ and read replicas aren’t competing options — they’re often combined.

Common Misconceptions and Pitfalls

Troubleshooting Perspective

  1. Trying to distribute read load, but performance doesn’t improve: Check whether reads are being directed at a Multi-AZ standby, and create a separate read replica instead.
  2. The application stays stuck in a connection error after a primary failure and never recovers: If only a read replica is configured, confirm that manual promotion and an endpoint rewrite are required.
  3. A replica’s query results don’t match the primary’s latest writes: Design with the assumption that a read replica’s asynchronous replication can cause temporary inconsistency due to replication lag.

Summary

Takeaways to Apply Today

  1. When you see a redundant RDS configuration, always check whether it’s Multi-AZ or a read replica, and whether failover is automatic or manual.
  2. If the goal is read scaling, set up a separate read replica rather than relying on a Multi-AZ standby.

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).