How to encrypt AWS EBS volumes
Unencrypted EBS volumes store data in the clear, and any snapshot inherits that. Encryption by default fixes new volumes; existing ones need a migration.
Steps
- Enable account-wide default: aws ec2 enable-ebs-encryption-by-default (per region).
- For an existing volume: snapshot it, copy the snapshot with --encrypted, then create a new volume from the encrypted copy.
- Stop the instance, detach the old volume, attach the encrypted one, and start it.
How to verify
- aws ec2 get-ebs-encryption-by-default returns true.
- describe-volumes shows Encrypted=true for the migrated volume.
FAQ
- Can I encrypt a volume in place?
- No — AWS encrypts at creation. You migrate via an encrypted snapshot copy, which needs a short cutover.
Have SkyShield check this for you
SkyShield finds this across every server and cloud account and shows the fix in plain words. Free for one server, then from $49 per server a month. Start free.