All Products
Search
Document Center

Simple Application Server:Create a custom image

Last Updated:Jan 24, 2024

This topic describes how to create a custom image to store the data of a simple application server. The custom image can be shared with Elastic Compute Service (ECS) or used to create simple application servers that have the same configurations.

Prerequisites

A system disk snapshot of a simple application server is created. For more information, see Manage snapshots.

Note

If you need the data on the data disk of a simple application server when you create a custom image, create a snapshot for the data disk first.

Background information

When you create a custom image, take note of the following items:

  • The custom image and the source simple application server must reside in the same region.

  • The maximum number of custom images that can be retained in an Alibaba Cloud account is triple the number of simple application servers that you maintain in the account. The number of custom images cannot be greater than 15.

  • You can directly create a custom image only based on the system disk snapshot of a simple application server. If you want a custom image to contain the data on the data disk of the simple application server, you must select a data disk snapshot when you create the custom image.

  • If a simple application server is released due to expiration or refunds, the custom images that are created based on a snapshot of the server are also released.

  • If you reset a simple application sever by changing the OS or image of the server, the disk data on the server is deleted. Back up your data before you change the OS or image of a server.

Procedure

  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Snapshots.

  3. Find the system disk snapshot that you want to use to create a custom image and click Create Custom Image in the Actions column.

  4. In the Create a custom image dialog box, configure parameters based on your business requirements.

    The following table describes the parameters.

    Parameter

    Description

    Snapshot Name

    The name of the system disk snapshot. This parameter value is automatically generated.

    Custom Image Name

    The name of the custom image. The name is 2 to 128 characters in length and can contain special characteristics periods (.), underscores (_), hyphens (-), and colons (:). The name cannot start with a special character or a digit.

    Custom Image Description

    The description of the custom image. The description is 2 to 256 characters in length and cannot start with http:// or https://.

    Data Disk Snapshot

    The snapshot of the data disk. This parameter is optional. If you want the custom image to contain the data on the data disk, select a data disk snapshot from the drop-down list. Otherwise, the custom image contains only the data on the system disk.

  5. Click OK, and then click Go to View.

    On the Image page, you can view the custom image that you created.

What to do next

You can perform the following operations after the custom image is created: