Create multiple new labs

Copper Contributor

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
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/BulkOper... 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/BulkOper...

Hope that helps,
Roger