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

Prerequisites

An Alibaba Cloud account is created and the required account information is provided. For more information, see Before you begin.

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, configure the following parameters.
    Parameter Description Example
    Billing Method Select Subscription.

    For more information, see Billing overview.

    Subscription
    Region The region and zone where you want to create a dedicated host.

    For more information, see Regions and zones.

    China (Beijing)
    Dedicated Host Type The dedicated host type determines the instance family and the maximum number of ECS instances that you can deploy on the dedicated host. You can customize the vCPU-to-memory ratio for the host types g6s, c6s, and r6s. 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 or automatic failover. If a local SSD dedicated hosts fails, you can submit a ticket to apply for manual migration. However, the data in the local disk is lost after manual migration.
    Local SSD Type i2
    DDH Name The name of the dedicated host. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), colons (:), and hyphens (-). It must start with a letter. DDH-test
    Quantity The number of dedicated hosts that you want to purchase. 1
    Tags Each tag consists of a case-sensitive key-value pair. You can attach tags to dedicated hosts and manage dedicated hosts in groups.

    For more information, see Overview.

    Default
    Resource Group Resource groups are used to group your resources by usage, permission, and region, so that you can manage the resources in a hierarchical manner by user and project. You can add the dedicated host to a resource group.

    For more information, see Resource groups.

    Default
    DDH Settings The features in this section are available only to some dedicated host types. The actual features on the DDH console shall prevail.
    • Allow Automatic Deployment:
      • If you select Allow Automatic Deployment, ECS instances are automatically deployed on available dedicated hosts. For more information, see Features.
      • If you do not select Allow Automatic Deployment, you must specify a dedicated host when you create an ECS instance.

      By default, Allow Automatic Deployment is turn on.

    • Automatic Instance Migration upon DDH Failure:
      • 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 current dedicated host fails.
      • If you do not select this option, you must submit a ticket to apply for a new dedicated host.
      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 Configure auto failover.
      Notice The feature is unavailable for local SSD type i2.
    • 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 deployment cost.

      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.

      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.
    Default
    Duration Select a subscription duration based on your business requirements. 1 Month
    Auto-renewal Specify whether to enable auto-renewal based on your needs.
    • Weekly subscription: The auto-renewal period is one week.
    • Monthly subscription: The auto-renewal period is one month.
    • Yearly subscription: The auto-renewal period is one year.
    Turned off
    Terms of Service Read and select Dedicated Host Terms of Service. Select Dedicated Host Terms of Service
  6. Click Preview.
  7. In the Preview dialog box, confirm the configurations and click Create Order.
  8. Complete the payment as prompted.

Result

You can view the created dedicated host on the Dedicated Hosts page. If the dedicated host enters the Running state, it can be used as expected. If the created dedicated host does not appear on the Dedicated Hosts page, wait for a while and refresh the page. asda