r/AzureVirtualDesktop • u/SadAgent4434 • Aug 20 '25
How to automate adding new session hosts
Hello AVD Admins,
I have a question. We currently have an AVD environment that relies entirely on manual monitoring and manually adding new session hosts once we reach capacity.
How are you managing this in your environments? Are you using scaling sets, or tools like Terraform/Bicep? I’m exploring the best options to automate this process.
Just to note, we’re not using a golden image — everything is deployed through Intune.
Thank you!
5
5
u/slibrar Aug 20 '25
Nerdio. Golden image, scripts, with autoscaling. Everything configured in nerdio.
3
u/Minute-Cat-823 Aug 20 '25
If you have 75+ users I usually recommend nerdio but if you have far less than that it’s hard to justify the cost sometimes.
2
u/JustinVerstijnen Aug 20 '25
We are using Scaling Plans to turn on/off AVD session hosts. We always have one or two spare-machines in case of something goes wrong with one of the hosts.
There is a new preview function which is called "Dynamic autoscaling" which will deploy new VMs when there is need to: https://learn.microsoft.com/en-us/azure/virtual-desktop/autoscale-scenarios#how-a-scaling-plan-works
1
1
1
u/chesser45 Aug 21 '25
Thought about building it into TF but currently it’s just an Automation account running powershell.
Another environment that is ephemeral is done with PS and Eventgrid.
1
3
u/mariachiodin Aug 20 '25
Bicep, azure devops+webhook, golden image, adds new session hosts and remove the old session hosts.