I want to encrypt an existing unencrypted Amazon Elastic Block Store (Amazon EBS) volume. Or, I want to change the encryption key that my existing encrypted Amazon EBS volume uses. How can I do this?
Short description
You can't encrypt existing unencrypted Amazon EBS volumes. You also can't change the AWS Key Management Service (AWS KMS) key that existing encrypted EBS volumes use. However, you can create a snapshot of the volume. Then, use the snapshot to create a new, encrypted copy of the volume. When you create the new volume, specify the encryption key that you want to use.
Resolution
Note: Amazon EBS volumes that are created from snapshots go through an initialization process. This can cause an initial performance degradation for the volume. To avoid performance degradation, use one of the two options listed in step 8.
- Open the Amazon EC2 console.
- Under Elastic Block Store, select Volumes.
- Select the volume from the list. Note the current Availability Zone of your volume.
- From the Actions dropdown list, choose Create snapshot.
- (Optional) Enter a Description for the snapshot.
- Select Create snapshot.
- Under Elastic Block Store, select Snapshots, and then select your newly created snapshot.
- (Optional) To avoid latency issues, turn on Amazon EBS fast snapshot restore on your snapshot. Or, manually initialize your Amazon EBS volume after creation.
- From the Actions dropdown list, select Create volume from snapshot.
- From the Availability Zone dropdown list, select the same Availability Zone of your current volume.
- If the source snapshot is unencrypted, then under Encryption, select Encrypt this volume.
- From the KMS key dropdown list, choose the encryption key.
- Select Create volume.
To encrypt volumes and snapshot copies by default, see How can I turn on automatic encryption of new Amazon EBS volumes and snapshot copies created in my account?
Related information
Amazon EBS encryption