From a resource management standpoint, FPGA-accelerated instances are considered as Elastic Compute Service (ECS) instances and are managed in the same way you manage other ECS instances. Only pay-as-you-go FPGA-accelerated instances (including preemptible instances) and expired subscription FPGA-accelerated instances can be released. This topic describes how to manually and automatically release pay-as-you-go instances.

Prerequisites

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.
Note After an instance is released, snapshots and images that were manually created from the instance are not affected.

Background information

  • Subscription instance that have not expired cannot be released. Before a subscription instance that has not expired can be released, you must convert it 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 economical mode is disabled for a pay-as-you-go instance, you continue to be charged for the instance until it is released.
  • You can enable instance release protection for a pay-as-you-go instance to prevent irreversible data loss caused by accidental release operations. For more information, see Enable or disable release protection for ECS instances.
  • If the Release Disk with Instance feature is disabled for a disk 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.

Manually release instances

You can manually release pay-as-you-go instances in the ECS console.

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Release one or more pay-as-you-go instances at a time.
    • If you want to release a single pay-as-you-go instance at a time, find the instance that you want to release and choose More > Instance Status > Release in the Actions column. Instance states
    • If you want to release one or more pay-as-you-go instances at a time, 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 then click Release below the instance list. Release settings
  5. In the Release dialog box, select Release Now.
  6. Click Next. Then, click OK.

Enable automatic release

You can enable automatic release for pay-as-you-go instances and set a time to automatically release the instances. If you set the automatic release time more than once, the most recent setting prevails.

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Configure automatic release for one or more pay-as-you-go instances at a time.
    • If you want to have a single pay-as-you-go instance automatically released at a time, find the instance that you want to release and choose More > Instance Status > Release in the Actions column.
    • If you want to have one or more pay-as-you-go instances automatically released at a time, 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 then click Release below the instance list.
  5. In the Release dialog box, select Scheduled Release.
  6. Turn on Automatic Release and specify a date and time to release the selected instances.
    Note The automatic release time must be at least 30 minutes later than the current time and accurate to the minute.
    Turn on Automatic Release
  7. Click Next. Then, click OK.

Disable automatic release

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. Disable automatic release for one or more pay-as-you-go instances at a time.
    • If you want to disable automatic release for a single pay-as-you-go instance at a time, find the instance for which you want to disable the automatic release feature and choose More > Instance Status > Release in the Actions column.
    • If you want to disable automatic release for one or more pay-as-you-go instances at a time, 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 for which you want to disable automatic release and then click Release below the instance list.
  5. In the Release dialog box, select Scheduled Release.
  6. Turn off Automatic Release.
  7. Click Next. Then, click OK.