|
| 1 | +--- |
| 2 | +title: Configure network routing preference (preview) |
| 3 | +titleSuffix: Azure Storage |
| 4 | +description: Configure network routing preference (preview) for your Azure storage account to specify how network traffic is routed to your account from clients over the Internet. |
| 5 | +services: storage |
| 6 | +author: santoshc |
| 7 | + |
| 8 | +ms.service: storage |
| 9 | +ms.topic: article |
| 10 | +ms.date: 05/12/2020 |
| 11 | +ms.author: santoshc |
| 12 | +ms.reviewer: tamram |
| 13 | +ms.subservice: common |
| 14 | +--- |
| 15 | + |
| 16 | +# Configure network routing preference for Azure Storage (preview) |
| 17 | + |
| 18 | +You can configure network [routing preference](../../virtual-network/routing-preference-overview.md) (preview) for your Azure storage account to specify how network traffic is routed to your account from clients over the Internet. By default, traffic from the Internet is routed to the public endpoint of your storage account over the [Microsoft global network](../../networking/microsoft-global-network.md). Azure Storage provides additional options for configuring how traffic is routed to your storage account. |
| 19 | + |
| 20 | +Configuring routing preference gives you the flexibility to optimize your traffic either for premium network performance or for cost. When you configure a routing preference, you specify how traffic will be directed to the public endpoint for your storage account by default. You can also publish route-specific endpoints for your storage account. |
| 21 | + |
| 22 | +## Microsoft global network versus Internet routing |
| 23 | + |
| 24 | +By default, clients outside of the Azure environment access your storage account over the Microsoft global network. The Microsoft global network is optimized for low-latency path selection to deliver premium network performance with high reliability. Both inbound and outbound traffic are routed through the point of presence (POP) that is closest to the client. This default routing configuration ensures that traffic to and from your storage account traverses over the Microsoft global network for the bulk of its path, maximizing network performance. |
| 25 | + |
| 26 | +You can change the routing configuration for your storage account so that both inbound and outbound traffic are routed to and from clients outside of the Azure environment through the POP closest to the storage account. This route minimizes the traversal of your traffic over the Microsoft global network, handing it off to the transit ISP at the earliest opportunity. Utilizing this routing configuration lowers networking costs. |
| 27 | + |
| 28 | +The following diagram shows how traffic flows between the client and the storage account for each routing preference: |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +For more information on routing preference in Azure, see [What is routing preference (preview)?](../../virtual-network/routing-preference-overview.md). |
| 33 | + |
| 34 | +## Routing configuration |
| 35 | + |
| 36 | +You can choose between the Microsoft global network and Internet routing as the default routing preference for the public endpoint of your storage account. The default routing preference applies to all traffic from clients outside Azure and affects the endpoints for Azure Data Lake Storage Gen2, Blob storage, Azure Files, and static websites. Configuring routing preference is not supported for Azure Queues or Azure Tables. |
| 37 | + |
| 38 | +You can also publish route-specific endpoints for your storage account. When you publish route-specific endpoints, Azure Storage creates new public endpoints for your storage account that route traffic over the desired path. This flexibility enables you to direct traffic to your storage account over a specific route without changing your default routing preference. |
| 39 | + |
| 40 | +For example, publishing an Internet route-specific endpoint for the 'StorageAccountA' will publish the following endpoints for your storage account: |
| 41 | + |
| 42 | +| Storage service | Route-specific endpoint | |
| 43 | +| :--------------------- | :------------------------------------------------------- | |
| 44 | +| Blob service | `StorageAccountA-internetrouting.blob.core.windows.net` | |
| 45 | +| Data Lake Storage Gen2 | `StorageAccountA-internetrouting.dfs.core.windows.net` | |
| 46 | +| File service | `StorageAccountA-internetrouting.file.core.windows.net` | |
| 47 | +| Static Websites | `StorageAccountA-internetrouting.web.core.windows.net` | |
| 48 | + |
| 49 | +If you have a read-access geo-redundant storage (RA-GRS) or a read-access geo-zone-redundant storage (RA-GZRS) storage account, publishing route-specific endpoints also automatically creates the corresponding endpoints in the secondary region for read access. |
| 50 | + |
| 51 | +| Storage service | Route-specific read-only secondary endpoint | |
| 52 | +| :--------------------- | :----------------------------------------------------------------- | |
| 53 | +| Blob service | `StorageAccountA-internetrouting-secondary.blob.core.windows.net` | |
| 54 | +| Data Lake Storage Gen2 | `StorageAccountA-internetrouting-secondary.dfs.core.windows.net` | |
| 55 | +| File service | `StorageAccountA-internetrouting-secondary.file.core.windows.net` | |
| 56 | +| Static Websites | `StorageAccountA-internetrouting-secondary.web.core.windows.net` | |
| 57 | + |
| 58 | +The connection strings for the published route-specific endpoints can be copied via the [Azure portal](https://portal.azure.com). These connection strings can be used for Shared Key authorization with all existing Azure Storage SDKs and APIs. |
| 59 | + |
| 60 | +## About the preview |
| 61 | + |
| 62 | +Routing preference for Azure Storage is available in the following regions: |
| 63 | + |
| 64 | +- France South |
| 65 | +- North Central US |
| 66 | +- West Central US |
| 67 | + |
| 68 | +The following known issues affect the routing preference preview for Azure Storage: |
| 69 | + |
| 70 | +- Access requests for the route-specific endpoint for the Microsoft global network fail with HTTP error 404 or equivalent. Routing over the Microsoft global network works as expected when it is set as the default routing preference for the public endpoint. |
| 71 | + |
| 72 | +## Pricing and billing |
| 73 | + |
| 74 | +For pricing and billing details, see the **Pricing** section in [What is routing preference (preview)?](../../virtual-network/routing-preference-overview.md#pricing). |
| 75 | + |
| 76 | +## Next steps |
| 77 | + |
| 78 | +- [What is routing preference (preview)?](../../virtual-network/routing-preference-overview.md) |
| 79 | +- [Configure Azure Storage firewalls and virtual networks](storage-network-security.md) |
| 80 | +- [Security recommendations for Blob storage](../blobs/security-recommendations.md) |
0 commit comments