All Products
Search
Document Center

Simple Application Server:Copy a custom image

Last Updated:Dec 11, 2024

You can copy a custom image from one region to another region and use the copy of the custom image to create simple application servers in the destination region. This implements seamless migration of simple application servers across regions. You can also use the image sharing feature to share the copy of the custom image to Elastic Compute Service (ECS). Then, you can use the shared image copy to create ECS instances. This way, you can seamlessly migrate data from simple application servers to ECS instances across regions. This topic describes how to copy a custom image of a simple application server.

Prerequisites

A custom image is created. For more information, see Create a custom image.

Background information

If you want to create a simple application server that has the same configurations as an existing simple application server in a different region, you can use the image copy feature. After you create a custom image based on an existing simple application server, you can copy the custom image from the current region to another region. Then, you can use the image copy to create simple application servers that have the same configurations as the existing one in the destination region.

Important
  • When you copy a custom image, Alibaba Cloud creates a snapshot of the source image in the destination region. You cannot check the snapshot. What you need to pay attention to is that the snapshot and custom image copy occupy the resource quota within your Alibaba Cloud account. For more information, see Limits on other resources.

  • If the custom image copy is deleted, you cannot reset the simple application servers that are created based on the custom image copy.

Procedure

  1. Log on to the Simple Application Server console.

  2. In the left-side navigation pane, click Image.

  3. Find the custom image that you want to copy on the Custom Images tab. In the Actions column that corresponds to the custom image, choose image.png > Copy Image.

  4. In the Copy Image dialog box, configure parameters.

    Parameter description:

    • Destination Region: Select a destination region to which you want to copy the custom image.

    • Name of the custom image: Enter a name for the custom image copy for identification. Example: testcopyimage.

    • Description: Enter a description for the custom image copy. The default description contains the ID and region of the source custom image. You can modify the description.

  5. (Optional) Select I understand and agreed to the preceding compliance commitments.

    The compliance warranty regarding cross-border data transfer is displayed only if you select a cross-border region for the Destination Region parameter.

  6. Click Confirm.

    You can view the information of the custom image in the Copying state on the Image page. Wait until the image copy task is complete.

    Note

    The Image Source column that corresponds to the custom image copy in the destination region is empty. No server name is displayed to indicate the source server of the custom image copy.

FAQ

Q: Will the custom image copy be released together with the source simple application server?

A: No, the custom image copy will not be released together with the source simple application server. If you release a simple application server, the snapshot and custom image that are created based on the server are also released. The data cannot be restored. We recommend that you copy custom images to another region before you release a simple application server in case you want to use the custom image later. You can also share the custom image to ECS. For more information, see Migrate data from a simple application server to an ECS instance.