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.
Resolution
You can't encrypt an existing unencrypted EBS volume. You also can't change the AWS Key Management Service (AWS KMS) key that an existing encrypted EBS volumes uses. However, you can copy the existing unencrypted EBS volume with the encryption key to create a new encrypted EBS volume.
Or, create a snapshot of the volume and use the snapshot to create a new encrypted copy of the volume.
If you encrypted the snapshot, then you can change the encryption key. When you create the new volume, specify the encryption key that you want to use.
Copy an EBS volume
Complete the following steps:
- Open the Amazon Elastic Compute Cloud (Amazon EC2) console.
- In the navigation pane, choose Volumes.
- Select the unencrypted volume.
- Choose Actions and then choose Copy volume.
- For Encryption select Encrypt this volume.
- Select the KMS key dropdown list and then choose your KMS key.
- Choose Copy volume.
Create a snapshot
Complete the following steps:
-
Open the Amazon EC2 console.
-
In the navigation pane, choose Volumes.
-
Select the volume from the list and then note the Availability Zone of your volume.
-
Choose Actions and then choose Create snapshot.
-
(Optional) For Description, enter a description for the snapshot.
-
Choose Create snapshot.
-
In the navigation pane, choose Snapshots, and then select your 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.
Note: The initialization process might temporarily lower the volume's performance.
-
Choose Actions and then choose Create volume from snapshot.
-
Choose Availability Zone, and then select the same Availability Zone as your current volume.
-
If you didn't encrypt the source snapshot, then under Encryption, choose Encrypt this volume. If you encrypted the snapshot, then this option isn't available.
-
Choose KMS key, and then select the encryption key.
-
Choose Create volume.
Related information
Amazon EBS encryption
How do I turn on automatic encryption for new Amazon EBS volumes and snapshot copies created in my account?