In this recipe, we will use KMS keys to encrypt EBS volumes. EBS is a block storage service designed to be used as the storage system for EC2 instances.
Using KMS to encrypt data in EBS
Getting ready
We need a working AWS account to complete this recipe.
How to do it...
We can encrypt an EBS storage volume while creating an EC2 instance as follows:
- Go to the EC2 dashboard and click on Instances from the left sidebar. Click on the Launch Instance button at the top of the page, select Amazon Linux 2 AMI, set Type to t2.micro, and click Next: Configure Instance Details...