Cloud service · Azure · Updated

Azure Files - Azure Files is a fully managed cloud file storage service that provides shared access through SMB and NFS.

In short

Azure Files hosts file shares for applications, users, and containers without requiring you to operate file server infrastructure. Clients can mount shares from Azure or on-premises environments, and Windows Server deployments can cache SMB share data locally through Azure File Sync.

Cloud Services Hub →

9 key features of Azure Files

01
SMB and NFS file access

Mount SMB shares from supported Windows, Linux, and macOS clients, or use NFSv4.1 for Linux applications. Each share uses one protocol; Azure Files does not provide simultaneous SMB and NFS access to the same share.

02
Storage account and share-centric management

Deploy classic SMB or NFS shares inside storage accounts, or create supported SSD NFS shares as top-level Microsoft.FileShares resources. The share-centric model separates share capacity, performance, networking, and billing from storage account boundaries.

03
Selectable media and provisioned performance

Choose SSD for demanding latency and I/O requirements or HDD for cost-sensitive workloads; NFS on HDD is in public preview. Provisioned v2 lets you size capacity, IOPS, and throughput independently within supported limits.

04
Identity-based SMB authorization

Use supported directory-based Kerberos authentication, including Microsoft Entra-only identities for supported SMB clients. Apply share-level access controls together with directory and file ACLs to limit access to application and user data.

05
Private networking and encryption

Use private endpoints and private DNS to expose shares through private IP addresses, and restrict public access separately. Configure SMB channel encryption or supported NFS encryption-in-transit tooling according to client and workload requirements.

06
Snapshots, soft delete, and backup

Use supported share snapshots for point-in-time recovery and soft delete to recover accidentally deleted shares within the configured retention period. Azure Backup adds managed backup policies and vaulted protection for supported shares; validate protocol and deployment-model support before designing recovery.

07
Hybrid caching with Azure File Sync

Cache SMB share data on Windows Server and optionally tier infrequently accessed files to Azure. This preserves local file access while centralizing data, but changes must synchronize between endpoints and cross-site access does not provide distributed file locking.

08
Shared storage for containers

Use the Azure Files CSI driver to provision and mount persistent volumes in Azure Kubernetes Service. Supported SMB and NFS configurations provide shared storage across pods and nodes, with authentication and mount options selected for the workload.

09
FileREST and deployment automation

Automate resource creation and configuration using Azure Resource Manager tooling, Azure CLI, or PowerShell. Use FileREST and Azure SDKs for supported data operations, checking protocol-specific API capabilities and authorization requirements.

Where Azure Files is used

  1. 01
    Replace or consolidate file servers

    Move departmental shares and home directories to managed SMB storage to reduce file server maintenance. Assess existing ACLs, unsupported file system features, client authentication, and network latency before migration.

  2. 02
    Migrate applications that expect shared file paths

    Mount shares on Azure virtual machines for applications that read and write through familiar file system paths. Validate locking behavior, latency, throughput, and the application's support for network file storage rather than assuming complete compatibility.

  3. 03
    Maintain branch-office file access

    Use Azure File Sync to keep a local Windows Server cache of centrally stored SMB data. Cloud tiering can reduce local disk requirements while retaining frequently accessed content near users.

  4. 04
    Provide shared Kubernetes persistent volumes

    Give multiple AKS pods access to shared application files through supported ReadWriteMany volumes. For example, separate web replicas can consume the same uploaded documents while application logic coordinates concurrent updates.

  5. 05
    Store Azure Virtual Desktop user profiles

    Host FSLogix profile containers on SMB shares so users can access their profiles across session hosts. Size storage for sign-in bursts, profile activity, and capacity growth, and configure identity-based permissions carefully.

  6. 06
    Share Linux application datasets

    Use NFSv4.1 shares for Linux services and processing workers that need a common file namespace. Select SSD for demanding I/O workloads and evaluate preview HDD support only where preview terms and performance characteristics are acceptable.

How Azure Files is priced

Provisioned v2

Charges are based on provisioned storage capacity, IOPS, and throughput, which can be configured independently within supported limits. This model supports SSD and HDD offerings where available and is the billing model for top-level Microsoft.FileShares resources.

Provisioned v1

The original SSD provisioning model charges primarily for provisioned share capacity, with baseline performance tied to the provisioned size. Include applicable bursting and other usage charges when comparing it with provisioned v2.

Pay-as-you-go HDD shares

