All Products
Search
Document Center

Elastic Compute Service:Upgrade the instance types of subscription instances

Last Updated:Mar 06, 2024

If the vCPU and memory specifications of a subscription Elastic Compute Service (ECS) instance do not meet your business requirements, you can upgrade the instance type of the instance. The new instance type takes effect immediately after you restart the instance.

Prerequisites

Before you upgrade the instance type of a subscription instance, 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 original instance type and the new instance type 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 you want to upgrade. The new instance type takes effect only after the instance is restarted.

  • You can upgrade the instance type of an instance multiple times, but two consecutive upgrade operations must be at least 5 minutes apart.

  • 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 instance types, 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 the region and resource group to which the resource belongs. 地域

  4. Find the subscription instance whose instance type you want to upgrade. In the Actions column, choose image.png > Upgrade/Downgrade > Upgrade.

  5. 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 of 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 > 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.

  6. Read the notice. If you do not have any questions, select ECS Service Terms.

  7. 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, the new instance type 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 the region and resource group to which the resource belongs. 地域

  4. Select subscription instances whose instance types you want to upgrade. In the lower part of the page, choose More > Upgrade/Downgrade > Change Configurations.

  5. In the Change Configurations dialog box, confirm the instances and click Next.

  6. In the Specify Release Mode step, select Upgrade Instance Type (Only for Instances of Same Instance Type) and click Continue.

  7. 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 filtered out. You can perform operations only on the instances that meet the requirements, as shown in the following figure.批量升级实例规格

    1. Select the instance type to which you want to upgrade the instance.

      Note

      You can select only an instance type of 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 > 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.

  8. Read the notice. If you do not have any questions, select ECS Service Terms.

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