This topic describes how to create a subscription dedicated host in the Elastic Compute Service (ECS) console.
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- In the top navigation bar, select a region.
- On the Dedicated Hosts page, click Create DDH.
- On the page that appears, configure the following settings:
- Billing Method: Select Subscription.
- Region: Select a region and a zone where you want to create a dedicated host.
For example, to create a dedicated host in the China (Beijing) region, select China (Beijing) from the drop-down list. For more information, see Regions and zones.
- Dedicated Host Type, DDH Name, and Quantity: Select a dedicated host type, enter a dedicated host name, and then specify the number of dedicated hosts that you want to purchase.
The dedicated host type determines the instance family and the maximum number of ECS instances that you can deploy on the dedicated host. The host types g6s, c6s, and r6s allow you to customize the vCPU-to-memory ratio. This allows you to flexibly allocate computing resources when you create ECS instances. For more information, see Dedicated host types.Notice ECS instances on local SSD type i2 dedicated hosts do not support manual migration and automatic failover. If a local SSD type i2 fails, you can submit a ticket to apply for manual migration. However, the data on local SSDs will be lost after the migration.
- Optional:Add tags.
You can assign tags to dedicated hosts and manage them in groups. For more information, see Overview.
- Optional:Select a resource group.
You can separate dedicated hosts into different resource groups and configure different access permissions for these dedicated hosts. For more information, see Resource groups.
- In the DDH Settings section, set the following parameters.
Parameter Description Allow Automatic Deployment
- If you select Allow Automatic Deployment, ECS instances are automatically deployed on available dedicated hosts. For more information, see the Automatic deployment section in Features.
- If you do not select Allow Automatic Deployment, you must specify a dedicated host when you create an ECS instance.
By default, the Allow Automatic Deployment option is selected.
Automatic Instance Migration upon DDH Failure
By default, the Automatic Instance Migration upon DDH Failure option is selected. You can change this setting after the dedicated host is created. For more information, see Modify the settings of automatic instance migration for a dedicated host.Notice This option is unavailable for local SSD type i2.
- If you select Automatic Instance Migration upon DDH Failure, the ECS instances on the dedicated host are automatically migrated to a healthy dedicated host if the original dedicated host fails.
- If you do not select this option, you must submit a ticket to apply for a new dedicated host if the original dedicated host fails.
CPU Overprovisioning Ratio You can configure the CPU overprovisioning ratio only for the overprovisioned type. The CPU overprovisioning ratio affects the number of available vCPUs on a dedicated host. You can use the following formula to calculate the number of available vCPUs on a dedicated host of the overprovisioned type: Number of available vCPUs = (Number of CPU cores × 2 - Number of vCPUs that are reserved by the dedicated host) × CPU overprovisioning ratio In scenarios where high CPU stability is not required, such as development and test environments, you can increase the number of available vCPUs on a dedicated host by increasing the CPU overprovisioning ratio. This way, you can deploy more ECS instances of the same specification on the dedicated host and reduce the unit deployment cost.Notice You can set the CPU overprovisioning ratio for overprovisioned types g6s, c6s, and r6s. You cannot set the CPU overprovisioning ratio for overprovisioned type v5.
For example, the number of CPU cores on each g6s dedicated host is 52. If you set the CPU overprovisioning ratio of a g6s dedicated host to 4, the number of available vCPUs on the dedicated host is 416.
- Set the Duration parameter and select the Enable Auto-renewal option based on your business requirements.
- Read and agree to the Dedicated Host Terms of Service.
- In the lower-right corner, confirm the cost next to Total and click Preview.
- In the Preview dialog box, confirm the configurations and click Create Order.
- On the page that appears, complete the payment as prompted.