Forum Discussion

DLFNF's avatar
DLFNF
Copper Contributor
Feb 01, 2018

Storage Account vs Data Disk

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.

  • Vineet Arora's avatar
    Vineet Arora
    Brass Contributor

    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

    • DLFNF's avatar
      DLFNF
      Copper Contributor

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

Resources