All Products
Search
Document Center

Dedicated Host:Release a pay-as-you-go dedicated host

Last Updated:Jan 22, 2025

You are billed for pay-as-you-go dedicated hosts based on the actual usage duration. Billing starts when a dedicated host is created and ends when the dedicated host is released or stopped due to overdue payments. If you no longer need a dedicated host, we recommend that you release it to prevent unwanted charges. This topic describes how to manually release a pay-as-you-go dedicated host and how to configure automatic release.

Usage notes

  • When you release a pay-as-you-go dedicated host, all Elastic Compute Service (ECS) instances on the dedicated host are released at the same time. Therefore, make sure that you no longer need these ECS instances before you release it.

  • Subscription dedicated hosts cannot be released before they expire. If your host has not expired but you no longer need it, you can submit a ticket to request a refund.

Manually release a pay-as-you-go dedicated host

If you no longer need a pay-as-you-go dedicated host, manually release it in a timely manner to prevent unwanted charges.

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Instances & Images > icon1 > Dedicated Hosts.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. Select the pay-as-you-go dedicated host that you want to release, move the pointer over 更多 next to Renew, and then select Release from the drop-down list.

  5. In the Release dialog box, select Instant Release.sad56

  6. Click OK.

Configure automatic release for a pay-as-you-go dedicated host

To optimize costs, you can configure automatic release for pay-as-you-go dedicated hosts that are no longer in use during off-peak hours.

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Instances & Images > icon1 > Dedicated Hosts.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. Select the pay-as-you-go dedicated host that you want to release, move the pointer over 更多 next to Renew, and then select Release from the drop-down list.

  5. In the Release dialog box, set the parameters.asdad55

    The following table describes the parameters.

    Parameter

    Description

    Release Mode

    Select Scheduled Release.

    Auto-release

    Click dasda to enable or disable automatic release.

    • asdad: enables automatic release. You can customize the release date and time.

    • dasda: disables automatic release.

    Release Date

    Specify a release date. The default value is the current date.

    Note

    You can specify a release date only when auto-release is enabled.

    Release Time

    Specify a release time. The default time is 1 hour after the current time.

    Note
    • You can specify a release time only when Auto-release is enabled.

    • The release time must be 30 minutes after the current time.

  6. Click OK.

References

  • For information about dedicated host billing, see Dedicated host billing.

  • After you purchase a dedicated host or an ECS instance, you can view the resource usage and bills. For more information, see View your bills.

  • You can call API operations to manage the release of pay-as-you-go dedicated hosts. The API operations are as follows: