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 an NFS volume.

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

  • Registration for 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.

To see all features that you can enable for an NFS volume and relevant considerations, see Create an NFS volume.

Register for NetApp Resource Provider

Note

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 approved 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. Select + Create to create a 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. Select OK.

    4. Select your account location.

      New NetApp Account window

      Resource group window

  4. Select Create to create your new NetApp account.

Create a capacity pool

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

    Screenshot of selecting NetApp account menu.

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

    Screenshot of Capacity pool selection interface.

  3. Select + Add pools.

    Screenshot of new capacity pool options.

  4. Provide information for the capacity pool:

    • Enter mypool1 as the pool name.
    • Select Premium for the service level.
    • Specify 4 (TiB) as the pool size.
    • Use the Auto QoS type.
  5. Select Create.

Create an NFS volume for Azure NetApp Files

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

    Screenshot of select volumes interface.

  2. Select + Add volume.

    Screenshot of add volumes interface.

  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, select 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, 10.7.0.0/16
      • Enter myANFsubnet as the subnet name.
      • Specify the subnet address range, for example, 10.7.0.0/24. You cannot share the dedicated subnet with other resources.
      • Select Microsoft.NetApp/volumes for subnet delegation.
      • Select OK to create the VNet.
    5. In subnet, select the newly created Vnet (myvnet1) as the delegate subnet.

      Screenshot of create a volume window.

      Screenshot of create a virtual network window.

  4. Select 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.

    Screenshot of NFS protocol for selection.

  5. Select Review + create to display information for the volume you are creating.

  6. Select Create to create the volume. The created volume appears in the Volumes blade.

    Screenshot of volume creation confirmation.

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.

Important

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

Important

Before you delete a resource group, you must first delete the backups. Deleting a resource group will not delete the backups. You can preemptively delete backups on volumes by disabling the backup policy or you can manually delete the backups. If you delete the resource group without disabling backups, backups will continue to impact your billing.

  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, select the resource group (myRG1) you want to delete.

    Screenshot of the resource groups menu.

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

    Screenshot that highlights the Delete resource group button.

    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 select Delete.

    Screenshot showing confirmation of deleting resource group.

Next steps