All Products
Search
Document Center

Cloud Migration Hub:Migrate resources cross Alibaba Cloud account

Last Updated:Feb 01, 2024

This topic describes how to migrate resources from a Alibaba Cloud account to another Alibaba Cloud account by using Cloud Migration Hub (CMH).

Survey resources from the source account

Log in to the source account and use the resource Collection tool of the Cloud Migration Center to collect the resources of the account to the CMH . For detailed operations, refer to:Survey Alibaba Cloud resources in online mode.

Share resources of the source account

Log in to the source account that needs to be migrated, enter the CMH product console, click Preparation->Resource List ->Shared Resources, and enter the shared resource settings page.

image

Fill out the shared resource form

Select Open Share, and fill in the account ID for receiving shared resources and click Add.

image

Authorization DTS Role Name

Please refer to Preparations and fill in the role name in the form after completing the operation.

Authorize CMH cross account migration service roles

Click Go to Configure Authorization.

image

Click on Agree to Authorization in the redirected link, and the system will create a role named AliyunAPDSCrossAccountMigrationRole in RAM to complete cross account migration business.image

Click Roles and find the role that is just created,and click its name.

image

Click Trust Policy and click Edit Trust Policy.

image

Fill in the ID of the target account before @apds.aliyuncs.com, and then click the Save trust policy document.

image

After completing all the above operations and permission configuration, return to the console of the Cloud Migration Center , click the OK , and you will see that the status of the shared resource has changed to In Shared Resource.

image

image

Target account receives shared resources

Log in to the target account, enter the CMH product console of the cloud migration center, click on Preparation ->Resource List , and you can see that the shared resources button has a subscript. Click to open the operation interface.

image

Click receive to collect the resource list of the source account to the target account after confirming that the source account ID is correct.

image

image

Create Cross Account Migration Plan

Using the target account, click Prepartion ->Migration Plan ->Create Migration Plan in the CMH console, fill out the form, select Alibaba Cloud cross-account Migration for the migration template, and then click Next.

image

After selecting the source account that needs to be migrated, the resource list will display the shared resource list of that account. Then select the resources that need to be migrated, click Next to complete the creation.

image

Create Resources

Enter the Resource Creation of CMH to create target end resources. For detailed operations, refer to:Create resources

Note

ECS and OSS require resource creation operations.

RDS, Redis, Mongo, PolarDB, Batch Mapping of Target operations is required, please refer to the documentation:Create resources

Migrating Resources

  1. ECS will directly complete the migration through mirroring during the step of creating resources.

  2. The database needs to initiate DTS migration tasks in the progress dashboard for data migration. For detailed operations, please refer to:Create a DTS task to migrate databases

  3. Currently, cross account data migration for OSS is not supported