Deleting an OMI
You can delete an OUTSCALE machine image (OMI) that you created at any time if you no longer need it.
If you share this OMI with other accounts, this OMI will not be available to them anymore. Snapshots related to the OMI creation process are not deleted.
Deleting an Image Using Cockpit v2
-
Click inside the Images dashboard to make checkboxes appear.
-
Check the box of the image you want to delete.
Multiselection is available.
The image is selected and an action menu appears.
-
Click
Delete.
A confirmation dialog box appears. -
Click Delete.
The image is deleted.
Deleting an OMI Using Cockpit v1
-
Click Compute > Outscale Machine Images.
-
Click the OMI you want to delete.
Multiselection is available.
The OMI is selected.
-
Click Delete .
A confirmation dialog box appears. -
Click Delete to confirm the operation.
-
The selected OMI is deleted and no longer appears on the Outscale Machine Images page.
Deleting an OMI Using OSC CLI
See the DeleteImage command sample in the documentation of the OUTSCALE API. |
Deleting an OMI Using AWS CLI
To delete an OMI, use the deregister-image command following this syntax:
$ aws ec2 deregister-image \
--profile YOUR_PROFILE \
--image-id ami-12345678 \
--endpoint https://fcu.eu-west-2.outscale.com
This command contains the following attributes that you need to specify:
-
(optional)
profile
: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI. -
image-id
: The ID of the OMI you want to delete. -
endpoint
: The endpoint corresponding to the Region you want to send the request to.
The OMI is deleted.
Related Pages
Corresponding API Methods
AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.