|
| 1 | +--- |
| 2 | +title: Manage availability zone volume placement for Azure NetApp Files | Microsoft Docs |
| 3 | +description: Describes how to create a volume with an availability zone by using Azure NetApp Files. |
| 4 | +services: azure-netapp-files |
| 5 | +documentationcenter: '' |
| 6 | +author: b-ahibbard |
| 7 | +manager: '' |
| 8 | +editor: '' |
| 9 | + |
| 10 | +ms.assetid: |
| 11 | +ms.service: azure-netapp-files |
| 12 | +ms.workload: storage |
| 13 | +ms.tgt_pltfrm: na |
| 14 | +ms.topic: how-to |
| 15 | +ms.date: 10/20/2022 |
| 16 | +ms.author: anfdocs |
| 17 | +--- |
| 18 | +# Manage availability zone volume placement for Azure NetApp Files |
| 19 | + |
| 20 | +Azure NetApp Files lets you deploy new volumes in the logical availability zone of your choice. To better understand availability zones, refer to [Using availability zones for high availability](use-availability-zones.md). |
| 21 | + |
| 22 | +## Requirements and considerations |
| 23 | + |
| 24 | +* The availability zone volume placement feature is supported only on newly created volumes. It is not currently supported on existing volumes. |
| 25 | + |
| 26 | +* This feature does not guarantee free capacity in the availability zone. For example, even if you can deploy a VM in availability zone 3 of the East US region, it doesn’t guarantee free Azure NetApp Files capacity in that zone. If no sufficient capacity is available, volume creation will fail. |
| 27 | + |
| 28 | +* After a volume is created with an availability zone, the specified availability zone can’t be modified. Volumes can’t be moved between availability zones. |
| 29 | + |
| 30 | +* NetApp accounts and capacity pools are not bound by the availability zone. A capacity pool can contain volumes in different availability zones. |
| 31 | + |
| 32 | +* This feature provides zonal volume placement, with latency within the zonal latency envelopes. It does not provide proximity placement towards compute. As such, it doesn’t provide lowest latency guarantee. |
| 33 | + |
| 34 | +* Each data center is assigned to a physical zone. Physical zones are mapped to logical zones in your Azure subscription. Azure subscriptions are automatically assigned this mapping at the time a subscription is created. This feature aligns with the generic logical-to-physical availability zone mapping for the subscription. |
| 35 | + |
| 36 | +* VMs and Azure NetApp Files volumes are to be deployed separately, within the same logical availability zone to create zone alignment between VMs and Azure NetApp Files. The availability zone volume placement feature does not create zonal VMs upon volume creation, or vice versa. |
| 37 | + |
| 38 | +## Register the feature |
| 39 | + |
| 40 | +The feature of availability zone volume placement is currently in preview. If you are using this feature for the first time, you need to register the feature first. |
| 41 | + |
| 42 | +1. Register the feature: |
| 43 | + |
| 44 | + ```azurepowershell-interactive |
| 45 | + Register-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFAvailabilityZone |
| 46 | + ``` |
| 47 | +
|
| 48 | +2. Check the status of the feature registration: |
| 49 | +
|
| 50 | + ```azurepowershell-interactive |
| 51 | + Get-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFAvailabilityZone |
| 52 | + ``` |
| 53 | +
|
| 54 | + > [!NOTE] |
| 55 | + > The **RegistrationState** may be in the `Registering` state for up to 60 minutes before changing to `Registered`. Wait until the status is **Registered** before continuing. |
| 56 | +
|
| 57 | +You can also use [Azure CLI commands](/cli/azure/feature) `az feature register` and `az feature show` to register the feature and display the registration status. |
| 58 | +
|
| 59 | +## Create a volume with an availability zone |
| 60 | +
|
| 61 | +1. Select **Volumes** from your capacity pool. Then select **+ Add volume** to create a volume. |
| 62 | +
|
| 63 | + For details about volume creation, see: |
| 64 | + * [Create an NFS volume](azure-netapp-files-create-volumes.md) |
| 65 | + * [Create an SMB volume](azure-netapp-files-create-volumes-smb.md) |
| 66 | + * [Create a dual-protocol volume](create-volumes-dual-protocol.md) |
| 67 | +
|
| 68 | +2. In the **Create a Volume** page, under the **Basic** tab, select the **Availability Zone** pulldown to specify an availability zone where Azure NetApp Files resources are present. |
| 69 | +
|
| 70 | + > [!IMPORTANT] |
| 71 | + > Logical availability zones for the subscription without Azure NetApp Files presence are marked `(Unavailable)` and are greyed out. |
| 72 | +
|
| 73 | + [  ](../media/azure-netapp-files/availability-zone-menu-drop-down.png#lightbox) |
| 74 | +
|
| 75 | + |
| 76 | +3. Follow the UI to create the volume. The **Review + Create** page shows the selected availability zone you specified. |
| 77 | +
|
| 78 | + [  ](../media/azure-netapp-files/availability-zone-display-down.png#lightbox) |
| 79 | + |
| 80 | +4. After you create the volume, the **Volume Overview** page includes availability zone information for the volume. |
| 81 | +
|
| 82 | + [  ](../media/azure-netapp-files/availability-zone-volume-overview.png#lightbox) |
| 83 | +
|
| 84 | +> [!IMPORTANT] |
| 85 | +> Once the volume is created using the availability zone volume placement feature, the volume has the same level of support as other volumes deployed in the subscription without this feature enabled. For example, if there is an issue with backup and restore on the volume, it will be supported because the problem is not with the availability zone volume placement feature itself. |
| 86 | +
|
| 87 | +## Next steps |
| 88 | +
|
| 89 | +* [Use availability zones for high availability](use-availability-zones.md) |
| 90 | +* [Create an NFS volume for Azure NetApp Files](azure-netapp-files-create-volumes.md) |
| 91 | +* [Create an SMB volume for Azure NetApp Files](azure-netapp-files-create-volumes-smb.md) |
| 92 | +* [Create a dual-protocol volume for Azure NetApp Files](create-volumes-dual-protocol.md) |
0 commit comments