Deploy a OS template with attached data discs
Sometimes it is very necessary, when to deploy an os template which already attached data discs. For example: We deploy some SharePoint or SQL server in a testlab and we need some performance.
Thanks again for the feedback! We currently have a feature in the backlog that allows you to create a VM with an attached disk at the same time. We still need to prioritize it, so there is no ETA at this point of time. If you want to see it sooner, please don’t hesitate to vote this idea!
Azure Labs (not DevTest Labs) doesn't let you add extra storage or specify the size of the C drive when you create the template VM.
I can currently have a VM with huge amounts of CPU & RAM to run nested VMs in but then I can't actually run more than a handful of VMs because the C drive fills up with their virtual disks.
So I think you need one (or more) of several options:
Allow template creator to specify the storage size for the C drive as well as the VM size
Allow template creator to specify sizes of additional disks to be part of the template
Allow template creator to upload vhdx files to be attached to the template VM
henry truong commented
the ability to attach data disks to a devtest lab vm on creation is very much needed. for both managed and unmanaged disks.
Also the ability to deploy via ARM template would be great.
This feature was required when using non-Premium Storage to be able to set up Storage Spaces. As I've moved to use Premium Storage on my DevTest Labs this is not needed anymore.
Richard Yaker commented
Can I attach datadisks to devtest lab VM via ARM template?
sorry the word "template" is wrong. For example: I have a self made VM which contains a SharePoint Server. The guys who made this machine had configured a C:\ Drive for OS, a E:\ drive for the application folder and a F:\ drive for SQL database. They do it because they scale performance with that.
When i put that machine in a DevTestLab, i have to attach the additional drives manually to my VM and copy the data on it, because DevTestLabs machines can only deployed with a single C:\ drive disc.
In my case the ability to create empty data disks would be useful. I have a vendor image that needs additional data disks attached, and the ability to provision with data disks would be helpful. If not through the interface then through the template language would work. That's how I'm implementing outside of devtest lab right now.
For the existing data disk attach exposing the existing VM interface for data disks would be sufficient. I've just been falling back to the VM view to do this so far but a direct link would create a more seamless experience.
Our devtest users would like to setup VM with maximum number of datadisk setup as a striped storagepool for sql workload while creating the vm. We have moved to premium storage now and the need is not there anymore.
When creating a LAB VM, there should be a check box to attach the maximum data disks supported by the selected VM size.