Ali cloud ECS server seamless migration across accounts

Ali cloud - migration from A to account B account the overall mirroring ECS (cloud server) through
. Creating a snapshot (system disk + data disk) and overall image in the ECS A account

  1. Click the instance ID into the details examples
    file
  2. Enter this instance disk, create a snapshot (system disk + data disk)
    file
    file
    file
  3. View the list of snapshots, snapshot creation waiting for success
    file
  4. Create a custom image from a snapshot of the system disk (overall image)
    file

Note Check the "Add data disk snapshots" and select data to be migrated instance disk
file

You can see the created custom images in the mirror list
file

Note: You can also create the overall image directly, the platform will automatically generate a disk snapshot
file
file
file

II. Cross-account shared image

  1. The overall image is set to create a good image sharing
    file

  2. Enter the B account Uid, and shared across accounts Mirror
    file
    file

You can see the image you just created in the shared image list of B's ​​account
file

B Uid account can be viewed in the B account security settings

III. B login account, create a new ECS based on the overall image

  1. Into the cloud server instance page, click on the upper right corner to create an instance
    file

  2. ECS choosing the appropriate billing, geography, and other configuration examples of specifications, sharing good overall image before a mirror at select, create ECS based on this image
    file

The size of the allocated storage will automatically follow a mirror image of the selected disk mirroring

Note: If the new ECS data disk mirroring is not in accordance with the default size of the opening, created after the ECS will be the presence of space lost. After the mirror automatically help you need to create a data disk partition deletion and overall format, repartition, have full use of all the space data disk. Before deleting partitions, migrate data in the data disk to another directory, and other data disk and partition formatting is complete, then migrate back. Therefore, in order to prevent an increase of the above-mentioned locked, it is recommended to keep the custom data disk mirror image (that is, your original ECS) data disk size setting.

file

Then configure the network, security, good ECS opened step by step, to achieve cross-account migration of ECS.
Watch Yi code at the head micro-channel public number for more dry goods

This article by the head chess code www.root1024.com exclusive release!

Guess you like

Origin www.cnblogs.com/laihuanjin/p/12506482.html