To save cost, we recommend that you release a Pay-As-You-Go instance if you no longer need it.

For a Pay-As-You-Go instance, if the No fees for stopped instances (VPC-Connected) feature is not enabled, charges do not stop until the instance is released.

For a Subscription instance, the instance is automatically released after the billing cycle expires.

To release a Pay-As-You-Go instance, you have two options:

  • Release now: immediately releases the pay-per-order instance.
  • Scheduled Release: Customizes the release of your Pay-As-You-Go instance. The instance cannot be released automatically in less than 30 minutes from the current time. Applying new schedules overwrites the previous ones.
Note After an instance is released, its data cannot be recovered. We recommend that you create a snapshot to back up data before releasing an instance.

Release an instance now

To release an instance now, follow these steps:

  1. Log on to the ECS console.
  2. In the left-side navigation pane, click Instances.
  3. Select a region.
  4. Set release:
    • If you want to release an instance, find the instance that you want to release, and in the Actions column, select Manage > Release.
    • If you want to release multiple instances, find the Pay-As-You-Go instances according to the Billing Method, select multiple instances to release, and click Release Setting at the bottom of the list.
  5. In the dialog box, select Release Now.
  6. Click Next, and then click OK.

Enable automatic release

To enable auto release, follow these steps:

  1. Log on to the ECS console.
  2. In the left-side navigation pane, click Instances.
  3. Select a region.
  4. Set release:
    • If you want to release an instance, find the instance that you want to release, and in the Actions column, select Manage > Release.
    • If you want to release multiple instances, find the Pay-As-You-Go instances according to the Billing Method, select multiple instances to release, and click Release Setting at the bottom of the list.
  5. In the dialog box, select Scheduled Release.
  6. Turn on the Automatic Release switch, and specify the release date and time. The earliest setting can only be set to automatically release an instance after 30 minutes.

  7. Click Next, and then click OK.

Disable automatic release

If you want to cancel the automatic release schedule of a Pay-As-You-Go instance, you can disable the feature.

To disable the automatic release feature, follow these steps:

  1. Log on to the ECS console.
  2. In the left-side navigation pane, click Instances.
  3. Select a region.
  4. Set release:
    • If you want to disable automatic release for an instance, find the instance, and in the Actions column, select Manage > Release.
    • If you want to disable automatic release for multiple instances, find the Pay-As-You-Go instances according to the Billing Method, select the target instances, and click Release Setting at the bottom of the list.
  5. In the dialog box, select Scheduled Release.
  6. Turn off the Automatic Release switch.
  7. Click Next, and then click OK.

Related APIs

DeleteInstance