Terraform AKS baseline clusters – deployment walkthrough
Use Azure CLI and Terraform to deploy a baseline AKS cluster in hours not days – full end-to-end walkthrough
Created by Nick Romney | 2.5 hours on-demand video course
In this Terraform AKS baseline clusters – deployment walkthrough course, we’re going to deploy AKS clusters using different Infrastructure as Code approaches. Some of the key topics that we’ll cover include:
- Creating a cluster with Azure CLI
- Using the Azure CLI in an idempotent way, so you can run and re-run the code without generating warnings and errors
- We’ll switch to using Terraform, and see how useful the module for Azure AKS is, which may be all you need to spin up some test clusters
- We’ll spend the bulk of the course on walking through the AKS Baseline Cluster from the Azure Architecture Centre, but converted from a massive Azure Bicep file into individual Terraform resources which are considerably easier to understand. This will enable you to use Terraform variables to toggle the creation of the resources you need in your own context.
Launch your first AKS cluster in 15 minutes with Azure CLI. We turn the steps in the Azure quickstart tutorial into idempotent bash shell scripts, so you can run them again and again. We’ll run through the full process, including deploying an application to the cluster, and then deleting the cluster, resource group and Kubernetes context.
What you’ll learn
- Create AKS clusters with Azure CLI and Terraform CLI
- Be able to deploy an AKS baseline cluster based on the reference from Azure Architecture Center
- Understand how (and where) to change Terraform variables to configure the cluster
- How to wrap Azure CLI in bash shell scripts to make it idempotent
Recommended Course
The Complete Jenkins DevOps CI/CD Pipeline Bootcamp – 2024 Best seller
Terraform AKS baseline clusters – deployment walkthrough
Complete Kubernetes: Docker Orchestration + DevOps Project
Kubernetes Certified Application Developer (CKAD) with Tests Best seller
Who this course is for:
- Cloud Engineer with experience on a different public cloud, or bare metal. You’ve worked with managed Kubernetes on a different cloud provider (AWS EKS, Google GKE, Oracle OKE) and want to get up to speed on AKS quickly
- Developer / DevOps. You want to better understand the infrastructure where your application runs, to make being on-call a nicer experience
- IT Operations. You know other Azure services, but haven’t worked with AKS.
- Network Engineer. You come from a classical networking background, working with routers and switches, but you’re being asked questions about Azure’s Virtual Networks, route tables, and Azure Firewall.