You can copy a custom image from one region to another to create simple application servers in the destination region. This simplifies the cross-region migration of simple application servers. You can also use image sharing to share the copied image with ECS and create an ECS instance from it. This enables a seamless cross-region migration from a simple application server to an ECS instance.
Prerequisites
You have created a custom image. For more information, see Create a custom image.
Background
To deploy simple application servers with identical configurations in a new region, create a custom image from a configured source instance. You can then copy this image to the destination region and use it to create new servers.
-
When you copy an image, Alibaba Cloud creates a snapshot in the destination region to generate the custom image. You cannot view this snapshot. However, be aware that the resulting snapshot and custom image count against your Alibaba Cloud account's resource quota. For more information, see Usage limits.
-
If you delete a copied custom image, you can no longer use it to reset the system of any simple application server created from it.
Procedure
-
Go to the Image page in the Simple Application Server console.
-
In the Actions column of the custom image, select .
-
In the Copy Image dialog box, complete the configuration.
The parameters are described as follows:
-
Destination Region: Select the region to which you want to copy the custom image.
-
Name: Enter a name to identify the copied custom image. For example, testcopyimage.
-
Description: The description defaults to the region and image ID of the source custom image but can be modified.
-
-
Optional: Select I have read and agree to the Cross-border Compliance Commitment Statement.
The compliance agreement is displayed only if you select a cross-border region as the Destination Region.
-
Click OK.
On the Image page, you can view the custom image in the Copying state. You need to wait for the image copy to complete.
NoteA custom image created from a copy does not contain Server Name information.
FAQ
Q: If I release the source instance after copying a custom image, will the copied image also be released?
A: No. Releasing an instance also releases its corresponding snapshots and custom images, making the data unrecoverable. We recommend that you copy the custom image to another region before you release the source instance to preserve it. Alternatively, you can migrate your data to an ECS instance. For more information, see Migrate data from a simple application server to an ECS instance.