Edit

Enable IPv6 endpoints for Azure Storage (preview)

IPv6 support for Azure Storage is now available in public preview. When you enable IPv6 for a storage account, Azure Storage publishes a second set of public endpoints that clients reach natively over IPv6. Your existing IPv4 endpoints don't change, so IPv4 clients keep working without any changes.

Important

IPv6 support for Azure Storage is currently in preview. See the Supplemental Terms of Use for Microsoft Azure Previews for terms that apply to Azure features that are in preview.

How IPv6 public endpoints work

When you enable IPv6 on a storage account, Azure Storage publishes an IPv6 public endpoint for each supported service. The endpoint name adds the -ipv6 suffix to the storage account name.

The following table shows the IPv6 endpoints for a storage account named myaccount:

Storage service Default endpoint (IPv4) IPv6 public endpoint
Azure Blob https://myaccount.blob.core.windows.net https://myaccount-ipv6.blob.core.windows.net
Azure Files https://myaccount.file.core.windows.net https://myaccount-ipv6.file.core.windows.net
Azure Queue https://myaccount.queue.core.windows.net https://myaccount-ipv6.queue.core.windows.net
Azure Table https://myaccount.table.core.windows.net https://myaccount-ipv6.table.core.windows.net

What's supported

IPv6 is supported for the following Azure Storage services when accessed through the REST APIs or Azure Storage SDKs:

  • Azure Blob
  • Azure Files
  • Azure Table
  • Azure Queue

Pricing and availability

IPv6 support is in public preview in all public Azure regions, and there's no cost to enable it. Pricing is based on the standard transaction costs for your storage account type. To learn more, see Azure Storage pricing.

Get started

To enable IPv6 support for your storage account, complete the following steps.

Step 1: Register for the preview

Register your subscription for the preview by using PowerShell or the Azure CLI.

Run the following commands to register for the preview:

Connect-AzAccount -Subscription <subscription-id>
Register-AzProviderFeature -FeatureName AllowPublishingIPv6Endpoints -ProviderNamespace Microsoft.Storage

To check your registration state, run the following commands:

Connect-AzAccount -Subscription <subscription-id>
Get-AzProviderFeature -FeatureName AllowPublishingIPv6Endpoints -ProviderNamespace Microsoft.Storage

Confirm that RegistrationState is Registered before you continue to Step 2.

Step 2: Enable the IPv6 public endpoints

After your subscription is registered for the preview, enable the IPv6 public endpoints on each storage account by setting the publishIpv6Endpoint property to true. This article shows how to enable the property on an existing storage account by using the Azure portal or the Azure CLI. You can also enable the IPv6 public endpoint when you create a storage account by using the Azure portal, the Azure CLI, or the Azure Storage SDKs.

Azure portal

To enable the IPv6 public endpoint for an existing storage account by using the Azure portal, follow these steps:

  1. In the Azure portal, go to your storage account.
  2. Expand Security + networking, select Networking, and then select Internet Protocol.
  3. Select the Enable IPv6 support checkbox, and then select Save.

Azure CLI

To enable the IPv6 public endpoints for an existing storage account by using the Azure CLI, run the following commands:

az account set --subscription <subscription-id>
az storage account update --resource-group <resource-group> --name <storage-account> --publish-ipv6-endpoint=true

Step 3 (optional): Secure access to your IPv6 public endpoints

Secure access to your IPv6 public endpoints by using firewall rules (IP network rules, resource instance rules, and trusted service exceptions). To learn more, see Azure Storage firewall rules and network access control.

Note

Service endpoints don't currently support IPv6. If you configure a virtual network rule on your storage account, your IPv6 clients can't access the IPv6 public endpoint.

Step 4: Configure IPv6 clients and applications to access your data

To access Azure Storage over IPv6, configure your IPv6 clients and applications to use the IPv6 endpoint:

Service IPv6 endpoint
Azure Blob Storage / Azure Data Lake Storage https://<account>-ipv6.blob.core.windows.net
Azure Files https://<account>-ipv6.file.core.windows.net
Azure Table Storage https://<account>-ipv6.table.core.windows.net
Azure Queue Storage https://<account>-ipv6.queue.core.windows.net

Step 5 (optional): Access your storage account by using an IPv6 private endpoint

If you access your storage account by using a private endpoint, see Configure Azure Private Link over IPv6 (preview) to set up IPv6 private endpoints.

Limitations

The IPv6 public preview has the following limitations:

  • IPv6 is only supported for general-purpose v2 storage accounts (StorageV2 account kind).
  • Azure Files doesn't support IPv6 when you use the SMB or NFS 4.1 protocols.
  • Azure Blob Storage doesn't support IPv6 when you use the NFS 3.0 or SFTP protocols.
  • Service endpoints don't currently support IPv6. If you configure a virtual network rule on your storage account, your IPv6 clients can't access the IPv6 public endpoint.
  • Internet routing preference isn't supported. IPv6 traffic must use Microsoft network routing.
  • Sovereign clouds aren't supported.

Troubleshooting

Symptom Recommended action
IPv6 clients can't access the IPv6 public endpoint. 1. Verify that IPv6 endpoints are enabled on the storage account (publishIpv6Endpoint is true).

2. Verify that your firewall rules (IP network rules, resource instance rules, and trusted service exceptions) are correct. See Azure Storage firewall rules and network access control.

3. If you configured virtual network rules, delete them. Service endpoints don't support IPv6.
IPv6 clients can't access the IPv6 private endpoint. Follow the steps in Configure Azure Private Link over IPv6 (preview).

Next steps