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 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 for the file path 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're 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're done and if you want to, you can delete the resource group. The action of deleting a resource group is irreversible.

Important

Deleting a resource group also deletes all resources within it. The action can't be undone.

Important

Before you delete a resource group, you must first delete the backups. Deleting a resource group doesn't delete the backups. You can preemptively delete backups on volumes by manually delete the backups. If you delete the resource group without deleting all the backups, you lose the ability to see the backups. The backups, however, can continue to incur costs. If you're wrongly billed for some backups, open a support case ticket to get this issue resolved.

  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 to 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