Back to Browse

Create Managed Azure DevOps Pools with Terraform

1.1K views
Jul 10, 2025
39:47

Today we're working with Azure Pipelines and exploring the different options you have when working with agent pools. The main focus will be on the new Azure Managed DevOps Agent Pools, what they are, how they work, and why you might want to use them. We’ll start by deploying some prerequisites using Terraform, including a virtual network to host our agents. You’ll see how to use the AzAPI provider to get the job done and I’ll walk you through it all, step by step, as we build this Terraform project from scratch. Once everything is up and running, we’ll connect our agent to an Azure Pipeline and run a deployment to test it out. If you’re looking to automate Azure DevOps agent pool provisioning with Terraform and AzAPI, or just want to learn more about CI/CD in Azure, you’re in the right place. Hope you enjoy the video! Timestamps: 0:00 Intro 1:00 Differences between managed devops pools and other offerings 3:40 Comparison table between VMSS and Managed Devops Pool 5:40 Writing our Terraform code 27:50 Writing Terraform for our Managed Devops pool 33:30 Deploying our code 34:10 Create pipelines and test our pool 38:20 Recap and outro Links to learn documentation: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops&tabs=yaml%2Cbrowser https://learn.microsoft.com/en-us/azure/devops/managed-devops-pools/migrate-from-scale-set-agents?view=azure-devops ☕️ Want to buy me a coffee? https://ko-fi.com/lindbergtech Only if you want to, of course Socials: LinkedIn: https://www.linkedin.com/in/carl-lindberg-a7b76a175/ Github: https://github.com/carlzxc71 #terraform #azure #microsoft #cloud #iac

Download

1 formats

Video Formats

360pmp458.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Create Managed Azure DevOps Pools with Terraform | NatokHD