All Products
Search
Document Center

Dedicated Host:Associate an ECS instance with a dedicated host

Last Updated:Dec 27, 2023

You can stop an ECS instance and release its CPU and memory resources. If you want the instance to be still deployed on the original dedicated host when you restart the instance, you can associate the instance with the dedicated host in advance. This topic describes how to associate an ECS instance with a dedicated host.

Prerequisites

An ECS instance is created on a dedicated host. For more information, see Create one or more ECS instances on a dedicated host.

Procedure

  1. Log on to the ECS console.

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

  3. In the upper-left corner of the top navigation bar, select a region. 地域

  4. Find the desired instance and choose in the Actions column.

  5. In the Modify Host Deployment dialog box, select Yes from the Associate with Host: drop-down list.

    Once the ECS instance is associated with the dedicated host, if the instance is stopped with its computing resources released, the restarted instance is still deployed on the dedicated host. If the available resources of the dedicated host are insufficient, the instance fails to be restarted. For more information, see Functions and features.

  6. Click OK.

Result

In the Associate with Host column of the instance, the value is changed to Yes. To view the result, perform the following steps:

  1. In the left-side navigation pane, choose Dedicated Hosts.

  2. Find the dedicated host where the ECS instance resides and click Details in the Actions column.

  3. On the Instances tab, view the value in the Associate with Host column.

    image.png