This topic describes how to upgrade or downgrade a subscription ECS instance. If an Elastic Compute Service (ECS) instance that is created on a dedicated host is no longer suited to your business requirements, you can upgrade or downgrade the instance specifications. For example, you can upgrade or downgrade the number of vCPUs and the memory size of instance types. You can also upgrade or downgrade the public bandwidth of the ECS instance.

Only Virtual private cloud (VPC) is supported. Therefore, all ECS instances described in this topic are VPC-connected ECS instances.

Upgrade or downgrade the instance type

When you upgrade or downgrade an instance, the specifications you can modify are restricted to the instance type. For predefined instance types, you can only change the instances to different types, while for custom instance types, you can modify the number of vCPUs and the memory size. The following table describes the methods that you can use to upgrade or downgrade the instance.
OperationMethodNotesReferences
UpgradeUpgrade the instance specification in the console.

Before you upgrade the instance, make sure that the ECS instance is in the Stopped state.

The new instance type takes effect immediately after the ECS instance is restarted. Upgrade the instance types of subscription instances
DowngradeDowngrade the instance specification in the console.

Before you downgrade the instance type, make sure that the ECS instance is in the Stopped state.

The new instance type takes effect immediately after the ECS instance is restarted. Downgrade the instance types of subscription instances
Downgrade the predefined instance type when you renew your ECS instances.
Important You cannot use this feature to downgrade a custom instance type.
The new instance type takes effect in the next billing cycle. If you use this method, you must use the DDH console or API operations to restart the instance within the first seven days of the new billing cycle.
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.

Upgrade or downgrade the public bandwidth

The following table describes the methods that you can use to upgrade or downgrade the public bandwidth.
Important You can upgrade or downgrade the public bandwidth of only the subscription ECS instances that are not associated with an elastic IP address (EIP). For more information, see Modify the bandwidth of an EIP.
OperationMethodNotesReference
UpgradeUse the configuration upgrade feature.The upgraded public bandwidth immediately takes effect.
Note If you upgrade the public bandwidth of an ECS instance from 0 Mbit/s to a higher value, a public IP address is automatically allocated to the ECS instance.
Modify the bandwidth configurations of subscription instances
DowngradeUse the configuration downgrade feature.The downgraded public bandwidth immediately takes effect.
Note If you downgrade the public bandwidth of an ECS instance to 0, the public IP address is automatically detached.
Modify the bandwidth configurations of subscription instances
Use the renewal and configuration downgrade feature. This feature allows you to downgrade the public bandwidth when you renew your ECS instances.
Important You cannot use this feature to downgrade a custom instance type.
The new public bandwidth takes effect in the next billing cycle.
Note If you downgrade the public bandwidth of an ECS instance to 0, the public IP address is automatically detached.
Downgrade the configurations of an instance during renewal