This rule ensures encryption is enabled for attached EBS volumes to protect sensitive data.
Rule | Attached EBS volumes should have encryption enabled |
Framework | CISA-cyber-essentials |
Severity | ✔ Medium |
Rule Description
This rule enforces the requirement that all attached EBS volumes should have encryption enabled. Encryption provides an additional layer of security by ensuring that data stored on the volumes cannot be accessed or read without the proper encryption key.
Troubleshooting Steps (if applicable)
If encryption is not enabled on an EBS volume, the following troubleshooting steps can be followed:
Necessary Codes (if applicable)
The following AWS CLI command can be used to enable encryption on an EBS volume:
aws ec2 modify-volume --volume-id <volume-id> --encrypted
Replace
<volume-id>
with the ID of the EBS volume that needs to be encrypted.Step-by-Step Guide for Remediation
To enable encryption on an attached EBS volume, follow these steps:
aws ec2 modify-volume --volume-id <volume-id> --encrypted
Replace
<volume-id>
with the Volume ID noted in step 4.
7. Wait for the command to complete and verify that the encryption status for the EBS volume has changed to "encrypted" in the AWS Management Console.By following these steps, encryption can be enabled on the attached EBS volume, thereby complying with the CISA-cyber-essentials requirement.