This topic describes how to create a subscription dedicated host in the Elastic Compute Service (ECS) console.

Prerequisites

Background information

The following video demonstrates how to create a dedicated host. For more information, see the Procedure section.

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Dedicated Hosts.
  3. In the top navigation bar, select a region.
  4. On the Dedicated Hosts page, click Create DDH.
  5. On the page that appears, complete the following configurations:
    1. Billing Method: Select Subscription.
    2. 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.
    3. 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.
    4. 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.
    5. 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
      • 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.
      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.
      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.
    6. Select a subscription duration. Select or clear the Enable Auto-renewal option based on your business requirements.
    7. Read and accept the Dedicated Host Terms of Service.
    8. In the lower-right corner, confirm the Total cost and click Preview.
  6. In the Preview dialog box, confirm the configurations and click Create Order.
  7. On the page that appears, follow the instructions to complete the payment.

Result

You can view the created dedicated host on the Dedicated Hosts page. A few minutes are required to create a dedicated host. We recommend that you wait for a while and refresh the page to view the created dedicated host. When the dedicated host is in the Running state, you can start to use the dedicated host.

What to do next

You can perform the following operations: