Tencent Cloud instances offer rapid and convenient hardware adjustments, which is a significant aspect of CVM flexibility. This document describes the methods and considerations for upgrading, downgrading, and adjusting configurations across different instance types.
Preparations
You can adjust the configuration of an instance when it is in shutdown or running status. If the instance is running, the adjustment takes effect after it is forcibly shut down and restarted.
Note
When the target instance is in the Shutdown status, you can directly perform the configuration change via the console.
When the target instance is in the running state, you can adjust its configuration online. After completing the operation, you need to confirm the forced shutdown, and the configuration adjustment will take effect after the restart.
When performing batch operations for adjustments, you can do so online. If any instances in the batch are in running status, you must confirm to forcibly shut them down, and the changes will take effect after the restart.
Limits and Impacts
Configuration adjustment limits
Only instances with both system disk and data disk as cloud disks support configuration adjustments.
Configuration Upgrade
The number of configuration upgrades is unlimited and the upgrade takes effect immediately.
Configuration downgrade:
Monthly subscribed instances can be downgraded at any time (except for expired instances), with a cumulative limit of 5 downgrade operations per instance.
Pay-as-you-go instances can be downgraded any number of times at any time.
Adjustment across instance families: configurations can be adjusted between instance families without the need for data migration.
During configuration adjustment, instance specifications that can be adjusted are related to the target specifications available in the current AZ. Pay attention to the following restrictions:
Spot instances do not support adjusting configurations across different instance types.
Exclusive instances do not support cross-model configuration adjustments. The scope of adjustments is limited by the remaining resources of the dedicated host where the instance is located.
GPU, FPGA, and other heterogeneous instance types are not supported as source or target instance specifications for cross-instance family configuration adjustments.
Instances with classic network configurations cannot be adjusted to instances that only support VPC.
If the target instance type does not support the CBS disk type configured for the current instance type, the configuration cannot be adjusted.
If the target instance type does not support the image type configured for the current instance type, the configuration cannot be adjusted.
If the target instance type does not support the current configuration's ENI or the number of ENIs, the adjustment is not allowed. For more information, refer to ENI Usage Restrictions.
If the target instance type does not support the current public network bandwidth cap, the adjustment cannot be made. For more information, refer to Public Network Bandwidth Cap.
Related Impacts
For some instances using the classic network, the private IP address may change after adjustment. If the private IP address changes, we will display a notice on the adjustment page. If there is no such notice, the private IP address will remain unchanged.
Instructions
Note
If your business changes, you can adjust the instance configuration.
During configuration upgrade, upgrade your CVM instance accordingly and pay for fees that may be incurred.
During configuration downgrade, confirm the refund detail and forcibly shut down and restart your CVM instance for the new configuration to take effect immediately.
2. Proceed according to the actually used view mode:
List view: In the operation column on the right side of the instance you want to adjust, select More > Resource Adjustment > Adjust Model and Specs. As shown below:
Tab Mode: On the page of the instance you want to adjust, select More Actions > Resource Adjustment > Adjust Model and Specs in the upper right corner, as shown below:
3. In the Select target configuration section, confirm the instance status and operation, select the required model and instance specifications, and carefully confirm the specifications and performance parameters. Click Next as shown in the figure below:
4. Based on the instance's billing mode, confirm the fees and click Next.
5. In the "Shutdown CVM" step, read the prompt carefully based on the instance running status.
If the current instance is running, read the prompt carefully and select "Agree to a forced shutdown", as shown in the following figure:
If the current instance is shut down, the following prompt will appear:
6. Click Adjust Now to proceed to the order page and complete the payment.
You can adjust the instance configuration using the ResetInstancesType interface. For more details, refer to the Adjust Instance Configuration API documentation.