All Products
Search
Document Center

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

Last Updated:Jun 12, 2026

You can migrate an ECS instance from a shared host to a specified DDH to meet your business requirements. This process enables flexible workload migration and provides the instance with dedicated access to all physical resources of the host.

Prerequisites

  • The ECS instance that you want to migrate must meet the following requirements:

    • Only the stop and migrate method is supported. You must stop the instance first. For more information, see Stop an instance.

      Warning

      Stopping an instance interrupts your workloads. Proceed with caution.

    • The instance must be a pay-as-you-go instance and not a preemptible instance. You must first switch subscription instances to pay-as-you-go. For more information, see Switch from subscription to pay-as-you-go.

  • The destination DDH must meet the following requirements:

    • It must belong to the same account and be in the same region and availability zone as the ECS instance.
    • It must have sufficient resources to accommodate the ECS instance. To learn how to view the available resources of a DDH, see View and export DDH information.
    • The required instance families are supported. For more information, see Specifications.

      Note
      • ECS instances of local instance types cannot be migrated to DDHs with local SSDs.

      • A DDH with a custom specification can be migrated only to another DDH with a custom specification.

Billing

After you migrate an ECS instance to a DDH, you are no longer charged separately for the instance's computing resources (vCPUs and memory). Instead, these costs are included in the billing for the DDH. 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 > Instance.

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

  4. Find the ECS instance that you want to migrate. Then, in the Actions column, choose Modify Host Deployment.

  5. In the Change Host dialog box, configure the destination DDH settings.

    Parameter

    Description

    Target Host

    Select the destination DDH.

    Note

    If no DDHs in your account meet the migration requirements, this list is empty.

    Target Instance Type

    You can change the instance type during the migration. The available instance types depend on the specifications of the destination DDH.

    Associate with Host

    Specify whether to pin the ECS instance to the destination DDH.

    • Yes: Pins the instance to the destination DDH. After being stopped, the instance can only be restarted on this DDH. If the DDH has insufficient resources, the instance fails to start.

    • No: Does not pin the instance to the destination DDH. After the instance is stopped, the system first attempts to restart it on this DDH. If this DDH has insufficient resources, the system automatically places it on another DDH that allows automatic deployment.

    Migration Method

    Select Stop and Migrate. This requires the ECS instance to be in the Stopped state.

  6. Click OK.

    Refresh the Instance page to check whether the ID and name of the destination dedicated host are displayed in the Dedicated Host column.