GPU-accelerated instances are a type of Elastic Compute Service (ECS) instances and are managed in the same manner as common ECS instances. If you no longer need a GPU-accelerated instance to provide services, you can release the instance to prevent unnecessary costs. This topic describes how to release pay-as-you-go GPU-accelerated instances (including preemptible instances) and expired subscription GPU-accelerated instances.
Prerequisites
Only pay-as-you-go instances, including preemptible instances and expired subscription instances can be released.
After an instance is released, its data is deleted and cannot be recovered. We recommend that you create snapshots to back up data before you release the instance. For more information, see Create a snapshot for a disk.
After an instance is released, snapshots and images that were manually created from the instance are not affected.
Background information
Unexpired subscription instances cannot be released. Before you can release an unexpired subscription instance, convert the instance into a pay-as-you-go instance. For more information, see Change the billing method of an instance from subscription to pay-as-you-go.
You can manually release expired subscription instances. If you do not renew an expired instance within a specific period of time, the instance is automatically released.
If a pay-as-you-go instance is not stopped in economical mode, billing for the instance continues until the instance is released.
You can enable release protection for a pay-as-you-go instance to prevent irreversible data loss caused by an accidental release operation. For more information, see Enable and disable release protection for ECS instances.
If the Release Disk with Instance feature is disabled for a disk that is attached to an instance, the disk is automatically converted into a pay-as-you-go data disk and retained when the instance is released. For more information, see Release a disk.
To batch release multiple instances, we recommend that you use a public template provided by CloudOps Orchestration Service (OOS). You can create an execution based on the public template and use different methods to specify one or more instances that you want to delete in the execution. For example, you can enter instance IDs. For more information, see Release multiple ECS instances at a time.
Procedure
You can release pay-as-you-go instances in the ECS console.
Log on to the ECS console.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
Open the Release dialog box for the instances that you want to release.
To release a single instance, find the instance and choose
in the Actions column.To batch release multiple instances, click the Filter icon at the top of the Billing Method column and select Pay-as-you-go from the drop-down list. In the displayed list of pay-as-you-go instances, select the instances that you want to release and choose
below the instance list.
Release the instances immediately or on a schedule.
In the Release dialog box, set the Release Settings parameter and click Next.
Release Now: If you select Release Now and confirm the release operation, the system immediately releases the instances and stops billing for the instances.
Release on Schedule: If you select Release on Schedule and specify a point in time at which to release the instances, the system releases the instances at the specified point in time and stops billing for them since then.
Confirm the associated resources that you want to release or retain, select I am aware of the instances and their associated resources to be released and understand the data risks, and then click OK.
Confirm the release results and click Close.
After you schedule the release time of an instance, you can click Cancel in the Billing Method column corresponding to the instance to cancel the release settings.