Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In Azure, a resource is a manageable item that you create and configure within your Azure subscriptions and resource groups. Resource providers are management services that deliver specific types of resources. While you might work with many resources to deploy a workload in Azure, Azure Files centers on two key resources:
Storage accounts, offered by the
Microsoft.Storageresource provider. Storage accounts are top-level resources that represent a shared pool of storage, IOPS, and throughput in which you can deploy classic file shares or other storage resources, depending on the storage account kind. All storage resources that you deploy into a storage account share the limits that apply to that storage account. Classic file shares support both the SMB and NFS file sharing protocols.File shares, offered by the
Microsoft.FileSharesresource provider. File shares are a new top-level resource that simplifies the deployment of Azure Files by eliminating the need for a storage account. Unlike classic file shares, which you must deploy into a storage account, you deploy file shares directly into the resource group like storage accounts themselves, or other Azure resources such as virtual machines, disks, or virtual networks. Currently,Microsoft.FileSharesonly supports the NFS file sharing protocol. If you require SMB, choose classic file shares.
This video provides a comprehensive overview of the differences between the storage account and file share management models:
Classic file shares (Microsoft.Storage)
Classic file shares, or file shares deployed in storage accounts, are the traditional way to deploy file shares for Azure Files. They support all of the key features that Azure Files supports, including SMB and NFS, SSD and HDD media tiers, every redundancy type, and availability in every region. While classic file shares support the entire breadth of Azure Files features, they have important limitations:
Capacity planning: Classic file shares, as well as the child objects like blob containers that live within the same storage account, share a common pool of storage, IOPS, and throughput. This architecture means you must plan carefully to avoid capacity bottlenecks when you place multiple classic file shares in a storage account. Consider both the current and future needs of each classic file share placed in a storage account, since the growth of one classic file share can crowd out other file shares.
Shared settings: You apply many important settings, such as network and security rules, at the storage account level. As a result, you must carefully consider how you place classic file shares in the same storage account. Consider the storage account to be a trust boundary and only place classic file shares in the same storage account if you're okay with them having the same security settings.
Scaling complexity: Large scale Azure Files deployments can require managing many Azure subscriptions due to the constraints on storage accounts from the
Microsoft.Storageresource provider. See storage account limits for more information.
Classic file share deployments use two kinds of storage accounts:
Provisioned storage accounts: The
FileStoragestorage account kind identifies provisioned storage accounts. You can deploy provisioned classic file shares on either SSD or HDD based hardware by using provisioned storage accounts. You can only use provisioned storage accounts to store classic file shares. You can't use them for other storage resources such as blob containers, queues, and tables. Use provisioned storage accounts for all new classic file share deployments.Pay-as-you-go storage accounts: The
StorageV2storage account kind identifies pay-as-you-go storage accounts. You can deploy pay-as-you-go file shares on HDD based hardware by using pay-as-you-go storage accounts. You can use pay-as-you-go storage accounts to store classic file shares and other storage resources such as blob containers, queues, or tables.
To learn more, see Create a classic file share.
File shares (Microsoft.FileShares)
The Microsoft.FileShares resource provider offers file shares as a new top-level Azure resource. These file shares provide the following advantages over classic file shares:
Simplified management: Create file shares directly as top-level resources in the Azure portal or through management APIs. This approach removes the requirement to manage a storage account and streamlines the deployment experience.
Independent capacity and performance: Each file share has its own dedicated storage, IOPS, and throughput. This design avoids the need to plan capacity against your storage account's limited resources and enables file shares to freely grow as workload demands grow.
Granular configuration: Apply networking and security settings at the file share level, so you have precise control of access boundaries and isolation. This configuration makes it easier to enforce security policies for specific apps, teams, or environments.
Predictable, flexible billing: File shares use the provisioned v2 billing model, which enables you to independently provision storage, IOPS, and throughput per share. Because Azure bills per top-level Azure resource, you can easily track the costs of each individual share for cost attribution back to the project, team, or customer that is using the file share.
Improved scale and performance: File shares support higher limits and lower deployment times than classic file shares. For more information, see Azure Files scalability and performance targets.
Regional availability
Currently, you can create a file share with Microsoft.FileShares in the following regions. Private endpoint support for file share with Microsoft.FileShares is available in all Azure public cloud regions.
- Australia Central
- Australia East
- Australia Southeast
- Brazil South
- Brazil Southeast
- Canada Central
- Canada East
- Central India
- East Asia
- East US
- France Central
- France South
- Germany North
- Germany West Central
- Israel Central
- Italy North
- Japan East
- Japan West
- JIO India Central
- JIO India West
- Korea Central
- Korea South
- North Central US
- North Europe
- Norway East
- Norway West
- Poland Central
- South Africa North
- South Africa West
- South Central US
- South India
- Southeast Asia
- Sweden Central
- UAE Central
- UAE North
- UK South
- UK West
- West Europe
- West US
Comparing resource providers: Microsoft.Storage versus Microsoft.FileShares
Evaluate the new file share experience with Microsoft.FileShares for all your new Azure Files NFS protocol deployments.
If a specific feature requirement isn't yet available in the new file share experience, or the workload requires SMB protocol support, use the classic file share experience.
| Feature | Classic file shares |
File shares (Microsoft.FileShares) |
|---|---|---|
| Support guarantee | Generally available | Generally available |
| Top level resource for the service | Storage account |
File shares |
| SMB protocol | ||
| NFS protocol | ||
| Azure File Sync support | ||
| Require storage account | ||
| Pay-as-you-go billing model | ||
| Provisioned v1 billing model | ||
| Provisioned v2 billing model | ||
| HDD supportability | ||
| SSD supportability | ||
| LRS | ||
| ZRS | ||
| GRS | ||
| GZRS | ||
| Per share level billing, networking, and security configurations | ||
| Single virtual network configurations for a file share | ||
| Single virtual network configuration for multiple file shares | ||
| AKS CSI driver | ||
| Data plane REST APIs | ||
| Soft delete support | ||
| Snapshots support | ||
| Encryption in transit | ||
| Customer managed keys | ||
| Zonal pinning |