You can delete custom images that are no longer needed.
Before you delete a custom image, take note of the items described in the following table for different operations.
Delete a custom image
Delete a shared image
Delete an image copy
Log on to the ECS console.
In the left-side navigation pane, choose .
In the upper-left corner of the top navigation bar, select a region.
On the Custom Images tab, find the image that you want to delete and click > Delete Image in the Actions column.
You can also select one or more custom images and click Delete Image in the lower part of the tab.
In the Delete Image dialog box, delete the image as instructed.Important
When you import a custom image, a snapshot is created for the image. You can choose whether to retain the snapshot when you delete the image. Deleted snapshots can no longer be used to restore data. Proceed with caution.
You are charged for existing snapshots. To delete snapshots, go to the Snapshots page in the ECS console. For information about how to delete snapshots, see Delete a snapshot. For information about snapshot billing, see Snapshots.
Delete snapshots that were created based on the image
If you want to delete the snapshots together with the image, select Yes in the Delete Snapshots section.
Delete instances that were created based on the image
If the image has been used to create instances, you must select Forcefully Delete Image and determine whether to select Yes in the Delete Snapshots section.