Infrastructure as Code and Monitoring
Terraform from first configuration to modules, plus Prometheus and Grafana monitoring and alerting.
6 lessons · about 57 minutes of reading
Log in to track your progress through this course.
Start lesson 1- 1
Terraform: Infrastructure as Code and Your First Configuration
Learn the Terraform workflow of write, plan, and apply with a safe, free exercise that needs no cloud account.
10 min read
- 2
Terraform Variables, Outputs, and Locals
Make configurations reusable with typed, validated variables, computed locals, and outputs, and learn the order in which values are set.
9 min read
- 3
Terraform State, Remote Backends, and Protecting Secrets
Understand what state is, why it must not go in Git, and how to share it safely with a remote backend and locking.
9 min read
- 4
Terraform Modules, count and for_each, Import, and Moved Blocks
Organize reusable code with modules, create many resources with loops, adopt existing infrastructure, and refactor safely.
10 min read
- 5
Prometheus Monitoring Basics with Docker Compose
Run Prometheus locally, configure scrape targets, and learn the first PromQL queries for monitoring.
9 min read
- 6
Grafana Dashboards and Prometheus Alert Rules
Connect Grafana to Prometheus, provision the data source as code, build a first panel, and define an alert rule.
10 min read