This topic describes how to upgrade a subscription instance to an instance type that has more vCPUs and a larger memory size. The new instance type takes effect immediately after you restart the instance.

Prerequisites

Before you upgrade the instance type, make sure that the instance family to which the instance belongs supports instance type upgrades. For more information, see Instance families that support instance type changes.

Background information

When you upgrade the instance type of a subscription instance, you are charged for the price difference between the instance types for the remainder of the current billing cycle.

When you upgrade the instance type, take note of the following limits:
  • You must specify an instance type to upgrade both the vCPU and memory specifications of the instance. You cannot upgrade only the vCPU specification or memory specification of the instance.
  • You must set the restart time for the instance whose instance type is to be upgraded. The new instance type takes effect only after the instance is restarted.
  • You can upgrade the instance type of an instance multiple times, but you must wait at least five minutes between two consecutive upgrade operations.
  • If you have renewed an instance and downgraded its instance type within the current billing cycle, you cannot upgrade the instance type until the next billing cycle.
In addition to upgrading the instance type, you can also use the configuration upgrade feature to perform the following operations:
  • Upgrade public bandwidths.
  • Change the billing method for network usage from pay-by-traffic to pay-by-bandwidth.
  • Change the billing method of disks attached to instances from pay-as-you-go to subscription.

Upgrade the instance type of a single instance

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Find the subscription instance whose instance type you want to upgrade and click Upgrade/Downgrade in the Actions column.
  5. In the Upgrade/Downgrade Wizard dialog box, select Upgrade and click Continue.
  6. On the Upgrade page, complete the instance type settings.
    1. Select the instance type to which you want to upgrade the instance.
      Note You can select only an instance type that has higher specifications. You can check whether the instance can have its instance type upgraded and the instance types that you can use for the upgrade.
    2. Set the restart time of the instance. If you have scheduled the restart time of the instance, you can choose Events > Scheduled Events > Configuration Change and Restart Events in the ECS console to view or modify the scheduled time.
      Warning The restart operation stops the instance for a short period of time and may interrupt services that are running on the instance. We recommend that you restart instances during off-peak hours.
  7. Read the notice. If you do not have any questions, select ECS Service Terms.
  8. Confirm the price, click Create Order, and then complete the payment.
    The new instance type is displayed for the instance in the ECS console after you complete the payment. However, it does not take effect until you restart the instance.

Upgrade the instance types of multiple instances

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Select subscription instances whose instance types you want to downgrade. In the lower part of the page, choose More > Configuration Change > Upgrade/Downgrade.
  5. In the Upgrade/Downgrade Wizard dialog box, select Upgrade Instance (Only for Same Instance Type) and then click Continue.
  6. On the Upgrade Instance Type page, complete the instance type settings.
    If a selected instance does not have the same instance type as other selected instances or if the instance resides in a different zone from other instances, the instance is removed from the batch. You can perform operations only on the instances that meet the filter conditions, as shown in the following figure. Upgrade the instance types of multiple instances
    1. Select the instance type to which you want to upgrade the instance.
      Note You can select only an instance type that has higher specifications. You can check whether the instance can have its instance type upgraded and the instance types that you can use for the upgrade.
    2. Set the restart time of the instance. If you have scheduled the restart time of the instance, you can choose Events > Scheduled Events > Configuration Change and Restart Events in the ECS console to view or modify the scheduled time.
      Warning The restart operation stops the instance for a short period of time and may interrupt services that are running on the instance. We recommend that you restart instances during off-peak hours.
  7. Read the notice. If you do not have any questions, select ECS Service Terms.
  8. Confirm the price, click Upgrade, and then complete the payment.
    The new instance type is displayed for the instances in the ECS console after you complete the payment. However, it does not take effect until you restart the instances.