All Products
Search
Document Center

Simple Application Server:Share a custom image

Last Updated:Apr 07, 2024

This topic describes how to share a custom image to Elastic Compute Service (ECS). If the configurations of your simple application server cannot meet your business requirements, or you want to use ECS instances to deploy your business, you can share a custom image to ECS to transfer your business from Simple Application Server to ECS.

Prerequisites

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

Billing

You can share a custom image created in Simple Application Server to ECS. If a shared image is created from an application image, whether you are charged for using the shared image depends on the billing method of ECS instances created by using the shared image.

  • If you use a shared image to create subscription ECS instances, you are charged for using the shared image.

  • If you use a shared image to create pay-as-you-go ECS instances, you are not charged for using the shared image.

For more information, see Billable items.

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 share to ECS and click Share to ECS in the Actions column.

  4. In the Share to ECS message, click Confirm.

    If the following changes occur in the Actions column, the custom image is shared:

    Note

    You can share a custom image to ECS only when ECS is activated in the same region as Simple Application Server.

    • Share to ECS changes to Unshare the image to ECS.

    • Create ECS Instance appears. You can click Create ECS instance to create ECS instances with efficiency.

References

  • After you share a custom image to ECS, you can use one of the following methods to create ECS instances:

    • (Recommended) In the ECS console, copy the shared custom image and use the copied image to create ECS instances or replace operating systems of existing ECS instances. For more information, see Copy an image shared by Simple Application Server in the ECS console.

      Important

      If a simple application server is released due to expiration, the snapshots and custom images that are created based on the server are also released. To prevent shared images from being removed because the corresponding custom images are released or unshared, we recommend that you copy the shared images and store them in ECS.

    • On the Image page, find the shared image and click Create ECS Instance in the Actions column. For more information, see Create an ECS instance by using a custom image.