A custom image is created from a snapshot of an application server. You can create multiple application servers that have the same configurations by using a custom image that contains server configurations. You can also share a custom image to Elastic Compute Service (ECS) and use the image to create instances or replace operating systems of existing ECS instances.

Lifecycle of a custom image

After you create a custom image from a snapshot of an application server, you can share the custom image to ECS or use the custom image to create application servers. You can delete custom images that are no longer needed. The following figure shows the lifecycle of a custom image. image

Billing

Custom images are free of charge to create and use. However, you must take note of the following items:
  • When you create an application server by using a custom image, you are charged for resources related to the application server. For more information, see Pricing and How to charge for traffic.
  • When you share a custom image to ECS and use the custom image to perform operations such as creating an ECS instance, you are charged for the involved resources. For more information, see Billing overview.

Scenarios

A custom image contains data on disks of the application server from whose snapshot the custom image is created. You can deploy the website environment of an application server and create a custom image from a snapshot of the application server. The following table describes the scenarios where you can use the custom image to fulfill your business requirements.
Scenario Description
Server O&M When your business requires more servers to provide support, you can use a custom image to create multiple application servers that have the same configurations. Custom images eliminate the need to configure application servers repeatedly.
Server upgrade When your application server configurations cannot meet your business requirements or you want to use ECS instances to deploy your business, you can share custom images to ECS and use the custom images to create ECS instances or replace the operating systems of existing ECS instances. This can transfer your business from Simple Application Server to ECS.

ECS provides a variety of instance types to meet your business requirements. For more information, see Instance families and Best practices for instance type selection.

Related operations

The following table describes the operations supported by custom images of Simple Application Server.
Operation Description Reference
Create a custom image You can create a custom image to store the data of an application server. The created custom image can be shared to ECS or used to create application servers that have the same configurations. Create a custom image
Share a custom image You can share a custom image to ECS. When your application server configurations cannot meet your business requirements or you want to use ECS instances to deploy your business, you can share custom images to ECS to transfer your business from Simple Application Server to ECS. Share a custom image
Unshare a custom image You can unshare a custom image when you no longer need to share the custom image or you want to delete the custom image. Unshare a custom image
Delete a custom image You can delete custom images that are no longer needed. Delete a custom image
Use a custom image to create an application server You can use a custom image that contains server configurations to create application servers that have the same configurations. Use a custom image to create application servers