Storage Account vs Data Disk

Highlighted
New Contributor

We're moving a few of our on-prem web app servers to Azure VMs.  I see I can create a Data Disk within the VM and it will appear as local storage.

 

However I also see I can create a Storage Account and map a drive to that file share.

 

Is there a different (advantage/disadvantage) to using a Data Disk for VM storage vs a Storage Account?

 

We would be storing the web app data on this drive.

2 Replies
Highlighted

Hi,

 

If you want the data to be shared (accessed from multiple VMs) then you can create Azure File Share, otherwise just use data disk. Use managed disk for better management and reliability.

 

Thanks,

Vineet

Highlighted

Thanks Vineet.  Sharing seemed to be the only real difference I could see. At least from a usability perspective.  Glad to have some confirmation.