To meet your business requirements for flexible deployment, you can migrate ECS instances from a shared cloud hosting server to a DDH under your account.

Prerequisites

Before migrating an ECS instance from a shared cloud hosting server to a DDH, make sure the following:

  • You have at least one DDH that can run the instance of the specified type. For more information, see create a DDH.
  • The destination DDH has sufficient available resources for the ECS instance. For more information, see view resources on a DDH.
  • The billing method of the ECS instance is supported.

Background information

Before you migrate an ECS instance from a shared cloud hosting server to a DDH, consider the following:

  • The ECS instance and the destination DDH must be owned by one account and in the same region and zone. Besides, the ECS instance type must be eligible on the DDH. For more information, see dedicated host types.
    Note ECS instances with local SSD disks cannot be migrated.
  • The ECS instance must be in the Stopped status.
    Note An ECS instance must be in the Stopped status when migrating. Stopping an ECS instance may interrupt your business operations. Proceed with caution.
  • The billing method of the ECS instance depends on the billing method of the destination DDH:

    Subscription On a Subscription DDH, both Subscription and Pay-As-You-Go ECS instances can run. The Subscription ECS instance to be migrated must expire earlier than the destination DDH.

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, click Instances.
  3. Select a region.
  4. Optional: In the upper-right corner of the instance list, click the Set Display Items icon, and on the dialog box, click Dedicated Host, and then click OK.
    You can view the Dedicated Host column in the table, which helps you locate the host that an ECS instance is hosted on.
  5. Find an ECS instance, and in the Actions column, select More > Stop, to stop the instance.
  6. When the instance is in the Stopped status, in the Actions column, select More > Modify DDH Deployment.
  7. On the dialog box, select a DDH and click OK.

Result

Refresh the instance list until the Dedicated Host information is updated. The instance starts automatically. Finally It is in the Running status.