Deploying On AWS Cloud Using Terraform Series Pre-Requisites
3 min read
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
Goto Terraform official download page to install at binary here and you will land on below page
In this landing page select your binary 386/Amd64 based on your machine and it will download a zip file.
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.
Now goto system environment variable and add path under environment variable.
Now click on path and click edit
Click on new add the path where we unzipped the terraform binary and press OK
Open a Command prompt/Powershell and run this command to verify Terraform is installed successfully:
To check your terraform version use below command
Install Terraform extension in VS code
Open visual studio code
Install below two extensions from vs code market place
✦ Terraform Autocomplete ✦ HashiCorp Terraform
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!