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, complete the following configurations:
- 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 Beijing, select China (Beijing) from the drop-down list. For more information about regions and zones, see Regions and zones.
- Dedicated Host Type, DDH Name, and Quantity: Select a dedicated host type, enter a dedicated host name, and specify
the quantity of dedicated hosts that you want to purchase.
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 about dedicated host types, see Dedicated host types.Note
- The ECS instance families and the maximum number of ECS instances that can run on a dedicated host depend on the type of the dedicated host.
- ECS instances cannot be migrated between dedicated hosts whose types are local SSD.
- Optional:Add tags.
To manage dedicated hosts in groups, you can add a tag for each dedicated host. For more information about tags, see Overview.
- In the DDH Settings section, complete the following configurations.
Parameter Description Allow Automatic Deployment
- If you select Allow Automatic Deployment, the dedicated host will be available for automatic ECS instance deployment. When you create an ECS instance, the system automatically selects an available dedicated host to deploy the instance if you enable the automatic deployment feature for the instance. For more information, see Automatic deployment.
- If you clear Allow Automatic Deployment, you must specify the dedicated host to deploy ECS instances on the dedicated host. This means that you must specify the dedicated host when you create the ECS instances.
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 the setting after the dedicated host is created. For more information, see Modify the automatic instance migration configuration for a DDH.Note This option is not available for dedicated hosts with local disks, such as local SSD i2.
- If you select Automatic Instance Migration upon DDH Failure, ECS instances on the dedicated host are automatically migrated to a healthy dedicated host when failures are detected on the original dedicated host.
- If you clear Automatic Instance Migration upon DDH Failure, you must submit a ticket to request a healthy dedicated host when failures are detected on the original dedicated host. After a healthy dedicated host is allocated, you can migrate the ECS instances that run on the failed dedicated host to the healthy host.
Set UDP Session Timeout Period If you want to customize the timeout period for UDP sessions, select this option. The specified timeout period for UDP sessions is applied to all ECS instances that are created on the dedicated host.
- Select a subscription duration. Select or clear the Enable Auto-renewal option based on your business requirements.
- Read and accept the Dedicated Host Terms of Service.
- In the lower-right corner, confirm the Total cost and click Preview.
- In the Preview dialog box, confirm the configurations and click Create Order.
- On the page that appears, follow the instructions to complete the payment.