You can create a custom image using an instance by selecting its disks, including the system disk and data disks, and pack them into an image. During this process, snapshots are automatically created for all disks of the instance. It is these snapshots that are then used to compose the new image.
- Before creating a custom image, ensure no confidential data is accessible on the disks being used.
- To create a custom image from snapshots, see Create a custom image from snapshots.
- During creation, do not change the status of the instance. Do not stop, start, or restart the instance.
To create a custom image, follow these steps:
Log on to the ECS console.
Click Instances on the left navigation bar.
Select your desired region.
Select the target instance, and then click More > Create Custom Image.
Enter a name and description for the image, and then click Create.
When all snapshots have been successfully created, the custom image will be ready for use.