In this tutorial, I will use Terraform to deploy an EC2 Instance. Terraform is an infrastructure as code software tool created by Hashicorp. We will refer to Hashicorp's AWS documentation throughout this tutorial.
Find the code and steps for this Lab at my github page linked here.
Terraform can build, modify, and version infrastructure safely and efficiently. Terraform can manage existing and popular service providers like AWS, Azure, Google Cloud. It can also handle custom in-house solutions.
Terraform is similar to Cloudformation, but they have some significant differenes.