Edit

Configure network routing preference for Azure Blob Storage and Azure Data Lake Storage

✔️ Applies to: Azure Blob Storage, Azure Data Lake Storage

✖️ Doesn't apply to: Azure Files (Microsoft.Storage or Microsoft.FileShares)

This article describes how you can configure the network routing preference and route-specific endpoints for your storage account.

The network routing preference specifies how network traffic is routed to your account from clients over the internet. Route-specific endpoints are new endpoints that Azure Storage creates for your storage account. These endpoints route traffic over a desired path without changing your default routing preference. To learn more, see Network routing preference for Azure Storage.

For Azure Files, see Configure routing preference. Storage accounts that contain Azure file shares use the same setting, but the Azure Files article describes considerations for Azure Files. If your storage account contains or will contain Azure file shares, don't change the routing preference to Internet routing. The default option, Microsoft routing, works with all Azure Files configurations.

Configure the routing preference for the default public endpoint

By default, the routing preference for the public endpoint of the storage account is set to Microsoft global network. You can choose between the Microsoft global network and Internet routing as the default routing preference for the public endpoint of your storage account. To learn more about the difference between these two types of routing, see Network routing preference for Azure Storage.

To change your routing preference to Internet routing:

  1. Sign in to the Azure portal.

  2. Go to your storage account in the portal.

  3. Under Security + networking, select Networking.

  4. In the Network routing tab, set the Routing preference to Internet routing.

  5. Select Save.

    internet routing option

Configure a route-specific endpoint

You can also configure a route-specific endpoint. For example, you can set the routing preference for the default endpoint to Internet routing, and then publish a route-specific endpoint that enables traffic between clients on the internet and your storage account to be routed via the Microsoft global network.

This preference affects only the route-specific endpoint. This preference doesn't affect your default routing preference.

  1. Go to your storage account in the portal.

  2. Under Security + networking, select Networking.

  3. In the Network routing tab, under Publish route-specific endpoints, choose the routing preference for your route-specific endpoint, and then select Save.

    The following image shows the Microsoft network routing option selected.

    Microsoft network routing option

Find the endpoint name for a route-specific endpoint

If you configured a route-specific endpoint, you can find the endpoint in the properties of your storage account.

  1. Under Settings, select Endpoints.

  2. The Microsoft network routing endpoint is shown for each service that supports routing preferences. The following image shows an example.

    Microsoft network routing option for route-specific endpoints

See also