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.
Register for Azure NetApp Files and NetApp Resource Provider
From the Azure portal, click the Azure Cloud Shell icon on the upper right-hand corner.
Specify the subscription that has been whitelisted for Azure NetApp Files:
az account set --subscription <subscriptionId>
Register the Azure Resource Provider:
az provider register --namespace Microsoft.NetApp --wait
The registration process can take some time to complete.
Create a NetApp account
In the Azure portal’s search box, enter Azure NetApp Files and then select Azure NetApp Files (preview) from the list that appears.
Click + Add to create a new NetApp account.
In the New NetApp Account window, provide the following information:
Enter myaccount1 for the account name.
Select your subscription.
Select Create new to create new resource group. Enter myRG1 for the resource group name. Click OK.
Select your account location.
Click Create to create your new NetApp account.
Set up a capacity pool
From the Azure NetApp Files management blade, select your NetApp account (myaccount1).
From the Azure NetApp Files management blade of your NetApp account, click Capacity pools.
Click + Add pools.
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.
Create an NFS volume for Azure NetApp Files
From the Azure NetApp Files management blade of your NetApp account, click Volumes.
Click + Add volume.
In the Create a Volume window, provide information for the volume:
Enter myvol1 as the volume name.
Select your capacity pool (mypool1).
Use the default value for quota.
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, 10.7.0.0/16
- Enter myANFsubnet as the subnet name.
- Specify the subnet address range, for example, 10.7.0.0/24. Note that you cannot share the dedicated subnet with other resources.
- Select Microsoft.NetApp/volumes for subnet delegation.
- Click OK to create the Vnet.
In subnet, select the newly created Vnet (myvnet1) as the delegate subnet.
Click Protocol, then 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.
Click Review + create.
Review information for the volume, then click Create.
The created volume appears in the Volumes blade.
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.
In the Azure portal’s search box, enter Azure NetApp Files and then select Azure NetApp Files from the list that appears.
In the list of subscriptions, click the resource group (myRG1) you want to delete.
In the resource group page, click Delete resource group.
A window opens and displays a warning about the resources that will be deleted with the resource group.
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.
Send feedback about: