You can change the configurations of an instance and its Internet bandwidth after it is created.
Upgrade or downgrade instance configurations
You can only upgrade or downgrade the configurations of vCPU and RAM simultaneously by changing instance types. The methods to change an instance type vary according to the billing method of the instance:
- Upgrade: See Upgrade Configuration. The new configurations are effective after you restart the instance in the console or by using the RebootInstance interface.
- Downgrade: See Renew for Configuration Downgrade. You can downgrade the configuration of an instance when you renew the instance. The new configuration takes effect after you restart the instance in the ECS console within the first seven days of the new billing cycle.
Stopping an instance disrupts your business traffic. Proceed with caution.
Adjust Internet bandwidth
You can adjust the Internet bandwidth of an instance. The methods vary according to your business needs and the billing method of the instance. The following table lists the methods.
|Billing method of instances||Effective immediately||Available feature||Description|
|Subscription||Yes||Upgrade Configuration||Only applicable to VPC-Connected ECS instances to which no EIP addresses are attached or classic network-connected ECS instances. The Internet and intranet IP addresses remain unchanged after you upgrade your configurations.|
|Subscription||No. Effective from next billing cycle||Renew for Configuration Downgrade||Adjust bandwidth in the new billing cycle. When the Internet bandwidth is set to 0 Mbit/s, the Internet IP address of a VPC-Connected instance is released in the new billing cycle, but that of a classic network-connected ECS instance is retained.|
|Pay-As-You-Go or Subscription||Yes||Change Bandwidth||Only applicable to those VPC-Connected instances that EIP addresses are bound to. You can adjust the Internet bandwidth on an EIP address at any time.|
Assign a public IP address
Assign a public IP address to an ECS instance while creating it. If you skip it, you can even assign after an ECS instance is created. However, the feature is only available for Subscription instances. For more information, see the following table.
|Upgrade Configuration||Yes||Only applicable to VPC-Connected ECS instances to which no EIP addresses are attached or classic network-connected ECS instances. Set the Internet bandwidth to a non-zero value to assign a public IP address.|
|Renew for Configuration Downgrade||No. Effective from next billing cycle|