You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-quick-create-use-linux.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
-
title: Tutorial - Create an NFS Azure file share and mount it on a Linux VM using the Azure Portal
2
+
title: Tutorial - Create an NFS Azure file share and mount it on a Linux VM using the Azure portal
3
3
description: This tutorial covers how to use the Azure portal to deploy a Linux virtual machine, create an Azure file share using the NFS protocol, and mount the file share so that it's ready to store files.
4
4
author: khdownie
5
5
ms.service: storage
6
6
ms.topic: tutorial
7
-
ms.date: 05/24/2022
7
+
ms.date: 08/03/2022
8
8
ms.author: kendownie
9
9
ms.subservice: files
10
10
#Customer intent: As an IT admin new to Azure Files, I want to try out Azure file share using NFS and Linux so I can determine whether I want to subscribe to the service.
11
11
---
12
12
13
-
# Tutorial: Create an NFS Azure file share and mount it on a Linux VM using the Azure Portal
13
+
# Tutorial: Create an NFS Azure file share and mount it on a Linux VM using the Azure portal
14
14
15
15
Azure Files offers fully managed file shares in the cloud that are accessible via the industry standard [Server Message Block (SMB) protocol](/windows/win32/fileio/microsoft-smb-protocol-and-cifs-protocol-overview) or [Network File System (NFS) protocol](https://en.wikipedia.org/wiki/Network_File_System). Both NFS and SMB protocols are supported on Azure virtual machines (VMs) running Linux. This tutorial shows you how to create an Azure file share using the NFS protocol and connect it to a Linux VM.
16
16
@@ -47,7 +47,7 @@ Before you can work with an NFS 4.1 Azure file share, you have to create an Azur
47
47
1. Enter a name for your storage account. The name you choose must be unique across Azure. The name also must be between 3 and 24 characters in length, and may include only numbers and lowercase letters.
48
48
1. Select a region for your storage account, or use the default region. Azure supports NFS file shares in all the same regions that support premium file storage.
49
49
1. Select the *Premium* performance tier to store your data on solid-state drives (SSD). Under **Premium account type**, select *File shares*.
50
-
1. Leave replication set to its default value of *Locally-redundant storage (LRS)*.
50
+
1. Leave replication set to its default value of *Locallyredundant storage (LRS)*.
51
51
1. Select **Review + Create** to review your storage account settings and create the account.
52
52
1. When you see the **Validation passed** notification appear, select **Create**. You should see a notification that deployment is in progress.
53
53
@@ -61,17 +61,17 @@ Next, create an Azure VM running Linux to represent the on-premises server. When
61
61
62
62
1. Select **Home**, and then select **Virtual machines** under **Azure services**.
63
63
64
-
1. Select **+ Create** and then **+ Virtual machine**.
64
+
1. Select **+ Create** and then **+ Azure virtual machine**.
65
65
66
-
1. In the **Basics** tab, under **Project details**, make sure the correct subscription and resource group are selected. Under **Instance details**, type *myVM* for the **Virtual machine name**, and select the same region as your storage account. Choose the default Ubuntu Server version for your **Image**. Leave the other defaults. The default size and pricing is only shown as an example. Size availability and pricing is dependent on your region and subscription.
66
+
1. In the **Basics** tab, under **Project details**, make sure the correct subscription and resource group are selected. Under **Instance details**, type *myVM* for the **Virtual machine name**, and select the same region as your storage account. Choose the default Ubuntu Server version for your **Image**. Leave the other defaults. The default size and pricing is only shown as an example. Size availability and pricing are dependent on your region and subscription.
67
67
68
68
:::image type="content" source="media/storage-files-quick-create-use-linux/create-vm-project-instance-details.png" alt-text="Screenshot showing how to enter the project and instance details to create a new V M." lightbox="media/storage-files-quick-create-use-linux/create-vm-project-instance-details.png" border="true":::
69
69
70
70
1. Under **Administrator account**, select **SSH public key**. Leave the rest of the defaults.
71
71
72
72
:::image type="content" source="media/storage-files-quick-create-use-linux/create-vm-admin-account.png" alt-text="Screenshot showing how to configure the administrator account and create an S S H key pair for a new V M." lightbox="media/storage-files-quick-create-use-linux/create-vm-admin-account.png" border="true":::
73
73
74
-
1. Under **Inbound port rules > Public inbound ports**, choose **Allow selected ports** and then select **SSH (22) and HTTP (80)** from the drop-down.
74
+
1. Under **Inbound port rules > Public inbound ports**, choose **Allow selected ports** and then select **SSH (22)** and **HTTP (80)** from the drop-down.
75
75
76
76
:::image type="content" source="media/storage-files-quick-create-use-linux/create-vm-inbound-port-rules.png" alt-text="Screenshot showing how to configure the inbound port rules for a new V M." lightbox="media/storage-files-quick-create-use-linux/create-vm-inbound-port-rules.png" border="true":::
77
77
@@ -82,7 +82,7 @@ Next, create an Azure VM running Linux to represent the on-premises server. When
82
82
83
83
1. On the **Create a virtual machine** page, you can see the details about the VM you are about to create. Note the name of the virtual network. When you are ready, select **Create**.
84
84
85
-
1. When the **Generate new key pair** window opens, select **Download private key and create resource**. Your key file will be download as **myKey.pem**. Make sure you know where the .pem file was downloaded, because you'll need the path to it to connect to your VM.
85
+
1. When the **Generate new key pair** window opens, select **Download private key and create resource**. Your key file will be download as **myVM_key.pem**. Make sure you know where the .pem file was downloaded, because you'll need the path to it to connect to your VM.
86
86
87
87
You'll see a message that deployment is in progress. Wait a few minutes for deployment to complete.
88
88
@@ -120,17 +120,21 @@ Next, you'll need to set up a private endpoint for your storage account. This gi
120
120
121
121
:::image type="content" source="media/storage-files-quick-create-use-linux/create-private-endpoint.png" alt-text="Screenshot showing how to select + private endpoint to create a new private endpoint.":::
122
122
123
-
1. Leave **Subscription** and **Resource group** the same. Under **Instance**, provide a name and select a region for the new private endpoint. Your private endpoint must be in the same region as your virtual network, so use the same region as you specified when creating the V M. When all the fields are complete, select **Next: Resource**.
123
+
1. Leave **Subscription** and **Resource group** the same. Under **Instance**, provide a name and select a region for the new private endpoint. Your private endpoint must be in the same region as your virtual network, so use the same region as you specified when creating the VM. When all the fields are complete, select **Next: Resource**.
124
124
125
125
:::image type="content" source="media/storage-files-quick-create-use-linux/private-endpoint-basics.png" alt-text="Screenshot showing how to provide the project and instance details for a new private endpoint." lightbox="media/storage-files-quick-create-use-linux/private-endpoint-basics.png" border="true":::
126
126
127
127
1. Confirm that the **Subscription**, **Resource type** and **Resource** are correct, and select **File** from the **Target sub-resource** drop-down. Then select **Next: Virtual Network**.
128
128
129
129
:::image type="content" source="media/storage-files-quick-create-use-linux/private-endpoint-resource.png" alt-text="Screenshot showing how to select the resources that a new private endpoint should connect to." lightbox="media/storage-files-quick-create-use-linux/private-endpoint-resource.png" border="true":::
130
130
131
-
1. Under **Networking**, select the virtual network associated with your VM and leave the default subnet. Select**Yes** for**Integrate with private DNS zone**. Select the correct subscription and resource group, and then select **Next: Tags**.
131
+
1. Under **Networking**, select the virtual network associated with your VM and leave the default subnet. Under**Private IP configuration**, leave**Dynamically allocate IP address** selected. Select **Next: DNS**.
132
132
133
-
:::image type="content" source="media/storage-files-quick-create-use-linux/private-endpoint-networking.png" alt-text="Screenshot showing how to add virtual networking and D N S integration to a new private endpoint." lightbox="media/storage-files-quick-create-use-linux/private-endpoint-networking.png" border="true":::
133
+
:::image type="content" source="media/storage-files-quick-create-use-linux/private-endpoint-virtual-network.png" alt-text="Screenshot showing how to add virtual networking and private IP configuration to a new private endpoint." lightbox="media/storage-files-quick-create-use-linux/private-endpoint-virtual-network.png" border="true":::
134
+
135
+
1. Select **Yes** for **Integrate with private DNS zone**. Make sure the correct subscription and resource group are selected, and then select **Next: Tags**.
136
+
137
+
:::image type="content" source="media/storage-files-quick-create-use-linux/private-endpoint-dns.png" alt-text="Screenshot showing how to integrate your private endpoint with a private DNS zone." lightbox="media/storage-files-quick-create-use-linux/private-endpoint-dns.png" border="true":::
134
138
135
139
1. You can optionally apply tags to categorize your resources, such as applying the name **Environment** and the value **Test** to all testing resources. Enter name/value pairs if desired, and then select **Next: Review + create**.
0 commit comments