How can I turn on automatic encryption of new Amazon EBS volumes and snapshot copies created in my account?

2 minute read
0

I'm manually encrypting new Amazon Elastic Block Storage (Amazon EBS) volumes that I create. But, I want to automatically encrypt new Amazon EBS volumes and snapshot copies.

Short description

Newly created Amazon EBS volumes aren't encrypted by default. However, you can turn on default encryption for new EBS volumes and snapshot copies that are created within a specified Region. To turn on encryption by default, use the Amazon Elastic Compute Cloud (Amazon EC2) console.

Before you turn on encryption by default, consider the following points:

  • Encryption by default is a Region-specific setting. After you turn on encryption for a Region, you can't turn it off for individual volumes or snapshots in that Region.
  • After you turn on encryption by default, you can launch an instance only if the instance type supports Amazon EBS encryption.
  • Turning on encryption by default doesn't change any existing unencrypted or encrypted resources. It encrypts only volumes and snapshot copies that you create after turning on default encryption.
  • If default encryption is turned on, and you’re experiencing delta replication failures when migrating services using AWS Server Migration Service, then turn off default encryption. For lift-and-shift migration, it's a best practice to use AWS Application Migration Service (AWS MGN).

Resolution

  1. Open the Amazon EC2 console.
  2. In the navigation bar, select the Region.
  3. In the navigation pane, choose EC2 Dashboard.
  4. In the upper-right corner, choose Account Attributes, EBS encryption.
  5. Choose Manage.
  6. For Always encrypt new EBS volumes, choose Enable.
  7. Choose Default encryption key, and then select any of your keys to set as the default.
  8. Choose Update EBS encryption.

Repeat these steps for other Regions as needed.

Note: If you select the default service key (aws/ebs) as the default encryption key, then you can't share the encrypted volume across accounts. To learn more about AWS KMS keys, see AWS KMS concepts.


AWS OFFICIAL
AWS OFFICIALUpdated a year ago