This topic describes how to upgrade an ApsaraDB RDS instance that runs MySQL 8.0 or MySQL 5.7 from RDS Basic Edition to RDS Cluster Edition. RDS Cluster Edition for ApsaraDB RDS for MySQL delivers disaster recovery capabilities and is more flexible and reliable than other RDS editions.
Scenarios
If you require more reliable disaster recovery, more flexible deployment, and finer-grained monitoring or you want to use secondary nodes to implement read/write splitting, you can upgrade your RDS instance from RDS Basic Edition to RDS Cluster Edition. RDS Cluster Edition for ApsaraDB RDS for MySQL provides the following features: readable secondary nodes, primary/secondary switchover, node addition and deletion, multi-zone disaster recovery, node-level monitoring, and cluster topology management. For more information, see RDS Cluster Edition.
Prerequisites
Your RDS instance runs MySQL 5.7 or MySQL 8.0 on RDS Basic Edition.
NoteYou can go to the Basic Information page of your RDS instance to view the preceding information.
Your RDS instance uses the enhanced SSD (ESSD) or general ESSD storage type.
NoteIf the RDS instance uses the standard SSD storage type, you must upgrade the storage type to ESSD. For more information, see Upgrade the storage type from standard SSDs to ESSDs.
The minor engine version of your RDS instance is 20211231 or later.
NoteFor more information, see Update the minor engine version.
Impacts
When you upgrade the RDS edition of an RDS instance, an instance switchover is triggered. Make sure that your application is configured to automatically reconnect to RDS instance. For more information about the impacts of an instance switchover, see Impacts of an instance switchover.
After the upgrade is complete, you cannot downgrade the RDS edition of your RDS instance to RDS Basic Edition.
Billing rules
The actual fees that you must pay for the upgrade is displayed on the buy page. For more information about the fees for the upgrade, see Specification changes.
Procedure
Read and select Terms of Service, click Pay Now, and then complete the payment.
On the Basic Information section of the Basic Information page, check whether the upgrade is successful. If the value of the Type and Edition parameter of the RDS instance is Regular Instance (Cluster Edition), the upgrade is successful.
NoteAfter the upgrade is complete, the endpoint of the RDS instance remains unchanged. You do not need to modify application configurations.
Related operations
Operation | Description |
Changes the specifications of an instance. You can call the ModifyDBInstanceSpec operation to upgrade the RDS edition of an instance to RDS Cluster Edition. When you call this operation, you must set the DBInstanceClass parameter to a value that specifies the new instance type supported by RDS Cluster Edition and set the Category parameter to Cluster. You can configure other parameters based on your business requirements. | |
Queries the information about an instance. You can call the DescribeDBInstanceAttribute operation and check the value of the Category parameter in the response to check whether the upgrade is successful. If the value is Cluster, the upgrade is successful. |