Home > Article > Operation and Maintenance > How to upgrade or downgrade instance configuration after creating an instance
This article introduces how to upgrade or reduce the instance configuration after creating an instance, and focuses on using different functions to modify the instance configuration.
After creating an instance, you can modify the configuration of the instance and public network bandwidth.
Upgrading or downgrading instance configuration
You can only upgrade or downgrade the number of vCPU cores and memory size (i.e. instance specification family) of an instance at the same time, and cannot adjust one configuration individually. Depending on the billing method of the instance, you must use different functions to modify the instance configuration:
Prepaid:
Upgrade instance configuration: Use the Prepaid instance upgrade configuration function to upgrade the instance specifications at any time. After the operation is completed, you must restart the instance or use the RebootInstance interface to restart the instance for the new configuration to take effect. Applicable to annual and monthly subscription instances and paid-per-week instances.
Reduce instance configuration: Use the Renewal Downgrade function to reduce instance specifications while renewing. After entering the new billing cycle, you need to restart the instance on the console within 7 days to make the new instance specifications take effect. Applicable to annual and monthly subscription instances and paid-per-week instances.
Pay-as-you-go:
Use the pay-as-you-go instance change instance specification function to modify the configuration of the pay-as-you-go instance. You must stop the instance to use this feature.
Description
Stopping the instance will interrupt your business. It is recommended that you perform the operation when the business is at a low point.
Adjust public network bandwidth
Depending on the instance's billing method and bandwidth requirements, you can modify the public network bandwidth in different ways, as shown in the following table.
Assign a public IP address after creating the instance
In step 2: When creating an ECS instance, you can pass Set the public network bandwidth to a non-zero value and assign a public IP address to the ECS instance. If no public IP address is assigned at this time, after the instance is successfully created, you can assign a public IP address to the instance through different functions. However, currently only prepaid instances can be assigned a public IP address after they are successfully created. Details are shown in the table below.
Change the public network bandwidth billing method
Depending on the billing method of the instance, you can change the public network bandwidth billing method in different ways:
Prepaid: Applicable to classic network type ECS instances or VPC type ECS instances without EIP bound.
Billing based on usage traffic —> Billing based on fixed bandwidth: You can use the prepaid instance upgrade configuration function, which takes effect immediately. Applicable to annual, monthly and weekly paid instances.
Billing based on fixed bandwidth —> Billing based on usage traffic: You can use the "Renewal and Downgrade" function to change the billing method for public network bandwidth during renewal. Changes will not take effect until you enter a new billing cycle. Applicable to annual, monthly and weekly paid instances.
Pay-as-you-go: Applicable to VPC type ECS instances or classic network type ECS instances that have been assigned public IP addresses. You can use a pay-as-you-go instance to modify the public network bandwidth and change the public network bandwidth billing method at any time. Effective immediately.
The above is the detailed content of How to upgrade or downgrade instance configuration after creating an instance. For more information, please follow other related articles on the PHP Chinese website!