All Products
Search
Document Center

Dedicated Host:Create ECS instances on a dedicated host

Last Updated:Jun 21, 2026

After you create a dedicated host, you can create one or more Elastic Compute Service (ECS) instances on the dedicated host so that you can exclusively use all the physical resources of the ECS instances. This topic describes how to create ECS instances on a dedicated host.

Background information

ECS supports virtual private clouds (VPCs) and the classic network. However, you can create only ECS instances that use VPCs on a dedicated host. The ECS instances on a dedicated host have different features from those on a shared host. For more information, see Differences between ECS instances on a dedicated host and those on a shared host.

Note

We recommend that you create pay-as-you-go ECS instances on a dedicated host and select a combination of billing methods to optimize your costs without compromising flexibility. For more information, see Resource billing for ECS instances on a dedicated host.

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. Find the DDH where you want to create an ECS instance and click Create Instance in the Actions column.

    Note

    This topic introduces only the key parameters for creating ECS instances. For other parameters, use the default settings. For more information, see Create ECS instances.

  5. On the Custom Launch page, create one or more ECS instances according to the following table.

    Parameter

    Description

    Example

    Dedicated Hosts

    Select the DDH. You can also configure host affinity:

    • Select Associate with Host: Instances always restart on the same DDH. If that DDH lacks resources, the instances fail to start.

    • Clear Associate with Host: Instances may restart on a different DDH in your account. Configure host affinity for an ECS instance.

    Retain the default setting.

    Billing Method

    Select a billing method for the ECS instances. Options depend on the DDH billing method. You can create Subscription or Pay-as-you-go ECS instances on a subscription DDH.

    Billing of ECS resources on a DDH.

    Important

    ICP filings are unavailable for pay-as-you-go instances.

    Pay-as-you-go

    Instance Type

    Select appropriate instance types.

    Note

    The region and zone of the ECS instances must be the same as those of the dedicated host. The available instance types depend on the type and available computing resources of the dedicated host. For more information about dedicated host types, see Dedicated host types.

    ecs.i2.xlarge

    Quantity

    Number of instances to create.

    1

    Images

    Select an appropriate image.

    For more information, see Select an image.

    Alibaba Cloud Linux 2.1903 LTS 64-bit

    System Disk and Data Disk

    Configure a system disk and data disks based on your business requirements.

    Retain the default setting.

  6. Click Next: Networking. On the Network and Security Group page, configure the parameters that are described in the following table.

    Parameter

    Description

    Example

    Network

    Alibaba Cloud provides a default VPC. To use a different one, create a VPC and vSwitch in the target region. Create a VPC with an IPv4 CIDR block.

    • VPC: ddh-vpc/vpc-bp1j4z1sr8****.

    • vSwitch: test/vsw-bp155oak33****

    Public IP Address

    • To assign a public IP address, select Assign Public IPv4 Address. Then, choose a billing method for network usage (Pay-by-traffic or Pay-by-bandwidth) and specify a bandwidth value. Public IP addresses assigned this way cannot be disassociated from the instance. Public bandwidth billing.

    • Skip this if your instance does not need internet access or if your VPC-type instance uses an Elastic IP Address (EIP) instead. EIPs can be associated or disassociated at any time.

    Keep the default setting.

    Security Group

    Alibaba Cloud provides a default security group. To use a different one, create a security group in the target region. Create a security group.

    sg-20200622/sg-bp1542zl60b5q6hx****

    ENIs

    If the selected instance type supports elastic network interfaces, you can add one and select a vSwitch.

    Note

    By default, an elastic network interface added during creation is released with the instance. You can detach it later in the ECS console or by calling the DetachNetworkInterface operation.

    test

    IPv6 Supported

    Enable IPv6 if your business requires it. For supported instance families, see Instance families.

    Keep the default setting.

  7. Click Confirm Order to review your configuration.

    Review the overall configuration and set options such as the usage duration.

    1. In the Configurations section, confirm the configuration information.

      You can click the asda icon to edit the configuration.

    2. Configure the usage duration of the instance.

      • If the billing method of the ECS instance is Subscription, you can set a subscription duration and select whether to enable Auto-renewal.

        Note

        A subscription ECS instance cannot expire later than its underlying subscription DDH.

      • If the billing method of the ECS instance is Pay-as-you-go, you can configure an Configure Automatic Release Time.

    3. Read and select ECS Terms of Service.

    4. Check the configuration fees and public network traffic fees. If correct, create the order and complete payment.

View the result

After the instance is created, click Console to go to the instance list in the ECS console. You can view information about the new instance, such as its instance ID, public IP address, and private IP address.

The status of the new ECS instance is Running.

What to do next