This topic describes how to add nodes to or delete nodes from an ApsaraDB RDS for PostgreSQL instance that runs RDS Cluster Edition. An RDS instance that runs RDS Cluster Edition is referred to as an RDS cluster.
Prerequisites
An RDS cluster is created.
The RDS cluster is in the Running state.
Feature description
When you add a node to an RDS cluster, the read and write requests of the RDS cluster are not affected.
After you add a node, you can specify a weight for the node. This way, the system distributes requests to the node based on the specified weight to implement load balancing.
An RDS cluster consists of up to one primary node and eight secondary nodes.
An RDS cluster must contain one primary node and at least one secondary node.
After you delete a node, connections to the deleted node are interrupted for a short period of time. Connections to other nodes are not affected. You can specify a weight for the node that you want to delete. This way, the system does not forward requests to the node. You do not need to modify your application configuration.
Billing rules
For more information about the billing rules after nodes are added or deleted, see Specification changes.
Add a node
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.
In the Instance Topology Management section of the Basic Information page, click Add or Delete Node.
In the dialog box that appears, select Add Node and click Next step.
In the Nodes section of the page that appears, click the icon or Add Node. Then, specify a zone and vSwitch for the new node.
NoteIf you want to cancel the addition operation, click the icon to the left of the node.
Read and select Terms of Service and click Pay Now.
Delete a node
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.
In the Instance Topology Management section of the Basic Information page, click Add or Delete Node.
In the dialog box that appears, select Delete Node and click Next step.
Click the icon to the left of the node that you want to delete.
NoteIf you want to cancel the deletion operation, click Restore to the left of the node that you want to delete.
Read and select Terms of Service and click Pay Now.
Related operations
Operation | Description |
Adds nodes to an RDS cluster. | |
Deletes nodes from an RDS cluster. |