Classic HDD shares in StorageV2 accounts are billed for consumed storage and operations, with transaction-optimized, hot, and cool tiers offering different storage and access costs. Cool-tier data retrieval charges can affect read-heavy workloads, but Azure Files cool shares have no minimum retention requirement or early-deletion penalty.

Reserved capacity discounts

Eligible provisioned v1 and pay-as-you-go storage usage can receive discounts through one-year or three-year Azure Files reservations. Match the reservation to eligible region, redundancy, and storage characteristics; reservations are a billing commitment rather than a performance allocation.

Supporting service and transfer charges

Budget separately for applicable data transfer, private endpoints, Azure Backup, Azure File Sync, and monitoring. Region, redundancy choice, retained snapshots, backup retention, and the chosen billing model all influence total cost.

Services Azure Files works with

A common Azure deployment places application VMs or AKS nodes near their file shares and uses private endpoints for data access. Private DNS must resolve share names correctly from every client network, including on-premises networks connected through VPN or ExpressRoute. Authentication remains a separate control: SMB clients use a supported identity configuration and file permissions, while NFS clients require appropriate network restrictions and UNIX permissions.

Hybrid architectures commonly place Azure File Sync between an SMB Azure file share and Windows Server endpoints. Branch users access a local server, while synchronization centralizes data in Azure and cloud tiering limits local disk consumption. Azure Storage Mover supports migration workflows; plan source assessment, initial copying, incremental transfers, validation, and a controlled cutover rather than treating migration as a single copy operation.

Operational architectures combine Azure Monitor with Azure Backup. Monitor capacity, latency, throttling, and workload growth, then adjust provisioning or client configuration as needed. Configure backup retention independently of storage redundancy and synchronization because neither protects against every logical deletion or corruption scenario. Test recovery procedures and verify integration support for the chosen protocol, media, and resource model.

Azure Files

Azure File Sync synchronizes Windows Server endpoints with an SMB Azure file share and can tier cold files to the cloud. For example, a branch office can retain frequently used project files locally while keeping the complete namespace available through its file server. Account for synchronization delay and conflict handling when the same files can change at multiple sites.

Azure Backup

Azure Backup applies managed protection policies to supported Azure file shares, including snapshot-based and vaulted backup options. For example, protect a departmental SMB share with frequent recovery points and longer-term vaulted retention. Verify support for the selected protocol and resource model, and test alternate-location recovery rather than relying solely on successful backup jobs.

Azure Kubernetes Service (AKS)

The Azure Files CSI driver provisions and mounts shared persistent volumes for AKS workloads. For example, multiple application replicas can mount an SMB or NFS share for shared document storage. Supported SMB configurations can use workload identity for pod-level authentication, while supported NFS configurations can enable encryption in transit through storage class settings.

Microsoft Entra ID (formerly Azure AD)

Microsoft Entra Kerberos supports identity-based SMB access, including supported Entra-only identity scenarios that do not require domain controllers. For example, a cloud-native Windows deployment can grant an application team share access and then restrict individual directories using ACLs. Validate client join state, operating system support, role assignments, and ticket acquisition before removing existing authentication paths.

Azure Private Link

Private endpoints provide private IP connectivity to supported Azure Files resources. For example, application VMs can resolve the share endpoint to a private address, while on-premises clients reach it over VPN or ExpressRoute. Configure DNS forwarding and public network restrictions explicitly; creating a private endpoint does not automatically disable public access.

Azure Storage Mover

Azure Storage Mover orchestrates supported file migration and copy operations into Azure Files. Agentless migration from on-premises SMB sources is available in public preview and requires private connectivity to the source. For example, migrate a departmental NAS share, validate permissions and file counts, and schedule a final transfer before redirecting users. Azure Files-to-Azure Files cross-region copying and scheduled incremental synchronization are also in preview for supported SMB scenarios.

Azure Monitor

Azure Monitor exposes metrics and supported diagnostic logs for operational visibility. For example, alert when used capacity approaches a share limit or when throttling indicates that provisioned performance needs adjustment. Correlate service metrics with client-side measurements to distinguish storage constraints from network latency or application behavior.

App Service

Azure Files shares can be mounted at a configured path in App Service. An app can use that path to store uploads or other files that need to persist across restarts and be available to multiple app instances.

Azure Blob Storage

Azure Files can copy an Azure blob directly into a file share using the FileREST Copy File operation with the blob as its source. The data is copied server-side, without downloading it to a client and uploading it again.

Azure Cloud Shell

