This document describes how to migrate your instance and data in an offline manner.
Overview
Supported by Tencent Cloud Service Migration (CSM), the service migration feature lets you migrate operating systems, applications, and application data from a source server to a Cloud Virtual Machine (CVM) instance or Cloud Block Storage (CBS) instance. It helps meet enterprise needs for cloudification, cross-cloud migration, cross-account or cross-region migration, and hybrid cloud deployment.
Service migration provides offline migration and online migration. Offline migration includes:
Migration to CVM allows you to migrate a system disk image (or both system disk image and data disk image if necessary) to a specific CVM instance. Migration to CBS allows you to migrate a data disk image to a specific cloud disk. Precautions
Activate Tencent Cloud Cloud Object Storage (COS) and make sure COS is available in your region.
For information on regions currently supported by COS, see Regions and Access Endpoints. Considerations
Note:
Supported image formats: QCOW2, VHD, VMDK, and RAW. We recommend using the compressed image format to shorten the transmission and migration time.
The image to upload must be stored in the COS bucket in the same region as of the destination CVM instance. In addition, the COS bucket must allow public read access.
If you need to import both the system disk image and data disk images, a corresponding number of data disks must be mounted to the target instance.
The capacity of the target disk should be greater than (as recommended) or equal to that of the source disk.
Snapshot files (such as *-00000*.vmdk) are not supported.
Create an image of the source server.
Upload the created image to COS.
Because images are large in size, upload using the browser may fail. We recommend using the COSCMD tool to upload images. For more information, see COSCMD. If images exported from other cloud platforms are compressed packages (such as .tar.gz files), you can upload them directly to COS.
Obtain the COS address of the uploaded image.
Go to the COS console, locate the image file you just uploaded and copy the temporary URL on the image file details page. Prepare the destination CVM or CBS instance.
Directions
2. Click Migrate to CVM on the Offline migration page.
3. In the “Migrate to CVM” pop-up window, complete the preparation, and click Next.
4. Select the region and enter the task name, COS link and the CVM instance to migrate to.
5. Click Complete.
During the migration, you can quit or close the Service Migration page. You can also return to this page anytime to check the migration progress. 2. Click Migrate to CBS on the Offline migration page.
3. In the Migrate to CBS pop-up window, complete the preparation, and click Next.
4. Select the region and enter the task name, COS link and the destination CBS instance.
5. Click Complete.
During the migration, you can quit or close the Service Migration page. You can also return to this page anytime to check the migration progress. FAQs
Was this page helpful?