Scenario
"CVM No Charge When Shut Down" means pay-as-you-go instances (CPUs and memory) that have been shut down will not be billed. Cloud disks (system disk and data disk), public network bandwidth, images, and other key components of the CVM are still billed. For more information, please see No Charges When Shut down for Pay-as-You-Go Instances Details.
Directions
Shut down an instance via console
- Log in to the CVM Console.
- Choose different operation methods based on actual needs.
- Shutting down a single instance:
- Select the instance you want to shut down, and click More > Instance Status > Shutdown on the right operation column.
- Tick CVM No Charge when Shut down and click OK.
If the instance does not support this feature, "No Charge when Shut Down" is not supported will be displayed in the instance list.
- Shutting down multiple instances:
- Select all the instances you want to shut down and click Shutdown at the top of the list to shut down instances in batches.
Reasons are given for instances that cannot be shut down.
- Tick CVM No Charge when Shut down and click OK.
If the instance does not support this feature, "No Charge when Shut Down" is not supported will be displayed in the instance list.
Shut down an instance via API
You can use StopInstances API to shut down an instance. For details, please see StopInstances. To enable this feature via API, please add the following parameter:
Parameter Name |
Required |
Type |
Description |
StoppedMode |
No |
String |
The "No Charge when Shut down" feature is only available for pay-as-you-go instances Range: KEEP_CHARGING: Keep charging after the instance is shut down STOP_CHARGING: No charge when shut down *Default value: * KEEP_CHARGING |
Was this page helpful?