Updated on 2023-11-27 GMT+08:00

Changing the Instance Class of a DB Proxy Instance

Scenarios

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

Only the instance classes of pay-per-use DB proxy instances can be changed.

Constraints

  • You can change the instance class of a DB proxy instance only when the statuses of your primary DB instance, read replicas, and DB proxy instance are Available.
  • A DB proxy instance cannot be deleted when its instance class is being changed.
  • Changing the instance class of a DB proxy instance will cause the instance to reboot. Therefore, perform the operation during off-peak hours.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the instance name.
  5. Choose Database Proxy from the navigation pane on the left. In the Proxy Instance Information area, click Change in the Proxy Instance Class field.

    For pay-per-use DB proxy instances, configure New Instance Class and Scheduled Time on the Change Instance Class page, and then click Next.
    Figure 1 Changing a DB proxy instance class
    • You can change the DB proxy instance class if required.
    • Changing the DB proxy instance class will cause the instance to reboot. To prevent service interruptions, change the DB proxy instance class during off-peak hours.
    • If you have selected Maintenance Window for Scheduled Time, the DB proxy instance will be rebooted during the instance class change time and services will be interrupted. To prevent service interruptions, you are advised to set the maintenance window to off-peak hours. For details, see Changing the Maintenance Window.

  6. Confirm the specifications.

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

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

  7. View the instance class change result.

    Changing the DB proxy instance class takes 13–15 minutes. During this period, the status of the primary DB instance on the Instances page is Changing proxy instance class. After a few minutes, view the proxy instance class on the Database Proxy page to check that the change is successful.