Create a custom image by using an instance

Last Updated: Dec 29, 2017

You can create a custom image using an ECS instance, namely, you fully copy all its disks and pack them into an image.

During this process, snapshots are automatically created for all disks of the instance, including the system disk and data disks. All the created snapshots compose a new custom image. See the following picture.


In addition, you can create a custom image based on the snapshot, see Create a custom image using a snapshot for instruction.


  • To prevent the data privacy breach, make sure you delete all the confidential data in the ECS instance before creating a custom image.
  • During creation, do not change the status of the instance. Do not stop, start, or restart the instance.
  • If your custom image contains the data on the data disk, new data disk along with the ECS instance are created together. The data on the data disk duplicates the data disk snapshot in your custom image according to the mount device.
  • You can export custom images that contain data of data disks.
  • You cannot use a custom image which contains the data on the data disk to replace the system disk.


See the following steps to create a custom image.

  1. Log on to the ECS console.
  2. Click Instances on the left-side navigation pane.
  3. Select a region.
  4. Select an instance, and then choose More > Create Custom Image.
  5. Enter the name and description.
  6. Click Create.

Follow-up operation

After creating the custom image, you may want to Create an instance using a custom image.

Thank you! We've received your feedback.