Create a web-server on AWS EC2 instance using Terraform and user data

In this note, I detail all the steps required to create a bare-bone web server on AWS EC2. I discuss from creating the VPC, subnets, internet gateway, security group, and EC2 instances to finally automating the process via Terraform and user data. Note: I did not include the concepts of load balancing, installing a certificate, … Continue reading Create a web-server on AWS EC2 instance using Terraform and user data