This topic describes how to upgrade the configurations of a subscription instance, including the instance type and public bandwidth.

Background information

After you upgrade the configurations of a subscription instance, you are charged the price difference for the rest of the current billing cycle.

You can use the configuration upgrade feature to perform the following operations:
  • Upgrade instance types
  • Upgrade the basic bandwidth permanently
  • Change the billing method for network usage
  • Change the billing method for data disks
The configuration upgrade feature has the following limits:
  • It is applicable only to subscription instances.
  • You can upgrade an instance multiple times. However, the interval between two consecutive upgrades must be at least five minutes.
  • If you have renewed an instance and downgraded its configurations within the current billing cycle, you cannot upgrade the configurations of this instance until the next billing cycle.
  • Take note of the following items when you upgrade instance types:
    • The instance families of the instance types to be upgraded must support configuration changes. For more information, see Instance type changes.
    • You must specify target instance types to upgrade vCPU and memory specifications at the same time. You cannot upgrade only vCPU or memory specification.
    • You must set the restart time of the instance for the new configurations to take effect.
  • Take note of the following items when you upgrade the public bandwidth:
    • The instance must be a VPC-type instance with no Elastic IP address associated or a classic network-type instance.
    • After you upgrade the public bandwidth of a classic network-type instance from 0 Mbit/s for the first time, restart the instance for the new configurations to take effect. You can restart the instance by using the console or by calling the RebootInstance operation.
      Note After you upgrade the public bandwidth of a VPC-type instance from 0 Mbit/s for the first time, you do not need to restart the instance.
  • Billing methods for system disks cannot be changed.

Procedure

  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 to be upgraded. In the Actions column, click Upgrade/Downgrade.
  5. In the Upgrade/Downgrade Wizard dialog box, select Upgrade, and click Continue.
  6. On the Upgrade page, perform one of the following operations:
    • Select an instance type in the Instance Type list.
      Note
      • You can check whether the instance can have its instance type upgraded and which instance types it can be upgraded to on the Upgrade page.
      • You can use developer tools such as Alibaba Cloud CLI, OpenAPI Explorer, and Alibaba Cloud SDK to call the DescribeResourcesModification operation to query the instance types that can be changed.
    • If you upgrade the instance type of an instance, you must set a restart time for the instance. You can schedule the instance to restart immediately after the upgrade is made or at a later time.
    • If the instance is a VPC-type instance with no Elastic IP address associated or a classic network-type instance, you can adjust the public bandwidth of the instance.
      Note If you have not purchased the public bandwidth during instance creation, no public IP address is allocated. You can set the public bandwidth to a non-zero value to obtain a public IP address.
    • If the billing method for network usage is Pay-By-Traffic, you can adjust the peak bandwidth or change the billing method to Pay-By-Bandwidth.
    • If the billing method for network usage is Pay-By-Bandwidth, you can adjust the size of the bandwidth.
    • If a pay-as-you-go data disk is attached to your instance, you can select this data disk and change its billing method to subscription.
  7. Read and select ECS Service Terms .
  8. Verify the price, click Create Order, and follow the prompts to complete the payment.
  9. If you upgrade the public bandwidth of a classic network-type instance from 0 Mbit/s for the first time, restart the instance for the new configurations to take effect. You can restart the instance by using the console or by calling the RebootInstance operation.