# Migrating ECSs

#### Scenarios

ECSs can be migrated between DeHs or between a DeH and a public resource pool.

- An ECS created on a DeH can be migrated to another DeH.
- An ECS created on a DeH can be migrated to a public resource pool.
- An ECS deployed in a public resource pool can be migrated to a DeH.

  Operations in this scenario need to be performed on the ECS console. For details, see Migrating an ECS in the Elastic Cloud Server User Guide.

#### Notes

Only a stopped ECS can be migrated.

#### Procedure

1. Log in to the management console.
2. Click in the upper left corner and select the desired region and project.
3. Under Computing, click Dedicated Host.

   The Dedicated Host page is displayed.

4. Click the name of the target DeH.

   The DeH details page is displayed.

5. On the ECSs on the DeH tab, query the status of the ECS to be migrated.
6. Only a stopped ECS can be migrated. If the ECS is not stopped, click More and select Stop in the Operation column.
7. After the ECS status changes to Stopped, click More and select Migrate ECS in the Operation column.
8. On the Migrate ECS page, select the destination where you would like to migrate the ECS.
   - If you want to migrate the ECS to another DeH, set Migrated to To another DeH.
   - If you want to migrate the ECS from a DeH to a public resource pool, set Migrated to Out of DeH.
9. Click OK.

   The ECS status changes from Resizing to Stopped during ECS migration.

Parent topic: ECS Management