You can delete a node from a primary ApsaraDB RDS for MySQL instance that runs Cluster Edition. Note that a primary instance must retain at least one primary node and one secondary node to ensure high availability.
Prerequisites
The ApsaraDB RDS for MySQL primary instance must meet the following conditions:
Series: Cluster Edition
Instance status: Running
Billing
See Change specifications for billing information after you delete a node.
Procedure
Deleting a node temporarily interrupts connections to it, but does not affect other nodes. To ensure business continuity, we recommend that you set the read weight of the node to 0 before you delete it.
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
-
On the Basic Information page, go to the Instance Topology Management section and click Add or Delete Node.
-
In the dialog box that appears, select Delete Node and click Next.
-
Click the
icon to the left of the node you want to delete.NoteTo cancel the deletion, click Restore on the left of the node.
-
Read the terms of service and click Pay Now.
Related operations
-
After you delete the node, reconfigure the weights of the cluster read-only endpoint to ensure balanced traffic distribution among the remaining nodes.
-
Alternatively, you can delete a node from a primary ApsaraDB RDS for MySQL instance that runs Cluster Edition by calling the DeleteDBNodes API.