Overview
Hardware devices of Tencent Cloud CVM instances can be adjusted quickly and flexibly. This document describes the operation methods for configuration upgrade, downgrade, and cross-model adjustment.
Prerequisites
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:
If the instance has been shut down, you can adjust its configuration directly via the console.
If the instance is running, you can adjust its configuration online and confirm to forcibly shut down the instance. The adjustment takes effect after the instance is restarted.
You can adjust the configurations of instances online in batches. If an instance in the batch operation is running, you need to force the instance to shut down. The adjustment takes effects after the instance is restarted.
Limits and Impacts
Configuration adjustment limits
Only instance whose system and data disks are both CBS cloud disks supports configuration adjustment.
Upgrade configuration
There is no limit on the number of times, and configuration upgrades take effect immediately.
Downgrade configuration
A yearly/monthly subscription instance can be downgraded at any time, except for expired instances. Each yearly/monthly subscription instance supports up to 5 downgrades in total.
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 cross-model configuration adjustment.
Dedicated instances do not support cross-model configuration adjustment. The adjustment scope is subject to the remaining resources of the dedicated host where the instance is located.
Heterogeneous instances such as GPU and FPGA instances cannot be used as the source or target instance type for configuration adjustment across instance families.
Instances configured with a classic network 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 ENI or ENI quantity configured for the current instance type, the configuration cannot be adjusted. For more information, see Use Limits. If the target instance type does not support the public network bandwidth cap configured for the current instance type, the configuration cannot be adjusted. For more information, see Public Network Bandwidth Cap. Impacts
The private IP addresses of few instances may change after adjustment. If any private IP address changes, the relevant information will be displayed on the adjustment page. If no such information is displayed, no private IP address has changed.
Directions
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.
When downgrading the configuration, confirm the refund details and forcibly shut down and restart the instance. The new configuration takes effect immediately after the restart, and the CVM instance runs with the new configuration right away. For details on configuration adjustment fees, see Configuration Adjustment Billing Guide. Adjusting the configuration of a single instance
1. Log in to the CVM console and click Instances to view the CVM instance list. 2. Proceed according to the actually used view mode:
List view: In the operation column on the right side of the instance to be adjusted, choose More > Resource Adjustment > Adjust model and specs. As shown in the following figure:
Tab view: On the instance page to be adjusted, choose More Actions > Resource Adjustment > Adjust model and specs in the upper-right corner. As shown in the following figure:
3. In Select target model and specs, confirm the instance status and operation, select the desired model and instance specifications, and carefully confirm the specifications and performance parameters, then click Next. As shown in the following figure:
4. Based on the instance billing method, confirm the fees and click Next.
Pay-as-you-go instance: Confirm the amount to be frozen for the new specifications. After the configuration adjustment, the pay-as-you-go price will be billed from the first tier. Make sure you understand the rules before proceeding. As shown in the following figure:
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 force shutdown. As shown in the following figure:
If the current instance is shut down, you will be prompted again, as shown in the following figure:
6. Click Adjust Now to go to the order page and complete the payment.
You can use the ResetInstancesType API to adjust the instance configuration. For more information, see the ResetInstancesType API documentation.