This topic describes how to create a custom image to store the data of an application server. The created custom image can be shared to Elastic Compute Service (ECS) or used to create application servers that have the same configurations.
- The region of the custom image is the same as that of the corresponding application server.
- The maximum number of custom images that can be created is three times the number of application servers that you have created. However, the maximum number of custom images cannot exceed 15.
- You can directly create a custom image only from the system disk snapshot of an application server. If you want a custom image to contain data on the data disk of the application server, you must select a data disk snapshot when you create the custom image.
- Log on to the Simple Application Server console.
- In the left-side navigation pane, click Snapshot List.
- Find the snapshot from which you want to create a custom image and click Create a custom image in the Operation column.
- In the Create a custom image dialog box, configure the parameters.
The following table describes the parameters.
Parameter Description Snapshot name The name of the snapshot for the system disk. This parameter value is automatically generated. Custom image name The name of the custom image. The name must be 2 to 128 characters in length and cannot start with a digit or a special character. It can contain letters, digits, and the following special characters: periods (.), underscores (_), hyphens (-), and colons (:). Custom image description The description of the custom image. The description must be 2 to 256 characters in length and cannot start with
Data disk snapshot Optional. The snapshot of the data disk. If you want the custom image to contain data on the data disk, select a snapshot of the data disk from the drop-down list. If you do not select a data disk snapshot, the custom image contains only data on the system disk.
- Click OK and click Go to view.
On the Mirror List page, you can view the created custom image.