Forum Discussion
OrelEz13
Mar 08, 2022Copper Contributor
Create multiple new labs
Hi,
What's the best way to create multiple new and identical labs under the same Lab Account?
Is there an ARM template I can use?
Is the Azure cloudShell (Az.LabServices) the best way? If so, what are the available VM sizes properties when using the 'New-AzLab' function (4 and 8 cores that supports nested virtualization in specific)?
Yours
Orel E
1 Reply
- RogerBestMSFT
Microsoft
The best way is to use the BulkOperations scripts. Here is a link to the examples https://github.com/Azure/azure-devtestlab/tree/master/samples/ClassroomLabs/Modules/Library/BulkOperations/Examples this will let you create lab accounts, labs, etc from a csv file. As for the VM sizes it looks like you want either a Medium (nested virtualization) or Large (nested virtualization) . Here is a chart of the friendly names vs the api size. https://github.com/Azure/azure-devtestlab/tree/master/samples/ClassroomLabs/Modules/Library/BulkOperations#virtual-machine-sizes
Hope that helps,
Roger