๐ก๏ธ AWS EBS Attached Volume is not encrypted๐ข
- Contextual name: ๐ก๏ธ EBS Attached Volume is not encrypted๐ข
- ID:
/ce/ca/aws/ec2/ebs-volume-encryption - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Statsโ
not available
Logicโ
- ๐ง prod.logic.yaml๐ข
- ๐ AWS EBS Volume
- ๐ AWS EBS Volume - object.extracts.yaml
- ๐งช test-data.json
Similar Policiesโ
- AWS Security Hub: [EC2.3] Attached Amazon EBS volumes should be encrypted at-rest
- Internal:
dec-x-5590c1d5
Similar Internal Rulesโ
| Rule | Policies | Flags |
|---|---|---|
| โ๏ธ dec-x-5590c1d5 | 1 |
Descriptionโ
Descriptionโ
Ensure that all attached AWS EBS volumes are encrypted at rest using AWS-managed or customer-managed keys. Encryption provides a critical layer of data protection and should be enforced for all in-use volumes.
Rationaleโ
Encrypting EBS volumes at rest helps safeguard sensitive data from unauthorized access in the event of physical compromise or internal misuse. Enforcing encryption for all attached volumes ensures that data is protected during operation and aligns with security best practices and compliance requirements.
Auditโ
This policy flags an AWS EBS Volume as
INCOMPLIANTif theEncryptedcheckbox is set to false and the Volume is currently attached to an EC2 instance.Volumes that are not attached to any instance are marked as
INAPPLICABLE.
Remediationโ
Remediationโ
AWS EBS does not support in-place encryption of existing unencrypted volumes. To encrypt an unencrypted volume, you must create a snapshot of the volume and then use that snapshot to create a new encrypted volume.
Optionally, you can enable encryption by default to ensure that all future EBS volumes are automatically encrypted, including those created from unencrypted snapshots.
From Command Lineโ
Enable Default Encryptionโ
This ensures that all new volumes created in the specified region are encrypted by default:
aws ec2 enable-ebs-encryption-by-default --region {{region}}Create a Snapshot of the Unencrypted Volumeโ
aws ec2 create-snapshot \
--volume-id {{volume-id}} \
--description "{{Snapshot description}}"Wait until the snapshot status is
completedbefore proceeding.Create a New Encrypted Volume from the Snapshotโ
aws ec2 create-volume \
--snapshot-id {{snapshot-id}} \
--availability-zone {{availability-zone}} \
--encrypted