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 with ECS. If a shared image is created based on an application image, the billing method of ECS instances created by using the shared image determines whether you are charged for 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
Go to the Image page in the Simple Application Server console.
Find the custom image that you want to share to ECS on the Custom Images tab and click Share to ECS in the Actions column.
In the Share to ECS message, click Confirm.
If the following changes occur in the Actions column, the custom image is shared:
NoteThe shared image in ECS is located in the same region as the custom image.
Share to ECS changes to Unshare the image to ECS.
Create ECS Instance is available. 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.
ImportantIf 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 Images 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.
You can also use Server Migration Center (SMC) to migrate data from a simple application server to an ECS instance. For more information, see Migrate data from a simple application server to an ECS instance.