Azure Files provides persistent storage for Cloud Shell sessions configured with a storage account. Files saved to the mounted clouddrive are available when the user starts a new session.

Alternatives to Azure Files in other clouds

AWS

Amazon Elastic File System (Amazon EFS)Amazon Elastic File System (Amazon EFS)

Amazon EFS and Azure Files provide managed shared file storage for cloud and on-premises workloads. Amazon EFS supports NFS and bills for storage used, while Azure Files offers SMB or NFS per share and bills for provisioned or consumed capacity, depending on the pricing model.

Compare fact by fact
Azure FilesAmazon Elastic File System (Amazon EFS)
File access protocolsSMB or NFSv4.1 per shareNFSv4.0 and NFSv4.1
Storage capacity billingProvisioned or consumed, by modelStorage used
Amazon FSxAmazon FSx

Amazon FSx for Windows File Server and Azure Files both provide fully managed SMB file storage. FSx for Windows File Server provides a native Windows file system with daily backups enabled by default, while Azure Files hosts SMB shares in storage accounts and lets teams configure Azure Backup policies.

Compare fact by fact
Azure FilesAmazon FSx
What you deploySMB share in a storage accountNative Windows file system
Storage capacity billingProvisioned or pay-as-you-go HDDProvisioned SSD or HDD
SMB backup setupConfigurable Azure Backup policiesDaily backups enabled by default
Compared Nov 2026
AWS Storage GatewayAWS Storage Gateway

AWS Storage Gateway’s File Gateway and Azure Files both give on-premises applications access to cloud-backed files over SMB or NFS. File Gateway exposes files backed by Amazon S3 or Amazon FSx through a gateway you deploy, while Azure Files hosts managed shares that clients can mount directly.

Compare fact by fact
Azure FilesAWS Storage Gateway
File access deploymentDirectly mountable managed sharesCustomer-deployed file gateway
File storage billingPay-as-you-go or provisionedS3 usage or FSx capacity

What is Azure Files

2 min read

Azure Files provides managed network file shares for workloads that need directory hierarchies, file operations, and concurrent access from multiple clients. SMB shares support Windows, Linux, and macOS clients, while NFSv4.1 shares serve Linux workloads. Choose the protocol when creating a share: an individual share cannot expose the same data through both SMB and NFS. Applications can use native file system APIs against mounted shares, and supported programmatic operations are available through the FileREST API and Azure SDKs.

There are two management models. Classic file shares are deployed inside storage accounts through the Microsoft.Storage resource provider. Their capacity, performance, networking, and security design must account for shared account-level settings and limits. The Microsoft.FileShares resource provider also supports top-level NFSv4.1 shares on SSD storage without a storage account. These shares have independently provisioned capacity and performance, share-level configuration, and provisioned v2 billing. Use classic shares when SMB is required.

Select storage media and performance settings from measured workload requirements. SSD shares suit latency-sensitive applications and demanding metadata or random-I/O workloads. HDD shares suit workloads where storage cost matters more than latency; NFS on HDD is available in public preview. Provisioned v2 supports independent configuration of capacity, IOPS, and throughput. Benchmark representative file sizes, directory operations, concurrency, and client networking before committing to a production configuration.

For SMB authentication, supported options include Active Directory Domain Services, Microsoft Entra Domain Services, and Microsoft Entra Kerberos. Microsoft Entra-only identities support cloud-native SMB authentication without domain controllers, subject to client and configuration requirements. Combine share-level authorization with directory and file permissions rather than treating a successful mount as sufficient access control. NFS uses a different access model based on network restrictions and UNIX identity and permission semantics; do not assume SMB identity settings apply to NFS.

Design connectivity explicitly. SMB normally requires TCP port 445, which some internet providers and corporate networks block. Private endpoints, private DNS, and VPN or ExpressRoute connectivity provide a private access path for Azure and on-premises clients. Restrict public network access where appropriate. Data is encrypted at rest; configure supported SMB encryption settings and use supported NFS encryption-in-transit mechanisms when required. A private endpoint alone does not encrypt application traffic.

Availability and recovery require separate decisions. Redundancy options depend on media, protocol, region, and deployment model, and replication does not replace backup. Configure supported snapshots, share soft delete, and Azure Backup policies, then test restoration of both individual files and complete shares. Monitor capacity, transaction rates, latency, throttling, and provisioned performance utilization. For hybrid deployments, Azure File Sync can retain frequently accessed files on Windows Server while tiering colder content to an SMB Azure file share; it is not a distributed locking system for simultaneous editing across sites.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.