Terraform Infrastructure as a Code(IaaC).

Terraform is a way to create Cloud Resouces using Code. It is nothing but a code of your Cloud Infrastructure hence it is called Infrastructure as a Code i.e. IaaC.  Using Terraform we can create low-level components such as compute instances, storage, and networking, as well as high-level components such as DNS entries, SaaS features, etc.

Why Terraform?

Think about the Cloud Resources which you want to create it again and again with or without small changes, if you do it manually it will take time and as a human sometimes we do mistakes but if you write a Terraform code then you can reuse it to create the same infrastructure. This code also can be used in Disaster Recovery(DR). In DR if you lose the servers then you can recreate it using same Terraform Template within few minutes.

What is Terraform Template?

Terraform Template is the main file or set of files which are used to create Cloud Resources. Examples, servers, storage, Network VPC/VPN, etc.

What is Terraform State?

Terraform State is a file, which maintains the state of created resources into Cloud Account. This file maintains all information about the Cloud Resources, including Password and AccessKeys. 

What is Terraform Execution Plans?

Terraform has a “planning” step where it generates an Execution Plan. The execution plan shows what Terraform will do when you call Terraform Apply command. This lets you avoid any surprises when Terraform manipulates infrastructure. 

What is Resource Graph?

Terraform builds a graph of all resources mentioned in a Terraform Template and parallelizes the creation and modification of any non-dependent resources. Because of this Terraform builds and create infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure.

Terraform support which Cloud Providers?

There are many, from all IaaS, PaaS and SaaS providers. The important providers are and which you might be interested in is, AWS, GCP, Microsoft Azure, OpenStack.
To know all other providers check – https://www.terraform.io/docs/providers/

How to Install Terraform?

Terraform support all Operating System Platform. Windows, Linux and macOS as well. To download and install Terraform refer  https://www.terraform.io/downloads.html  this link.

Leave a Reply

Your email address will not be published. Required fields are marked *