How to Create an AWS EC2 Instance with Root and Data Encrypted Volumes using Terraform

In this story, we will create an AWS EC2 Instance with Root and Data Encrypted Volumes (Disks) using Terraform.

There are two options to encrypt the volumes on AWS, using AWS Managed Customer Master Key (CMK) and Customer Managed CMK.

Encrypting Volumes using AWS Managed CMK

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store