How to create & Attach Disks(Unmanaged Disks) in Azure Cloud using Chef

Hi Team,

 I tried So many ways and wasted too many days for Creating and attaching unmanaged disks in Azure VM using Chef 12. I didn't find any SDK for Ruby. Only available for Table, Blob, Queue, File storage service. Is there any way to use chef for create and attach extra Volume Disk. Need for Mysql Installation.

Hi Satish,

Chef in general only deals with in-machine configuration management concerns, rather than provisioning concerns. In general you would use an ARM template to accomplish this at VM deployment time, or the azure-cli if you want to modify a running configuration.

Here’s a pointer to an example ARM template that adds the data disks: