All Products
Search
Document Center

ApsaraDB RDS:Upgrade the RDS edition from RDS Basic Edition to RDS High-availability Edition

Last Updated:Dec 18, 2024

This topic describes how to upgrade the RDS edition of an ApsaraDB RDS instance that runs MySQL 5.7 or MySQL 8.0 from RDS Basic Edition to RDS High-availability Edition. The upgrade increases the reliability of your database service.

In RDS High-availability Edition, your database system consists of a primary RDS instance and a secondary RDS instance. These instances work in a high availability architecture. RDS High-availability Edition is suitable for more than 80% of business scenarios. For more information, see RDS High-availability Edition.

For more information about the fees for the upgrade, see Specification changes.

Prerequisites

  • The RDS instance uses the subscription or pay-as-you-go billing method.

    Note

    If the RDS instance uses the serverless billing method, you can upgrade the RDS edition based on the instructions provided in Configure a serverless ApsaraDB RDS for MySQL instance.

  • The RDS instance runs MySQL 8.0 or MySQL 5.7 on RDS Basic Edition. You can go to the Basic Information page of your RDS instance to view the preceding information.

  • The RDS instance runs a minor engine version of 20211231 or later. For more information about how to update the minor engine version of an RDS instance, see Upgrade the minor engine version.

    Note

    If your RDS instance runs MySQL 5.7 on RDS Basic Edition with standard SSDs and you want to upgrade your RDS instance to RDS High-availability Edition with local disks, your RDS instance does not need to meet this prerequisite.

  • The RDS instance is not a read-only instance. You cannot upgrade the RDS edition of a read-only RDS instance from RDS Basic Edition to RDS High-availability Edition.

Billing

The actual fees that you must pay for the upgrade are displayed on the buy page. For more information about the fees for the upgrade, see Specification changes.

Impacts

  • The upgrade can trigger a data migration, which may require a few minutes. After the migration is complete, an instance switchover is triggered at the switching time that you specify. Make sure that your application is configured to automatically reconnect to your RDS instance. For more information about the impacts of an instance switchover, see Impacts of an instance switchover.

    Note

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

  • After the upgrade is complete, you cannot downgrade the RDS edition of your RDS instance to RDS Basic Edition.

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. This step is required only for subscription RDS instances.

  4. Configure the following parameters.

    Parameter

    Description

    Edition

    Select High-availability Edition.

    Storage Type

    This parameter is optional. You can change the storage type from standard SSD to local SSD.

    Note

    This parameter is available only when the RDS instance runs MySQL 5.7 on RDS Basic Edition.

    Switching Time

    Specify the time when a switchover of your workloads is triggered. Valid values:

    • Execute Immediately

    • Switch Within Maintenance Window

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

Related operations

Operation

Description

ModifyDBInstanceSpec

Changes the specifications of an instance.