We need to run load testing on a server consumed by Windows clients. For this, we want to spin up around 1000 Windows VMs and run a script in each, with different parameters for each of them, along with an executable.

I've been tinkering with Azure and PowerShell for a couple of days. From what I've read and investigated, a scale set might be our best bet for this instance.

The only obstacle for this (besides some limitations with large scale sets and load balancing) is that I've found no way to specify some required parameters to each VM when using a template to launch the scale set. Is there any way to achieve what I'm looking for?

It would also seem that Desired State Configuration would be a viable aid on this, but it presents the same problem.


I currently did something similar where I created a Load and performance testing environment using ARM Templates. The best way to do this is by using a copy loop in the ARM template and deploying all the VMs in parallel to save time.

Moreover, as the VMs are being used for load testing and you want to run custom configuration scripts, I strongly recommend to use Azure DevTest Labs where you can create formulas and artifacts for pre and post deployment.

Let me know if this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.