You can copy a custom image from one region to another to create simple application servers with the same configurations in a different region. You can also share the copy of the custom image with Elastic Compute Service (ECS) to create ECS instances, enabling cross-region migration from Simple Application Server to ECS.
Scenarios
Cross-region deployment: Deploy simple application servers with identical configurations in a new region.
Data backup: Copy custom images to another region as a disaster recovery measure.
Migration to ECS: Copy a custom image to the destination region, then share it with ECS to create ECS instances.
Prerequisites
A custom image is created. For more information, see Create a custom image.
Considerations
When you copy a custom image, a snapshot of the source image is created in the destination region. The snapshot is not visible on the console. Both the snapshot and the copy of the custom image count toward the resource quota of your Alibaba Cloud account. For more information, see Limits on other resources.
If you delete the copy of a custom image, you can no longer reset the simple application servers that were created from it.
Only one image copy task can be performed in a region at a time.
Procedure
Go to the Image page in the Simple Application Server console.
On the Custom Images tab, find the custom image that you want to copy. In the Actions column, click Copy Image.
In the Copy Image dialog box, configure the following parameters.
Parameter
Description
Destination Region
The region to which you want to copy the custom image.
Name of the custom image
A name for the copy of the custom image. The name must be 2 to 50 characters in length, start with a letter, and can contain underscores (\_) and hyphens (-). Example: testcopyimage.
Description
A description for the copy. By default, the description contains the ID and region of the source custom image. You can modify the description. The description must be 2 to 256 characters in length and cannot start with
http://orhttps://.Tag
Optional. Add tags to the copy of the custom image for identification and management.
(Optional) Select I understand and agreed to the preceding compliance commitments.
NoteThe compliance warranty regarding cross-border data transfer is displayed only if you select a cross-border region for the Destination Region parameter.
Click Confirm.
Verify the result
After you submit the copy request, go to the Image page and switch to the destination region. The image is in the Replicating state while the copy is in progress. Wait until the copy is complete.
The Image Source column for the copy of the custom image in the destination region is empty. No server name is displayed to indicate the source server.
FAQ
Q: Will the copy of a custom image be released together with the source simple application server?
A: No, the copy of a custom image will not be released together with the source simple application server. However, if you release a simple application server, the snapshot and custom image that were created based on that server are released and cannot be restored. We recommend that you copy custom images to another region before you release a simple application server. You can also share the custom image with ECS. For more information, see Migrate data from a simple application server to an ECS instance.
What to do next
Share the copy of the custom image with ECS and create ECS instances from it. For more information, see Migrate data from a simple application server to an ECS instance.