Deciding when to use Azure Blobs, Azure Files, or Azure Disks
Microsoft Azure provides several features in Azure Storage for storing and accessing your data in the cloud. This article covers Azure Files, Blobs, and Disks, and is designed to help you choose between these features.
The following table compares Files, Blobs, and Disks, and shows example scenarios appropriate for each.
|Feature||Description||When to use|
|Azure Files||Provides an SMB interface, client libraries, and a REST interface that allows access from anywhere to stored files.||You want to "lift and shift" an application to the cloud which already uses the native file system APIs to share data between it and other applications running in Azure.
You want to store development and debugging tools that need to be accessed from many virtual machines.
|Azure Blobs||Provides client libraries and a REST interface that allows unstructured data to be stored and accessed at a massive scale in block blobs.
Also supports Azure Data Lake Storage Gen2 for enterprise big data analytics solutions.
|You want your application to support streaming and random access scenarios.
You want to be able to access application data from anywhere.
You want to build an enterprise data lake on Azure and perform big data analytics.
|Azure Disks||Provides client libraries and a REST interface that allows data to be persistently stored and accessed from an attached virtual hard disk.||You want to lift and shift applications that use native file system APIs to read and write data to persistent disks.
You want to store data that is not required to be accessed from outside the virtual machine to which the disk is attached.
When making decisions about how your data is stored and accessed, you should also consider the costs involved. For more information, see Azure Storage Pricing.
Some SMB features are not applicable to the cloud. For more information, see Features not supported by the Azure File service.
For more information about Azure Blobs, see our article, What is Azure Blob storage?.
For more information about Disk Storage, see our Introduction to managed disks.
For more information about Azure Files, see our article, Planning for an Azure Files deployment.