foggykitchen.com
0 of 3 available lessons

Azure Kubernetes Service (AKS) with Terraform/OpenTofu – Hands-On Fundamentals (2025 Edition)

MODULE 02: LESSON1 - BASIC KUBENET AKS CLUSTER

Basic Kubenet AKS Cluster - Hands-on - Terraform code review and deployment with OpenTofu

0:00 / 15:001x
Download Resources
Alright — let’s jump into the hands-on part of Lesson One.
We’ll start in Visual Studio Code, open the 01-basic-kubenet folder, and walk through the key Terraform files that define our AKS cluster and its networking.
Once the code review is done, we’ll switch to the terminal, run tofu init, tofu plan, and finally tofu apply to provision the entire Kubenet-based environment from scratch.
After the deployment completes, we’ll move to the Azure Portal to verify the cluster, node pool, and networking configuration.
By the end of this section, you’ll have a fully working AKS cluster running in Azure — your first cloud built with Terraform/OpenTofu.  

What you'll learn in this lesson

  • How to create a baseline Azure Virtual Network with Terraform/OpenTofu.
  • How CIDR ranges, subnet boundaries, and security defaults shape the platform contract.
  • How to validate the first networking building block before adding workloads.