All Products
Search
Document Center

Elastic Compute Service:Upgrade or downgrade the instance type of a subscription ECS instance

Last Updated:Jan 19, 2026

If your subscription Elastic Compute Service (ECS) instance does not meet your application requirements or is overprovisioned, you can change its instance type to adjust its vCPU and memory. You can upgrade to a more expensive instance type or downgrade to a less expensive one.

Prerequisites

The instance whose type you want to change must meet the following conditions:

Limits

The following limits apply when you change an instance type:

  • You must specify a target instance type that includes both vCPU and memory. You cannot change only the vCPU or only the memory.

  • You can change the instance type only for the current billing cycle. Temporary changes are not supported.

  • You cannot change the instance type if another configuration change, such as changing the instance type, modifying bandwidth, or a temporary bandwidth upgrade, is in progress for the instance.

  • If you have renewed a subscription instance to a lower-tier type for the next billing cycle, you cannot upgrade the instance until that new cycle begins.

  • You cannot downgrade a subscription instance if a renewal to a lower-tier type is pending. You must wait for the renewal to complete before you can perform a real-time downgrade.

  • Downgrades are subject to a monthly quota that is based on your historical consumption. The specific quota is displayed on the configuration change page. You cannot perform more downgrades after you exceed the quota. The quota is automatically reset on the first day of the next month.

  • You cannot downgrade a subscription instance and upgrade its attached disks in the same operation. To downgrade an instance and upgrade its disks, such as upgrading an ultra disk to an Enterprise SSD (ESSD), you must first upgrade the disk and then downgrade the instance.

Billing

  • When you upgrade an instance type, you must pay an upgrade fee.

    Note
    • Remaining duration of the new order: The period from the time the upgrade is submitted to the expiration date of the new order.

    • Remaining duration of the original order: The period from the time the upgrade is submitted to the expiration date of the original order.

    • Discount: The system automatically calculates the optimal discount based on the upgraded resource configuration and the remaining service duration.

    For more information about upgrade fees, see Calculation logic for upgrade fees.

  • When you downgrade an instance type, you may receive a refund. The refund amount is the price difference between the original and new configurations for the remaining subscription period. For more information, see Rules for unsubscribing from resources.

Important

If the instance is part of a long-term promotional campaign, changing its configuration may make the instance ineligible for the promotional price at renewal.

Procedure

Warning

Changing the instance type requires a restart of the ECS instance. Perform this operation during off-peak hours to minimize the impact on your business.

  1. Go to ECS console - Instances.

  2. In the top navigation bar, select the region and resource group of the resource that you want to manage. 地域

  3. Click the ID or name of the target instance to open its details page. Under All Actions, select Change Instance Type.

    Note

    You can also perform batch operations on the instance list page to change the instance types of multiple instances. On the instance list page, select multiple instances, choose More > Upgrade/Downgrade > Change Instance Type at the bottom of the page, and then follow the on-screen instructions.

  4. Select a target instance type.

    Note

    The instance types available to you are displayed on the page.

  5. Change the instance type.

    Upgrade the instance type

    The steps vary based on the current state of the instance.

    • The instance is Stopped:

      1. Confirm the estimated cost, read and agree to the terms of service, and then click Confirm Change And Pay.

        image

      2. Follow the on-screen instructions to complete the payment.

      3. Start the instance to apply the change.

        After the payment is complete, the console displays the new instance type, but the change has not yet taken effect. You must start the instance for the change to take effect.

    • The instance is Running:

      1. Set the restart time.

        If you select a scheduled restart and set a time, you can view or modify the scheduled time in the ECS console by choosing Events > Configuration Change Restart Events.

        Warning
        • Restarting an instance causes it to stop, which may interrupt your services. Perform this operation during off-peak hours.

        • For some instance types, a message such as no timed execution. cannot scheduled downgrade is displayed when you set a restart time. This message indicates that the instance does not support scheduled restarts and must be stopped before its type can be changed.

      2. After you confirm the changes, click Confirm Change And Pay or Confirm Change And Restart Instance.

        image

      3. Restart the instance.

        After you click Confirm Change And Pay and complete the payment, the console displays the new instance type, but the change does not take effect until you restart the instance.

    Downgrade the instance type

    1. The steps vary based on the current state of the instance.

      • The instance is Stopped: confirm the changes, select Read And Agree To The Elastic Compute Service Terms Of Service, and then click Confirm Change.

        image

      • The instance is Running:

        1. Confirm the changes, select I Have Read And Agree To The Elastic Compute Service Terms Of Service, and click Stop Instance And Continue.

          image

        2. In the Stop Instance dialog box, select a Stop Mode, and click Confirm.

          image

    2. Start the instance to apply the change.

      For more information, see Start an instance.

References