Quickstart: Set up Azure NetApp Files and create an NFS volume

This article shows you how to quickly set up Azure NetApp Files and create a volume.

In this quickstart, you will set up the following items:

  • Registration for Azure NetApp Files and NetApp Resource Provider
  • A NetApp account
  • A capacity pool
  • An NFS volume for Azure NetApp Files

If you don't have an Azure subscription, create a free account before you begin.

Before you begin


You need to be granted access to the Azure NetApp Files service. To request access to the service, see the Azure NetApp Files waitlist submission page. You must wait for an official confirmation email from the Azure NetApp Files team before continuing.

Use Azure Cloud Shell

Azure hosts Azure Cloud Shell, an interactive shell environment that you can use through your browser. You can use either Bash or PowerShell with Cloud Shell to work with Azure services. You can use the Cloud Shell preinstalled commands to run the code in this article without having to install anything on your local environment.

To start Azure Cloud Shell:

Option Example/Link
Select Try It in the upper-right corner of a code block. Selecting Try It doesn't automatically copy the code to Cloud Shell. Example of Try It for Azure Cloud Shell
Go to https://shell.azure.com, or select the Launch Cloud Shell button to open Cloud Shell in your browser. Launch Cloud Shell in a new window
Select the Cloud Shell button on the menu bar at the upper right in the Azure portal. Cloud Shell button in the Azure portal

To run the code in this article in Azure Cloud Shell:

  1. Start Cloud Shell.

  2. Select the Copy button on a code block to copy the code.

  3. Paste the code into the Cloud Shell session by selecting Ctrl+Shift+V on Windows and Linux or by selecting Cmd+Shift+V on macOS.

  4. Select Enter to run the code.

Register for Azure NetApp Files and NetApp Resource Provider


The registration process can take some time to complete.

For registration steps using Portal, open a Cloud Shell session as indicated above and follow these Azure CLI steps:

  1. Specify the subscription that has been whitelisted for Azure NetApp Files:

    az account set --subscription <subscriptionId>
  2. Register the Azure Resource Provider:

    az provider register --namespace Microsoft.NetApp --wait  

Create a NetApp account

  1. In the Azure portal’s search box, enter Azure NetApp Files and then select Azure NetApp Files from the list that appears.

    Select Azure NetApp Files

  2. Click + Add to create a new NetApp account.

    Create new NetApp account

  3. In the New NetApp Account window, provide the following information:

    1. Enter myaccount1 for the account name.

    2. Select your subscription.

    3. Select Create new to create new resource group. Enter myRG1 for the resource group name. Click OK.

    4. Select your account location.

      New NetApp Account window

      Resource group window

  4. Click Create to create your new NetApp account.

Set up a capacity pool

  1. From the Azure NetApp Files management blade, select your NetApp account (myaccount1).

    Select NetApp account

  2. From the Azure NetApp Files management blade of your NetApp account, click Capacity pools.

    Click Capacity pools

  3. Click + Add pools.

    Click Add pools

  4. Provide information for the capacity pool:

    1. Enter mypool1 as the pool name.
    2. Select Premium for the service level.
    3. Specify 4 (TiB) as the pool size.
  5. Click OK.

Create NFS volume for Azure NetApp Files

  1. From the Azure NetApp Files management blade of your NetApp account, click Volumes.

    Click Volumes

  2. Click + Add volume.

    Click Add volumes

  3. In the Create a Volume window, provide information for the volume:

    1. Enter myvol1 as the volume name.

    2. Select your capacity pool (mypool1).

    3. Use the default value for quota.

    4. Under virtual network, click Create new to create a new Azure virtual network (Vnet). Then fill in the following information:

      • Enter myvnet1 as the Vnet name.
      • Specify an address space for your setting, for example,
      • Enter myANFsubnet as the subnet name.
      • Specify the subnet address range, for example, You cannot share the dedicated subnet with other resources.
      • Select Microsoft.NetApp/volumes for subnet delegation.
      • Click OK to create the Vnet.
    5. In subnet, select the newly created Vnet (myvnet1) as the delegate subnet.

      Create a volume window

      Create virtual network window

  4. Click Protocol, and then complete the following actions:

    • Select NFS as the protocol type for the volume.
    • Enter myfilepath1 as the file path that will be used to create the export path for the volume.
    • Select the NFS version (NFSv3 or NFSv4.1) for the volume.
      See considerations and best practice about NFS versions.

Specify NFS protocol for quickstart

  1. Click Review + create.

    Review and create window

  2. Review information for the volume, then click Create.
    The created volume appears in the Volumes blade.

    Volume created

Clean up resources

When you are done and if you want to, you can delete the resource group. The action of deleting a resource group is irreversible.


All resources within the resource groups will be permanently deleted and cannot be undone.

  1. In the Azure portal’s search box, enter Azure NetApp Files and then select Azure NetApp Files from the list that appears.

  2. In the list of subscriptions, click the resource group (myRG1) you want to delete.

    Navigate to resource groups

  3. In the resource group page, click Delete resource group.

    Delete resource group

    A window opens and displays a warning about the resources that will be deleted with the resource group.

  4. Enter the name of the resource group (myRG1) to confirm that you want to permanently delete the resource group and all resources in it, and then click Delete.

    Delete resource group

Next steps