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 memory (that is, instance type family) simultaneously by changing instance types. The methods to change an instance type vary according to the billing method of the instance:
- Upgrade: See upgrade configurations. The new configurations are effective after you restart an instance in the console or by using the RebootInstance interface.
- Downgrade: See renewsal for configuration downgrade . You can downgrade the configuration of an instance when you renew the instance. The new configuration takes effect after you restart an instance in the ECS console within the first seven days of the new billing cycle.
- Pay-As-You-Go: See change configurations of Pay-As-You-Go instances. You must stop the instance to use this feature.
Note 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||Upgrade permanently||Effective immediately||Available feature||Description|
|Subscription||Yes||Yes||Upgrade configurations of Subscription instances||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||Yes||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||Yes||Change EIP Internet 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 configurations of Subscription instances||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||Effective from next billing cycle|