Skip to content

Commit 12ed554

Browse files
committed
EiT for NFS GA
1 parent b0e45bf commit 12ed554

File tree

2 files changed

+35
-26
lines changed

2 files changed

+35
-26
lines changed

articles/storage/files/encryption-in-transit-for-nfs-shares.md

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: How to Encrypt Data in Transit for NFS shares (preview)
2+
title: How to Encrypt Data in Transit for NFS shares
33
description: This article explains how you can encrypt data in transit (EiT) for NFS Azure file shares by using a TLS channel.
44
author: guptasonia
55
ms.service: azure-file-storage
66
ms.topic: how-to
7-
ms.date: 06/11/2025
7+
ms.date: 06/27/2025
88
ms.author: kendownie
99
ms.custom:
1010
- devx-track-azurepowershell
@@ -13,14 +13,10 @@ ms.custom:
1313
# Customer intent: As a network administrator, I want to securely encrypt data in transit for NFS Azure file shares using TLS, so that I can protect sensitive information from interception and ensure data confidentiality without complex network security or authentication setups.
1414
---
1515

16-
# Encryption in transit for NFS Azure file shares (preview)
16+
# Encryption in transit for NFS Azure file shares
1717

1818
This article explains how you can encrypt data in transit for NFS Azure file shares.
1919

20-
> [!IMPORTANT]
21-
> - Encryption in transit for Azure file shares NFS v4.1 is currently in **preview**.
22-
> - See the [Preview Terms Of Use | Microsoft Azure](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
23-
2420
Azure Files NFS v4.1 volumes enhance network security by enabling secure TLS connections, protecting data in transit from interception, including MITM attacks.
2521

2622
Using [Stunnel](https://www.stunnel.org/), an open-source TLS wrapper, Azure Files encrypts the TCP stream between the NFS client and Azure Files with strong encryption using AES-GCM, without needing Kerberos. This ensures data confidentiality while eliminating the need for complex setups or external authentication systems like Active Directory.
@@ -35,13 +31,11 @@ The [AZNFS](https://github.com/Azure/AZNFS-mount) utility package simplifies enc
3531

3632
## Supported regions
3733

38-
All regions that support Azure Premium Files now support encryption in transit.
39-
34+
EiT is now Generally Available (GA) in all regions that support Azure Premium Files except China North3, New Zealand North, West Europe, US East2, US Central, US South and Korea Central. These remaining regions are currently running preview. You need to register your subscription per the instructions shared below to use EiT in the preview regions.
4035

4136
## Register for preview
4237

43-
To enable encryption in transit for your NFS shares, you must register for the preview feature.
44-
38+
To enable encryption in transit for your storage accounts and NFS shares in the preview regions (China North3, New Zealand North, West Europe, US East2, US Central, US South, and Korea Central), you must register for the preview. No registration is needed in the GA regions.
4539

4640
### [Portal](#tab/azure-portal)
4741

@@ -72,13 +66,37 @@ az feature register --name AllowEncryptionInTransitNFS4 --namespace Microsoft.St
7266

7367
## Enforce encryption in transit
7468

75-
By enabling the **Secure transfer required** setting on the storage account, you can ensure that all the mounts to the NFS volumes in the storage account are encrypted.
69+
By enabling the **Secure transfer required** setting on the storage account, you can ensure that all the mounts to the NFS volumes in the storage account are encrypted. EiT can be enabled on both new and existing storage accounts and NFS Azure file shares. There is no additional cost for enabling EiT.
7670

77-
:::image type="content" source="./media/encryption-in-transit-nfs-shares/storage-account-settings.png" alt-text="Screenshot showing how to enable Secure transfer on a storage account." lightbox="./media/encryption-in-transit-nfs-shares/storage-account-settings.png":::
71+
:::image type="content" source="./media/encryption-in-transit-nfs-shares/mount-nfs-share-using-encryption-in-transit.png" alt-text="Screenshot showing AZNFS mount instructions in the Azure portal." lightbox="./media/encryption-in-transit-nfs-shares/mount-nfs-share-using-encryption-in-transit.png":::
7872

7973
However, for users who prefer to maintain flexibility between TLS and non-TLS connections on the same storage account, the **Secure transfer** setting must remain OFF.
80-
81-
## How to encrypt data in transit for NFS shares (preview)
74+
75+
> [!IMPORTANT]
76+
>
77+
> AZNFS supported Linux distributions are:
78+
>
79+
> - Ubuntu (18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS)
80+
> - Centos7, Centos8
81+
> - RedHat7, RedHat8, RedHat9
82+
> - Rocky8, Rocky9
83+
> - SUSE (SLES 15)
84+
> - Oracle Linux
85+
> - Alma Linux
86+
87+
## Encrypt data in transit for NFS shares
88+
89+
You can encrypt data in transit for NFS Azure file shares by using the Azure portal or Azure CLI.
90+
91+
### Encrypt data in transit for NFS shares using the Azure portal
92+
93+
Azure portal offers a step-by-step, ready-to-use installation script tailored to your selected Linux distribution for installing the AZNFS mount helper package. Once installed, you can use the provided AZNFS mount script to securely mount the NFS share, establishing an encrypted transmission channel between the client and the server.
94+
95+
:::image type="content" source="./media/encryption-in-transit-nfs-shares/storage-account-settings.png" alt-text="Screenshot showing how to enable Secure transfer on a storage account." lightbox="./media/encryption-in-transit-nfs-shares/storage-account-settings.png":::
96+
97+
To support scenarios requiring both TLS and non-TLS connections within the same storage account, ensure that the Secure transfer required setting remains disabled.
98+
99+
### Encrypt data in transit for NFS shares using Azure CLI
82100

83101
Follow these steps to encrypt data in transit:
84102

@@ -142,17 +160,6 @@ sudo yum install -y aznfs
142160
```
143161
---
144162

145-
> [!IMPORTANT]
146-
>
147-
> AZNFS supported Linux distributions are:
148-
>
149-
> - Ubuntu (18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS)
150-
> - Centos7, Centos8
151-
> - RedHat7, RedHat8, RedHat9
152-
> - Rocky8, Rocky9
153-
> - SUSE (SLES 15)
154-
> - Oracle Linux
155-
> - Alma Linux
156163

157164
### Step 2: Mount the NFS file share
158165

@@ -217,6 +224,8 @@ To resolve this issue, remount the share using the clean option, which immediate
217224
sudo mount -t aznfs <storage-account-name>.file.core.windows.net:/<storage-account-name>/<share-name> /mount/<storage-account-name>/<share-name> -o vers=4,minorversion=1,sec=sys,nconnect=4,notls,clean
218225
```
219226

227+
If a VM is **custom domain joined**, use custom DNS FQDN or short names for file share in `/etc/fstab` as defined in the DNS. To verify the hostname resolution, check using `nslookup <hostname>` and `getent host <hostname>` commands. Before running the mount command, ensure that the environment variable `AZURE_ENDPOINT_OVERRIDE` is set.
228+
220229
If mounting issues continue, check the log files for more troubleshooting details:
221230

222231
- **Mount Helper and Watchdog Logs**: `/opt/microsoft/aznfs/data/aznfs.log`
75.4 KB
Loading

0 commit comments

Comments
 (0)