AI Instructor Live Labs Included

Terraform on Azure

Deploy and manage real Azure infrastructure with Terraform — AzureRM provider, networking, compute, storage, remote state, and modules.

Intermediate
16h 25m
16 Lessons
TF-200
Terraform on Azure Badge

View badge details

About This Course

Apply Terraform to real Azure infrastructure. This hands-on course covers the AzureRM provider, deploying VNets and NSGs, Linux VMs with cloud-init, App Service with SQL Database, Key Vault for secrets, remote state in Azure Storage, reusable Azure modules, importing existing resources, drift detection, and lifecycle management. The capstone deploys a complete multi-tier Azure environment. Requires Terraform Fundamentals. Course 2 of 2 in the Terraform Learning Path.

Course Curriculum

16 Lessons
01
AI Lesson
AI Lesson

Azure Provider and Authentication

30m
02
Lab Exercise
Lab Exercise

Azure Provider and Authentication - Lab Exercises

1h 15m 1 Exercises

Configuring the azurerm provider, authentication methods (CLI, service principal, managed identity), provider versioning and features block, terraform init with Azure backend, deploying first resource group with az login credentials

Azure Provider Authentication and Configuration Azure Provider Authentication and Configuration ~30 min
03
AI Lesson
AI Lesson

Deploying Azure Networking

35m
04
Lab Exercise
Lab Exercise

Deploying Azure Networking - Lab Exercises

1h 45m 2 Exercises

Virtual networks and subnets, network security groups with rules, public IPs and NICs, VNet peering, route tables, using data sources to reference existing resources, output networking details

Deploying Azure Networking with Terraform Deploying Azure Networking with Terraform ~30 min
Advanced Azure Networking with Terraform: Service Endpoints and Private Links Advanced Azure Networking with Terraform: Service Endpoints and Private Links ~30 min
05
AI Lesson
AI Lesson

Deploying Azure Compute

35m
06
Lab Exercise
Lab Exercise

Deploying Azure Compute - Lab Exercises

1h 45m 2 Exercises

Linux VMs with azurerm_linux_virtual_machine, VM extensions for bootstrapping (custom_data, cloud-init), availability sets and zones, VM scale sets basics, App Service deployment with azurerm_linux_web_app, referencing networking resources

Deploying Azure Compute with Terraform Deploying Azure Compute with Terraform ~30 min
Advanced Azure Compute: Multi-Region VM Deployment with Custom Images and Autoscaling Advanced Azure Compute: Multi-Region VM Deployment with Custom Images and Autoscaling ~30 min
07
AI Lesson
AI Lesson

Azure Storage and Databases

35m
08
Lab Exercise
Lab Exercise

Azure Storage and Databases - Lab Exercises

1h 45m 2 Exercises

Storage accounts (azurerm_storage_account), blob containers, Azure SQL Database (azurerm_mssql_server, azurerm_mssql_database), Cosmos DB basics, Key Vault for secrets (azurerm_key_vault, azurerm_key_vault_secret), connecting compute to storage and databases

Terraform Azure Storage and Database Management Terraform Azure Storage and Database Management ~30 min
Advanced Terraform State Management and Multi-Environment Storage Infrastructure Advanced Terraform State Management and Multi-Environment Storage Infrastructure ~30 min
09
AI Lesson
AI Lesson

Remote State and Workspaces

30m
10
Lab Exercise
Lab Exercise

Remote State and Workspaces - Lab Exercises

1h 15m 1 Exercises

Remote state in Azure Storage backend (storage_account_name, container_name, key), state locking with Azure Blob lease, workspaces for environment isolation (dev/staging/prod), migrating from local to remote state, terraform workspace commands, state encryption at rest

Remote State and Workspaces with Azure Storage Remote State and Workspaces with Azure Storage ~30 min
11
AI Lesson
AI Lesson

Terraform Modules for Azure

35m
12
Lab Exercise
Lab Exercise

Terraform Modules for Azure - Lab Exercises

1h 45m 2 Exercises

Writing reusable Azure modules (networking module, compute module, database module), Azure Verified Modules from the registry, module composition patterns, passing outputs between modules, versioning modules with Git tags, module testing basics

Creating Reusable Terraform Modules for Azure Infrastructure Creating Reusable Terraform Modules for Azure Infrastructure ~30 min
Exercise 2 Exercise 2 ~30 min
13
AI Lesson
AI Lesson

Import Drift Detection and Lifecycle

35m
14
Lab Exercise
Lab Exercise

Import Drift Detection and Lifecycle - Lab Exercises

1h 15m 1 Exercises

terraform import for existing Azure resources, import blocks (Terraform 1.5+), detecting and remediating drift with terraform plan, lifecycle rules for Azure resources (prevent_destroy on production databases, ignore_changes on tags), moved blocks for refactoring, terraform taint and replace

Import Drift Detection and Lifecycle Management Import Drift Detection and Lifecycle Management ~30 min
15
AI Lesson
AI Lesson

Capstone Briefing Deploy a Complete Azure Environment

30m
16
Lab Exercise
Lab Exercise

Capstone Deploy a Complete Azure Environment - Lab Exercises

1h 15m 1 Exercises

Capstone: deploy complete Azure environment — VNet with subnets and NSGs, Linux VM with cloud-init bootstrapping, App Service with SQL Database backend, Key Vault for secrets, remote state in Azure Storage, modular structure, outputs for connection info, destroy and rebuild to prove repeatability

Capstone: Deploy a Complete Azure Environment Capstone: Deploy a Complete Azure Environment ~30 min

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 8 Hands-on Lessons
  • Completion Badge
Terraform on Azure Badge

Earn Your Badge

Complete all lessons to unlock the Terraform on Azure achievement badge.

Category
Skill Level Intermediate
Total Duration 16h 25m
Terraform on Azure Badge
Achievement Badge

Terraform on Azure

Demonstrates proficiency in deploying Azure infrastructure with Terraform — AzureRM provider, networking, compute, storage, remote state, and modules.

Course Terraform on Azure

Skills You'll Earn

Terraform Azure AzureRM Networking Compute Remote State IaC

Complete all lessons in this course to earn this badge