Delete image
Delete image
Your own image you can:
- delete from the image repository — the image will be completely deleted and will cease to be paid for;
- or disable access to it in a project, if the image has been configured for access between projects.
Delete image from storage
carefully
Once deleted, the image cannot be restored. If you have configured access to the image between projects, the image will be deleted in all projects.
Control panel
OpenStack CLI
- In the Control panel, on the top menu, click Products and select Cloud Servers.
- Go to the Images section.
- If you have configured access to the image between projects, open the projects menu (name of the current project) and select the source project where the image was originally loaded.
- From the menu of the image, select Delete Image.
- Enter the name of the image to confirm the deletion.
- Click Delete.
-
Delete the image:
openstack image delete <image>
Specify
<image>
— image ID or name. The list can be viewed withopenstack image list --private
Disable image access in the project
If you have configured access to the image between projects, you can disable access to it in the destination project. Once disabled, the image will be available in the source project and will not be deleted from the image store. Storing the image in the source project will continue to be charged using the cloud platform payment model.
- In the dashboard, on the top menu, click Products and select Cloud Servers.
- Go to the Images section.
- Open the projects menu (name of the current project) and select the destination project for which image access has been configured.
- From the menu of the image, select Discard.