Topic 3: Infrastructure as Code
⏱️ Estimated time: 2-3 days
We will spend a lot more time on Infrastructure as Code and other DevOps practices later as all of our labs use them. For now, you need to familiarize yourself with a few Terraform concepts.
📚 Learning Path
-
Study: What is IaC
-
Study: Terraform init
-
Study: Terraform apply
-
Test your understanding with an AI assistant:
I'm studying cloud engineering and recently learned about Infrastructure as Code. I will provide you an explanation about it and please ask me any questions if my explanation is not clear. I want to make sure I really understand this concept so please do not correct me, simply ask questions until I get the explanation right. Here is my explanation: IaC is -
Install Terraform: Install Terraform
Windows UsersMake sure you're installing Terraform inside Ubuntu via WSL.
✅ Topic Checklist
Before moving on, make sure you can answer "yes" to these:
- I understand what Infrastructure as Code is
- I understand what Terraform is and why it's useful
- I know what
terraform initdoes - I know what
terraform applydoes - Terraform is installed on my computer