Updated on 2024-10-14 GMT+08:00

Changing a DB Instance Class

Scenarios

You can change the instance class (vCPU or memory) of a DB instance as required. If the status of a DB instance changes from Changing instance class to Available, the change is successful.

Constraints

  • You can change the DB instance class only when your account balance is greater than or equal to $0 USD.
  • An instance cannot be deleted while its instance class is being changed.
  • The following operations cannot be performed on an instance whose instance class is being changed: rebooting the instance, scaling up storage space, modifying the parameter template, creating a manual backup, creating a database account, and creating a database.
  • You can scale up or down your RDS for MariaDB instance specifications.
  • If there are any large transactions being processed during an instance class change, the change may fail.
  • If the primary/standby replication delay of a DB instance is longer than 5 minutes, the instance class change will fail.
  • Changing an instance class will interrupt services. Ensure that your applications support automatic reconnection. Perform this operation during off-peak hours because changing an instance class during peak hours takes much more time.
  • Changing the instance class takes 5 to 15 minutes (during off-peak hours). If it takes an extended period of time, contact customer service.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. On the Instances page, locate the target DB instance and choose More > Change Instance Class in the Operation column.

    Alternatively, click the target DB instance to go to the Basic Information page. In the DB Information area, click Change next to the Instance Class field.

  4. On the displayed page, specify the new instance class and click Next.

    Figure 1 Changing a DB instance class

  5. Confirm the specifications.

    • If you need to modify your settings, click Previous.
    • For pay-per-use DB instances, click Submit.

      To view the cost incurred by the DB instance class change, choose Billing & Costs > Bills in the upper right corner.

  6. View the DB instance class change result.

    Return to the Instances page and view the instance status. During the change period, the instance status is Changing instance class. You can view the execution progress of Changing MariaDB instance class on the Task Center page. After a few minutes, view the DB instance class on the Basic Information page to check that the change is successful.