part1_terraform (1)

Deploying On AWS Cloud Using Terraform Series Pre-Requisites

Welcome to the series of Deploying On AWS Cloud Using Terraform 👨🏻‍💻. In this entire series we will focus on our core concepts of Terraform by launching important basic services from scratch which will take your infra-as-code journey from beginner to advanced. This series would start from beginner to advance with real life Usecases and Youtube Tutorials.

If you are a beginner for Terraform and want to start your journey towards infra-as-code developer as part of your devops role buckle up 🚴‍♂️ and lets get started and understand core Terraform concepts by implementing it…🎬

Why to Use Terraform As Infra-As-Code Tool ??? 🤔

Infrastructure as code (IaC) tools allow you to manage infrastructure with configuration files rather than through a graphical user interface. IaC allows you to build, change, and manage your infrastructure in a safe, consistent, and repeatable way by defining resource configurations that you can version, reuse, and share.

Terraform is HashiCorp’s infrastructure as code tool. It lets you define resources and infrastructure in human-readable, declarative configuration files, and manages your infrastructure’s lifecycle. Using Terraform has several advantages over manually managing your infrastructure:

✦ Terraform can manage infrastructure on multiple cloud platforms.
✦ The human-readable configuration language helps you write infrastructure code quickly.
✦ Terraform’s state allows you to track resource changes throughout your deployments.
✦ You can commit your configurations to version control to safely collaborate on infrastructure.

How to Install Terraform on Windows

  1. Goto Terraform official download page to install at binary here and you will land on below page

image.png

2. In this landing page select your binary 386/Amd64 based on your machine and it will download a zip file.

image.png

3. Now create a folder on the C/D whichever drive you want, I will go with D:\Software\Terraform. Download the zip file in this folder. Unzip the file to extract the .exe file

4. Now goto system environment variable and add path under environment variable.

image.png

Now click on path and click edit

image.png

Click on new add the path where we unzipped the terraform binary and press OK

image.png

5. Open a Command prompt/Powershell and run this command to verify Terraform is installed successfully:

image.png

To check your terraform version use below command

image.png

Install Terraform extension in VS code

1. Open visual studio code.
image.png
 

2. Goto extensions

image.png

3. Install below two extensions from vs code market place

✦ Terraform Autocomplete 

✦ HashiCorp Terraform

image.png

Download, Install & Configure AWS CLI on Windows 👁‍🗨👁‍🗨

 

⛔️ Hashicorp Terraform
⛔️ AWS CLI
⛔️ Hashicorp Terraform Extension Guide
⛔️ Terraform Autocomplete Extension Guide

In this blog, I have covered prerequisites that would be required as part of this series, to begin with VS Code Extensions.

📢 Stay tuned for my next blog…..

So, did you find my content helpful? If you did or like my other content, feel free to buy me a coffee. Thanks.

Dheeraj_Pic1 (2)

Author - Dheeraj Choudhary

I am an IT Professional with 11+ years of experience specializing in DevOps & Build and Release Engineering, Software configuration management in automating, build, deploy and release. I blog about AWS and DevOps on my YouTube channel, which focuses on content such as, AWS, DevOps, open source, AI-ML and AWS community activities.

RELATED ARTICLES

AWS Glue Presentation (1)

Automate S3 Data ETL Pipelines With AWS Glue Using Terraform

Discover how to automate your S3 data ETL pipelines using AWS Glue and Terraform in this step-by-step tutorial. Learn to efficiently manage and process your data, leveraging the power of AWS Glue for seamless data transformation. Follow along as we demonstrate how to set up Terraform scripts, configure AWS Glue, and automate data workflows.

Comments are closed.