Migrating HUAWEI CLOUD ECSs from Multiple Accounts to a Single Account
Overview
Server Migration Service (SMS) can help you migrate Elastic Cloud Servers (ECSs) in the same or different regions in multiple HUAWEI CLOUD accounts to a single account for resource integration quickly.
Procedure
- Obtain the AK/SK pair of the HUAWEI CLOUD account you migrate to.
- If you use an account for migration, see How Do I Create an AK/SK Pair for an Account?
- If you use an IAM user under this account for migration, you need to assign the required permissions to the IAM user and create an AK/SK pair for the IAM user. For details, see How Do I Create an AK/SK Pair for an IAM User?
- Install the Agent on a source ECS. For details, see How Do I Install the Agent on Source Servers?
- Double-click SMS-Agent and enter the AK/SK pair obtained in 1 to start the Agent.
After the Agent is started successfully, it automatically reports information about the source server to SMS. SMS automatically checks whether the source server can be migrated.
- After the Agent is started, log in to the SMS console using the account you migrate to. In the server list on the Servers page, view information about the source ECS.
- Create a migration task for the source ECS. For details, see Configuring the Target Server, Starting a Full Replication, and Launching the Target Server.
If the source and target ECSs are in the same VPC on HUAWEI CLOUD, you can select Direct Connect or VPN for Network Type. During the migration, the private IP address of the target ECS is used to establish a connection with the source server. You do not need to configure an EIP for the target ECS. After the migration is complete, you can log in to the target ECS using the username and password of the source ECS
- If the source and target ECSs are in the same account and region, but in different VPCs, you need to create a peering connection between the VPCs and set Network Type to Direct Connect or VPN. For more information, see Creating a Peering Connection Between Two VPCs in One Account.
- If the source and target ECSs are in the same region, but in different accounts and in different VPCs, you need to create a peering connection between the VPCs and set Network Type to Direct Connect or VPN. For more information, see Creating a VPC Peering Connection with a VPC in Another Account.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.