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.

Prerequisites

A system disk snapshot of an application server is created. For more information, see Snapshots.
Note If you need data on the data disk of an application server when you create a custom image, create a snapshot for the data disk first.

Background information

Before you create a custom image, take note of the following items:
  • 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.

Procedure

  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Snapshot List.
  3. Find the snapshot from which you want to create a custom image and click Create a custom image in the Operation column.
  4. 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 http:// or https://.
    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.
  5. Click OK and click Go to view.
    On the Mirror List page, you can view the created custom image.

What to do next

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