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 users, this OMI will not be available to them anymore. Snapshots related to the OMI creation process are not deleted.

Deleting an OMI Using Cockpit

  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 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 \
    --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 Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.