AWS Encrypt Root Volumes
We might have used and launched root volumes as part of EC2/EMR for umpteen times in our devops lifecycle. Until few weeks back, I have been encrypting in conventional way as below
- Create basic EC2 with required root volume size
- Created snapshot from the root volume, of the launched EC2
- Copy snapshot with an encryption key
- Use this newly copied snapshot, going forward
- Or, create an AMI with encrypted root volume, by selecting the just encrypted & created snapshot and use them ahead
Hooooooooooo, lots of work isnt it? I agree :-). It is not about creating AMI or using the encrypted volumes, but it is about doing the clean up of snapshots that were created as above
Let us come out of these head ache, which is basically a workaround and get into the most exciting part of making 'Root Volumes Encyrpted by default' . Yayyyyyyyyyyyy, How cool is that? Let us see how !!
- Login to AWS account
- Go to EC2
- Top right corner, 'Account Attributes' click on 'Settings'
Thats it !! New EC2 launched will have root volumes encrypted from on !!
Happy EC2 folks !!!