Create a host group

更新时间:
复制 MD 格式

A host group is a zone-level logical collection of dedicated hosts that helps you manage dedicated hosts and their ECS instances more efficiently.

Procedure

  1. Log in to the ECS console.

  2. In the left-side navigation pane, choose Instances & Images > icon1 > Dedicated Hosts.

  3. In the upper-left corner of the page, select a region and resource group.地域

  4. On the Host Group tab, click Create Host Group.

  5. On the Create Host Group page, configure the parameters.

    The following table describes the parameters.

    Parameter

    Description

    Zone

    Select the zone that contains the dedicated host (DDH) you want to manage. For example, Hangzhou Zone I.

    For more information about regions and zones, see Regions and zones.

    Group Name

    Enter a name for the host group.

    The name must be 2 to 128 characters long. It cannot start with http:// or https://. It must start with a letter or a Chinese character, and can contain digits, periods (.), underscores (_), colons (:), and hyphens (-).

    Description (Optional)

    Enter a description. The description must be 2 to 256 characters long and cannot start with http:// or https://.

    Tag Key (Optional)

    Tags are case-sensitive key-value pairs that help you categorize and manage host groups.

    For more information, see Tags.

    Value (Optional)

  6. Optional: Add dedicated hosts to the host group.

    • If you have already created DDHs, you can add them directly to the group.

      1. Click Add Host.

      2. In the Add Host panel, select the DDHs to add.

      3. Click Add .

    • If you have not created any DDHs, you can create them after you create the host group. For more information, see Create a dedicated host and Add a dedicated host to a host group.

  7. Click OK.

Related operations

After you create a host group, you can view its details, modify it, or delete it.

Actions

Description

View host group details

For the desired host group, click Details in the Actions column.

Delete a host group

For the desired host group, click Delete in the Actions column.

Important

You can delete a host group only if it contains no DDHs. To delete the host group, first move all its DDHs to another host group. For more information, see Modify the host group of a dedicated host.

Modify host group information

  1. For the desired host group, click Details in the Actions column.

  2. On the Host Group Information tab, click the adad56 icon next to Basic Information.

  3. In the Modify Basic Information dialog box, modify the host group's name, description, and tags.

Related documentation

You can call the CreateDedicatedHostCluster API operation to create a host group.