Forum Discussion
Classic WVD autoscale modification
Dante Nahuel Ciai, no problems there at all
It sounds like you need a virtual machine scale set (an overview https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview). The trick is, just like the App Services, you can scale-out and scale-in the VMs in the scale sets basing on the scalability rules/metrics. For that, you need to create a scale set and enable autoscale for it. Then, using some Azure CLI + Templates you can https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-autoscale-template. And finally, creating the rule following the guidelines, do not forget to create the same for scaling the set back in (it doesn't happen automatically).
Command0r Thank you for your answer.
The thing is, I can't seem to find any way of using Scale sets with Classic WVD... is this possible?
- Oct 27, 2020
Dante Nahuel Ciai I wrote a script a while ago that got some good feedback. I have a version for WVD classic and another version for WVD ARM. You can find it here.
https://www.ciraltos.com/automatically-start-and-stop-wvd-vms-with-azure-automation/
- Dante Nahuel CiaiOct 28, 2020Brass Contributor
TravisRoberts Thank you very much! I intended to find out if possible and then try to code it myself. I never expected to be already out there.
Thank you very much.
One last question
I read in the comments that two new "versions" of yours but modified were created.
Do you have any comments on those? The one made by Kandice and the one made by Donald
Thank you in advance!!