All Products
Search
Document Center

Dedicated Host:Migrate an ECS instance from a dedicated host to a shared host

Last Updated:Apr 03, 2026

When your business no longer requires exclusive host resources, move your Elastic Compute Service (ECS) instances from a Dedicated Host (DDH) to a shared host to reduce deployment costs.

After migration, billing shifts from DDH host-level charges to per-instance vCPU and memory charges.

Prerequisites

Before you begin, make sure that you have:

Warning

Stopping an ECS instance interrupts services running on it. Proceed with caution.

Limitations

ECS instances with local SSDs cannot be migrated from a dedicated host to a shared host.

Billing

After migration, you are billed for vCPUs and memory. These costs are no longer included in DDH bills. Make sure your account has enough balance. For details, see Pay-as-you-go.

Migrate an instance to a shared host

  1. Log on to the ECS console.

  2. Log on to the ECS console.

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

  4. In the top navigation bar, select the region and resource group. 地域

  5. On the Hosts page, find the dedicated host that contains the instance you want to migrate, then click Details in the Actions column.

    detail-info

  6. Find the ECS instance, then click Change Host in the Actions column.

    modify-ddh

  7. In the Change Host dialog box, set the following parameters.

    Parameter Description
    Destination Host Select Shared Host.
    Target Instance Type Enter a destination instance type, such as ecs.g6.large. The destination type must be supported as a change from the source type (see Instance families that support instance type changes) and must be available in the zone where the dedicated host resides. For a full list of instance types, see Overview of instance families.
    Migration Method The only valid value is Stop and Migrate. The instance must be in the Stopped state.

    DDH迁移至共享宿主机

  8. Click OK. After migration completes, the instance automatically starts and enters the Running state.

Verify the migration

To confirm the instance is running on a shared host:

  1. In the ECS console, go to the Instances page.

  2. In the upper-right corner of the page, click the display-config icon.

    config-icon

  3. Select Dedicated Host, then click OK.

  4. In the Dedicated Host column, check the value for your instance:

    • If a dedicated host ID and name are shown, the instance is still on a dedicated host.

    • If - is shown, the instance is on a shared host.

    host-column

What's next