If an Elastic Compute Service (ECS) instance that is created on a dedicated host no longer suits your business requirements, you can upgrade or downgrade the instance specifications, such as the number of vCPUs and the memory capacity of instance types. You can also upgrade or downgrade the public bandwidth of the ECS instance.
Dedicated hosts can be deployed only in virtual private clouds (VPCs). 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 capacity.
The following table describes the methods that you can use to upgrade or downgrade the instance.
Operation
Method
Effective time
References
Upgrade
Upgrade 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.
Downgrade
Downgrade 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 predefined instance type when you renew your ECS instances.
ImportantYou 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.
WarningThe 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 the instance 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.
You can upgrade or downgrade the public bandwidth of only the subscription ECS instances that are not associated with elastic IP addresses (EIPs). For information about how to change the public bandwidth of an ECS instance that is associated with an EIP, see Modify the bandwidth of an EIP.
Operation | Method | Effective time | References |
Upgrade | Use 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. | |
Downgrade | Use the configuration downgrade feature. | The downgraded public bandwidth immediately takes effect. Note If you downgrade the public bandwidth of an ECS instance to 0 Mbit/s, the public IP address is automatically disassociated. | |
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 Mbit/s, the public IP address is automatically disassociated. |
References
For information about the billing of subscription instance types and public bandwidth, see Resource billing for ECS instances on a dedicated host.