Menu Close

AVD Automation Cocktail – Deploy AVD with Terraform Cloud

Welcome (back) to the AVD Automation Cocktail. In the past cocktail series, I showed different AVD deployment strategies and languages. During the time I got some requests about automation with Terraform. In this cocktail, The Dutch Bloody Harry, I’ll show you how to deploy an AVD environment automated with Terraform Cloud and Github. I’m using the Terraform cloud combined with my GitHub repository.

Using VM templates for AVD sessionhost automation

In automation using templates is key! Using templates makes life easier. No new information I guess. If you run tasks in DevOps, Terraform, or other engines you want to reuse code blocks. When deploying resources in Azure we use ARM or Bicep templates. Good to know there is also is a sort of ‘in place’-template available for AVD. This is the VM template and stored under the host pool information. In this blog post, I explain how to set and use VM templates. This will help you with the AVD sessionhost automation.

How to deal with AVD session hosts version management

A Shared Image Gallery is a great way distributing images over multiple environments. This great feature is also its disadvantage. When using a Shared Image Gallery in combination with several environments with even more host pools you will loose sight fast. At this moment there is no good overview which host in which environment is using which version.
In this article I will explain how to deal with AVD session hosts and version management. This will help to keep you environment clean and save costs.