Help Center/ Server Migration Service/ FAQs/ Migration Network/ How Do I Prepare a Target Server Before the Migration?
Updated on 2023-06-09 GMT+08:00

How Do I Prepare a Target Server Before the Migration?

If you want to use an existing ECS as the target server, make the following preparations:

  1. Make sure the ECS meets the requirements described in How Do I Select a Target Server?.
  2. Connect the source server to the ECS using an EIP or VPN or Direct Connect connection.
  3. Correctly configure the security group associated with the ECS.

    If the ECS runs Windows, enable TCP ports 8899, 8900, and 22. If the target ECS runs Linux, enable TCP port 22 for a file-level migration or ports 8900 and 22 for a block-level migration.

    For details about how to configure security group rules, see How Do I Configure Security Group Rules for Target Servers?

    If you indeed use the ECS as the target server, do not perform any operations on the ECS during the migration, such as stopping or restarting the ECS, attaching or detaching a disk, or changing the password, or the migration will fail.