All Products
Search
Document Center

ApsaraDB RDS:RDS Cluster Edition

Last Updated:May 13, 2026

This topic describes the architecture, benefits, and use cases of ApsaraDB RDS for MySQL instances on RDS Cluster Edition.

Introduction

An ApsaraDB RDS for MySQL instance on RDS Cluster Edition uses a decoupled architecture of compute and storage with one primary node and multiple secondary nodes. It supports automatic failover, promotion of any secondary node to the primary node, readable secondary nodes, on-demand node scaling, multi-availability zone disaster recovery, node-level monitoring, and cluster topology management. You can also enable group replication (MGR) to achieve a recovery point objective (RPO) of 0. Compared to self-managed databases, this edition is more cost-effective, flexible, and reliable.

The following table describes the technical specifications of different ApsaraDB RDS for MySQL editions.

Item

RDS Basic Edition

RDS High-availability Edition

RDS Cluster Edition

Number of nodes

1

2 (default)

Note

An RDS High-availability Edition instance includes one primary node and one secondary node by default. To add more nodes, you can create read-only instances.

2 to 9

Note

When you create an RDS Cluster Edition instance, it includes one primary node and two secondary nodes (three nodes in total) by default. You can also create an instance with one primary node and one secondary node (two nodes in total). After the instance is created, you can add nodes to increase the number of secondary nodes to a maximum of eight, resulting in a total of nine nodes (one primary and eight secondary).

Readable secondary nodes

N/A

No

Yes

Endpoint type

Read/write endpoint

Read/write endpoint

  • Read/write endpoint: Directs read and write requests to the primary node.

  • Read-only routing endpoint: Directs read requests to the secondary nodes.

Replication mode

None

Asynchronous and semi-synchronous

Asynchronous, semi-synchronous, and group replication

Maximum number of unavailable nodes tolerated

0

1

n-1, where n is the number of nodes in the RDS Cluster Edition instance.

Number of availability zones

1

Up to 2

Up to the number of nodes in the RDS Cluster Edition instance.

Architecture

RDS Cluster Edition is available for ApsaraDB RDS for MySQL 5.7, 8.0, and 8.4. It provides a high-availability deployment with one primary node and multiple secondary nodes. The following figure shows the architecture.

image

Benefits

Cost-effective

Readable secondary nodes let you scale out read capacity linearly without creating separate read-only instances, which significantly reduces resource costs and idle capacity. Compared to RDS High-availability Edition, which requires you to add read-only instances for read scaling, RDS Cluster Edition can save up to 40% in costs.

You can access the secondary nodes of your RDS Cluster Edition instance in the following two ways:

  • Via the read-only routing endpoint: You can create a read-only routing endpoint for your instance free of charge. This endpoint lets you add multiple secondary nodes and configure their read weights for load balancing. For more information, see View and manage instance endpoints and ports.

  • Via a database proxy: You can enable the database proxy service for your instance to facilitate read/write splitting between the primary and secondary nodes. Compared to the read-only routing endpoint, a database proxy provides advanced features such as automatic read/write splitting, persistent connections, connection pooling, latency thresholds, and transaction splitting. For more information, see Enable the dedicated proxy feature and What is a database proxy?.

    Note

Flexible

  • Flexible node deployment

    Unlike the fixed node configurations of RDS Basic Edition and RDS High-availability Edition, RDS Cluster Edition supports dynamic topology management. After an instance is created, you can flexibly add or remove nodes and based on your business requirements to achieve optimal cost-effectiveness. For more information, see Add a node to an ApsaraDB RDS for MySQL instance, Remove a node from an ApsaraDB RDS for MySQL instance.

  • Node-level monitoring

    RDS Cluster Edition provides node-level monitoring data, letting you view the operational status of each node.

Reliable

  • Multi-availability zone disaster recovery

    Unlike RDS High-availability Edition, which limits disaster recovery to two availability zones, any secondary node in an RDS Cluster Edition instance can participate in a failover. We recommend that you deploy each node in a different availability zone to implement multi-availability zone disaster recovery.

  • Strong data consistency

    Based on the Paxos distributed consensus protocol, MGR ensures that a transaction is sent to all secondary nodes before it is committed. The primary node commits the transaction only after a majority of secondary nodes confirm its receipt. Compared to semi-synchronous or asynchronous replication, group replication provides strong data consistency and higher data security.

  • More reliable secondary nodes

    Alibaba Cloud has optimized ApsaraDB RDS using cloud-native technologies to improve the reliability of secondary nodes in RDS Cluster Edition instances:

    • The RDS high-availability system is re-architected to reduce the fault detection time for secondary nodes from minutes to seconds.

    • The near-instantaneous snapshot capability of Elastic Block Storage (EBS) reduces data recovery time from tens of minutes to under one minute. As a result, in 99% of cases, a secondary node recovers from a failure in under 10 minutes.

    • If the replication latency on a secondary node exceeds 7,200 seconds (2 hours), the node is automatically rebuilt to resolve the issue.

Use cases

RDS Cluster Edition is ideal for production databases of large and medium-sized enterprises that handle high-traffic read requests and require intelligent data analytics. Example industries include e-commerce and retail, automotive manufacturing, education, and large-scale enterprise resource planning (ERP) systems.

Related content

Category

Topic

Configuration

Upgrade to RDS Cluster Edition

Migrate to an instance on RDS Cluster Edition

Group replication

Database proxy

Create an instance

To create an instance on RDS Cluster Edition, see Step 1: Create an ApsaraDB RDS for MySQL instance.