Same-account migration in Alibaba Cloud

Updated at:

Prerequisites

The application to be migrated must be managed by CADT and be in a running state. This can be an application that you created in CADT, or one that you created by discovering and importing existing cloud resources into CADT.

Create a migration project

Click Migration > Alibaba Cloud Migration to create a migration project. In the new project dialog box, set the project type to Same-account Migration in Alibaba Cloud, and then select the application to migrate. In this example, the application name is Application to be Migrated. Then, click Create.

Configure the migration policy

After you create the migration project, find the new project in the list of same-account migration projects. Then, click Configure:

  • To configure the network for the target application, click Configure Policy. Set the target network information, which includes configuration items such as the destination region, VPC, and vSwitch. After you complete the configuration, you can view the information for the destination zone.

  • When you configure the target resource, select a resource configuration that is available in the destination region. The target resources may not be identical to the source resources because of differences between regions and zones.

The following example shows how to configure a migration policy for an ECS instance:

Note

ECS instances can be migrated in three ways:

  1. Image migration: This method involves creating a backup of the source ECS instance as an image, copying the image to the destination zone, and then using the image to create a new ECS instance. This ensures that no data from the source ECS instance is lost.

  2. Copy private image: If the source ECS instance was created from a private image, CADT can copy that private image to the destination zone and use it to create a new ECS instance. This method uses the same image that was used to create the source ECS instance. However, any data written to the disk after the instance was created is lost.

  3. Use another private image: You can select a different private image, copy it to the destination zone, and then use that image to create a new ECS instance.

Execute the migration

  1. After you configure all migration policies, a check mark appears on the right. Click Finish in the lower-right corner to begin the migration process.

  2. Click Start Migration. Two migration instances are immediately created.

  3. After the image migration is complete, click Next > Start Configuration. A target application is then generated.

  4. After you click Start Configuration, a target application is generated. Click Target Application to go to the application interface and deploy it.

  5. When the target application is deployed, the configuration status displays "Deployment Successful". Click Next > Finish to complete the migration task.