Skip to content

AWS Technologies Blog

Menu
  • Home
  • KB
  • Services
  • Resources
  • Posts
  • Find
    • Categories
    • Tags
  • About
Menu

RDS Multi-AZ

Posted on January 27, 2025March 21, 2025 by wpadmin

Amazon RDS Multi-AZ (Multi-Availability Zone) is a high-availability feature designed to enhance database durability and fault tolerance. In a Multi-AZ configuration, Amazon RDS automatically maintains a synchronous standby replica of the database in a separate Availability Zone (AZ) within the same AWS Region. This ensures minimal downtime and automatic failover in the event of a primary instance failure.

Primary and Standby Instances:

  • The primary database instance handles all read and write operations.
  • The standby instance is a synchronous replica maintained in a different AZ for redundancy.

Automatic Failover:

  • In case of a failure (e.g., instance crash, AZ outage, or planned maintenance), RDS automatically promotes the standby as the new primary.

DNS Endpoint:

  • The application uses a single DNS endpoint, which is automatically updated during a failover, requiring no manual intervention.

Replication:

  • Multi-AZ uses synchronous replication, ensuring that data changes on the primary instance are immediately replicated to the standby instance.
Database EngineMulti-AZ SupportedReplication Type
Amazon RDS for MySQLYesSynchronous
Amazon RDS for PostgreSQLYesSynchronous
Amazon RDS for MariaDBYesSynchronous
Amazon RDS for OracleYesSynchronous (Data Guard)
Amazon RDS for SQL ServerYesSynchronous (Always On)
Amazon AuroraNatively Multi-AZCluster-based architecture

Multi-AZ vs Read Replicas

FeatureMulti-AZRead Replicas
PurposeHigh availability and durabilityScaling read workloads
Replication TypeSynchronousAsynchronous
Write OperationsHandled by the primary instanceNot supported (read-only)
FailoverAutomaticNo failover support
Cross-RegionNot supportedSupported
Use CaseHigh availability, disaster recoveryRead-heavy applications, analytics

Multi-AZ Instances Are Not Read Replicas

Multi-AZ (High Availability)

  • Synchronous replication: AWS keeps an exact copy of the primary database in another Availability Zone (AZ).
  • Automatic failover: If the primary instance fails, AWS promotes the standby instance to minimize downtime.
  • Not for read queries: The standby instance cannot be accessed for reads—it only becomes active during failover.

Read Replicas (Read Scaling)

  • Asynchronous replication: AWS replicates data from the primary to the read replicas with some delay.
  • Can handle read queries: Read replicas can serve read requests, reducing the load on the primary instance.
  • Can be promoted: Read replicas can be manually promoted to become a standalone database.

  • Product List
  • Documentation

billing ciem containers cost cspm ebs ec2 ecs edge eks elb event Firewall fsx hybrid iam lambda NACL outpostd policies pop princing rds route53 s3 security serverless services SG siem storage vpc

  • Amazon FSx
  • aws
  • aws notes
  • billing
  • cloud
  • compute
  • containers
  • core
  • databases
  • development
  • ebs
  • ec2
  • ecs
  • edge
  • efs
  • eks
  • hybrid
  • iam
  • lambda
  • network
  • outposts
  • pricing
  • rds
  • route53
  • s3
  • security
  • serverless
  • services
  • storage
  • support
  • vpc
©2025 AWS Technologies Blog | Built using WordPress and Responsive Blogily theme by Superb