To prevent a subscription dedicated host (DDH) from being released after a missed renewal, you can enable auto-renewal. The system then automatically renews the DDH at a specified time. You can also disable this feature if it is no longer needed.
Prerequisites
The status of the subscription DDH cannot be Expired. For more information about DDH states, see Lifecycle of dedicated hosts.
Background
After you enable auto-renewal, the system automatically deducts the payment for renewal at 08:00:00 (UTC+8) on the ninth day before the DDH expires.
If you enable auto-renewal when you create a DDH, the renewal duration depends on the initial subscription period:
-
For DDHs purchased on a yearly basis, the renewal duration is one year.
-
For DDHs purchased on a monthly basis, the renewal duration is one month.
-
For DDHs purchased on a weekly basis, the renewal duration is one week.
Procedure
You can enable auto-renewal when you create a DDH. For more information, see Create a DDH. You can also enable or disable auto-renewal for an existing DDH by following these steps:
Log in to the ECS console.
In the left-side navigation pane, choose .
In the upper-left corner of the page, select a region and resource group.
-
In the Actions column of the target DDH, click Configure Renewal Settings.
-
In the Configure Renewal Settings dialog box, enable or disable auto-renewal.
-
To enable auto-renewal:
-
Turn on the Auto-renewal switch.
-
From the Renewal Duration drop-down list, select a renewal duration.
-
(Optional) To renew the DDH along with its subscription ECS instances, turn on the Renew with ECS Instance switch.
ImportantThis feature requires that auto-renewal is already enabled for the subscription ECS instances on the DDH.
-
On: The DDH renews along with its subscription ECS instances.
-
Off: The DDH does not renew with its subscription ECS instances. This is the default setting.
-
-
-
To disable auto-renewal:
Turn off the Auto-renewal switch.
-
-
Click OK.
Related documents
You can also use the following API operations to manage subscription DDH renewals:
-
RenewDedicatedHosts: Renews one or more subscription DDHs.
-
DescribeDedicatedHostAutoRenew: Queries the auto-renewal status of one or more dedicated hosts.
-
ModifyDedicatedHostAutoRenewAttribute: Enables or disables auto-renewal for one or more dedicated hosts.
> Dedicated Hosts