More Info:

Unused AMIs should be removed to follow best practices.

Risk Level

Informational

Address

Cost Optimisation

Compliance Standards

AWSWAF

Triage and Remediation

Remediation

Sure, here are the step by step instructions to remediate the unused AMIs issue in AWS using AWS console:

  1. Login to your AWS console.
  2. Go to the EC2 dashboard.
  3. Click on the “AMIs” option from the left-hand menu.
  4. Sort the AMIs by the “Creation Date” column to identify the oldest and unused AMIs.
  5. Select the unused AMIs that you want to remove.
  6. Click on the “Actions” button and select “Deregister” from the dropdown menu.
  7. Confirm the deregistration by clicking on the “Deregister” button in the confirmation window.
  8. Once the AMI is deregistered, you can delete the associated EBS snapshots by selecting the AMI and clicking on the “Snapshots” tab.
  9. Select the associated EBS snapshot(s) and click on the “Actions” button.
  10. From the dropdown menu, select “Delete” and confirm the deletion.

By following these steps, you can remediate the unused AMIs issue in AWS and ensure that your cloud resources are optimized for cost and efficiency.

Additional Reading: