All Products
Search
Document Center

ApsaraDB RDS:Upgrade the RDS edition from RDS Basic Edition to RDS Cluster Edition

Last Updated:Jan 05, 2024

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.

    Note

    You 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.

    Note

    If 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.

    Note

    For 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

  1. 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.

  2. In the Configuration Information section of the page that appears, click Change Specifications.

  3. In the dialog box that appears, select Upgrade and click Next step. This step is required only for subscription RDS instances.

  4. Configure the following parameters.

    Parameter

    Description

    Edition

    Select Cluster Edition.

    Storage Type

    Select a storage type based on your business requirements.

    Instance Type

    Select an instance type based on your business requirements.

    Storage Capacity

    Adjust the slider to choose a storage capacity based on your business requirements.

    Switching Time

    Select Execute Immediately or Switch Within Maintenance Window based on your business requirements.

    Note
    • Execute Immediately: Your data is immediately migrated, which does not affect workloads on the RDS instance. After the data is migrated, an instance switchover is immediately performed. For more information about the impacts of an instance switchover, see Impacts of an instance switchover.

    • Switch Within Maintenance Time: Your data is immediately migrated, which does not affect workloads on the RDS instance. After the data is migrated, an instance switchover is performed within the specified maintenance window.

  5. Read and select Terms of Service, click Pay Now, and then complete the payment.

  6. 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.

    Note

    After the upgrade is complete, the endpoint of the RDS instance remains unchanged. You do not need to modify application configurations.

Related operations

Operation

Description

ModifyDBInstanceSpec

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.

DescribeDBInstanceAttribute

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.