Terraform
What is Terraform?
Terraform is a tool which can be used to deploy your infrastructure in the cloud or in a hypervisor with the help of the API that exist in the cloud environment or the hypervisors. This is achieved using the terraform resources in the desired Cloud provider or hypervisor.
It is quite an easy tool to get started with simply download terraform from https://www.terraform.io/downloads.html or previous releases from https://releases.hashicorp.com/terraform/ based on your control machine distribution and extract to /usr/local/bin and avoid the need to pass path variables in your profile
sudo wget https://releases.hashicorp.com/terraform/0.12.0/terraform_0.12.0_linux_amd64.zip -O /tmp/terraform.zip; unzip /tmp/terraform.zip -d /usr/local/bin;
terraform --version
Terraform v0.12.0
other basic commands to get started with Terraform
terraform init: initializes terraform in the directory, as the working directory
terraform plan: to test the code and give a preview of the instances to be deployed
terraform apply: will deploy the infrastructure
terraform destroy: will destroy the already deployed infrastructure