HIGH
Source
CloudSploit
ID
encrypted-ami

Encrypted AMI

Ensures EBS-backed AMIs are configured to use encryption

AMIs with unencrypted data volumes can be used to launch unencrypted instances that place data at risk.

Follow the appropriate remediation steps below to resolve the issue.

  1. Log in to the AWS Management Console.

  2. Select the “Services” option and search for EC2. Step

  3. Scroll down the left navigation panel and choose “AMIs” under “Images”. Step

  4. Select the “AMI” that needs to be verified and under “Details” tab copy the “Snapshot ID” from the “Block Devices”.Step

  5. Scroll down the left navigation panel and choose “Snapshots” under “Elastic Block Store”.Step

  6. Click inside the “Filter by tags and attributes or search by keyword” and from the dropdown menu choose “Snapshot ID” and paste the “Snapshot ID”. Step

  7. Scroll down the “Details” tab and check “Encryption” value. If the “Encryption” value is set to “Not Encrypted” then the selected “AMI” is not encrypted.Step

  8. Repeat steps number 2 - 7 to verify other AMIs.

  9. Scroll down the left navigation panel and choose “AMIs” and select the “AMI” that needs to be encrypted.Step

  10. Click on the “Actions” button at the top and click on the “Copy AMI” option.Step

  11. In the “Copy AMI”, dialog box select the “Destination region” from the dropdown menu and click on the “Encryption” checkbox to “Encrypt target EBS snapshots” and choose the “Master Key” from the dropdown and click on the “Copy AMI” button.Step

  12. Select the new “Encrypted AMI” and click on the “Launch” button to create a new EC2 instance with encrypted “EBS volume”.Step

  13. Configure the “Instance Type”, “Configure Instance Details”, “Add Storage”, “Configure Security Group” as per the requirements and click on the “Review and Launch” button to create a new “EC2 Instance” backed by encrypted “EBS Volume”.Step

  14. Repeat steps number 9 - 13 to create an “EC2 Instance” from “Encrypted AMI”.