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

  1. Click inside the Images dashboard to make checkboxes appear.

  2. Check the box of the image you want to delete.

    Multiselection is available.

    The image is selected and an action menu appears.

  3. Click IconTerminate Delete.
    A confirmation dialog box appears.

  4. Click Delete.
    The image is deleted.

Deleting an OMI Using Cockpit v1

  1. Click Compute > Outscale Machine Images.

  2. Click the OMI you want to delete.

    Multiselection is available.

    The OMI is selected.

  3. Click Delete .
    A confirmation dialog box appears.

  4. Click Delete to confirm the operation.

  5. 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:

Request sample
$ aws ec2 deregister-image \
    --profile YOUR_PROFILE \
    --image-id ami-12345678 \

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.