I have an (unencrypted) EC2 instance with an instance store root volume
Now I need to encrypt the storage on this instance
How can I do this?
From the AWS docs, I thought I should:
- generate encryption key (via IAM service)
- take snapshot of root volume
- generate an encrypted volume from the snapshot
- stop EC2 instance
- detach root EBS volume
- attach new encrypted volume at root (/dev/sda1)
- start the EC2 instance
If this is correct, my concern is with step (3).
I am not sure if I can generate an encrypted volume from a instance-store snapshot
Any help/advice is appreciated!