Deploying On AWS Cloud Using Terraform Series Pre-Requisites

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:
    terraform

    image.png

    To check your terraform version use below command terraform --version

    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 πŸ‘β€πŸ—¨πŸ‘β€πŸ—¨

❗️❗️Important Documentation To Be Viewed❗️❗️

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

πŸ₯πŸ₯ Conclusion πŸ₯πŸ₯

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. **🎊

Did you find this article valuable?

Support Dheeraj Choudhary by becoming a sponsor. Any amount is appreciated!

Β