This topic describes how to stop an instance in the ECS console and introduces operations related to the No Fees for Stopped Instances (VPC-Connected) feature.
Prerequisites
Background information
If you stop a subscription instance, the billing of the instance is not affected.
If you stop a pay-as-you-go instance, the billing of the instance may be affected
based on the network type of the instance and the No Fees for Stopped Instances (VPC-Connected) feature setting.
- Pay-as-you-go instances in the classic network do not support the No Fees for Stopped Instances (VPC-Connected) feature. A pay-as-you-go instance in the classic network continues to incur fees after the instance is stopped. The billing stops only when the instance is released. For more information, see Release an instance.
- Pay-as-you-go instances in VPCs support the No Fees for Stopped Instances (VPC-Connected) feature.
- If the No Fees for Stopped Instances (VPC-Connected) feature is not enabled, the billing of a pay-as-you-go instance continues after the instance is stopped.
- If the No Fees for Stopped Instances (VPC-Connected) feature is enabled, you can use the Stop Mode parameter to configure whether to retain and bill an instance after the instance is stopped. If you set Stop Mode to No Charges After Instance Is Stopped in the Stop Instance dialog box, billing of the vCPUs, memory, and public IP address stops after the instance is stopped. However, you are still charged for other resources. For more information, see No Fees for Stopped Instances (VPC-Connected).
Note Services that are running on an instance will be interrupted if you stop the instance.
Exercise caution when you perform this operation.
Stop a subscription instance
To stop a subscription instance, perform the following steps:
Stop a pay-as-you-go instance
To stop a pay-as-you-go instance, perform the following steps:
Note Services that are running on an instance will be interrupted if you stop the instance.
Exercise caution when you perform this operation. The procedure to stop a preemptible
instance is the same as that of a pay-as-you-go instance. For more information, see
Stop a preemptible instance.
Result
The instance enters the Stopped state after it is stopped.