You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Applies to:**:heavy_check_mark: Front Door Premium
17
17
18
-
This article guides you through configuring Azure Front Door Premium to connect privately to a storage account origin using Azure Private Link service. You'll learn how to set up and approve the private endpoint connection, ensuring secure communication between Front Door and your storage resources.
18
+
This article guides you through configuring Azure Front Door Premium to connect privately to a storage account origin using Azure Private Link service.
19
19
20
20
## Prerequisites
21
21
22
22
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
23
23
24
-
- Sign in to the [Azure portal](https://portal.azure.com) with your Azure account.
24
+
::: zone pivot="front-door-portal"
25
25
26
26
- A Private Link. For more information, see [Create a Private Link service](../../private-link/create-private-link-service-portal.md) for your origin web server.
27
27
28
-
## Enable Private Link to a storage account
28
+
- Sign in to the [Azure portal](https://portal.azure.com) with your Azure account.
29
+
30
+
::: zone-end
31
+
32
+
::: zone pivot="front-door-cli"
33
+
34
+
- A Private Link. For more information, see [Create a Private Link service](../../private-link/create-private-link-service-cli.md) for your origin web server.
35
+
36
+
- Azure Cloud Shell or Azure CLI.
37
+
38
+
The steps in this article run the Azure CLI commands interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloud Shell** at the upper-right corner of a code block. Select **Copy** to copy the code, and paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
39
+
40
+
You can also [install Azure CLI locally](/cli/azure/install-azure-cli) to run the commands. If you run Azure CLI locally, sign in to Azure using the [az login](/cli/azure/reference-index#az-login) command.
41
+
42
+
::: zone-end
43
+
44
+
> [!NOTE]
45
+
> Private endpoints require your Storage Account to meet specific requirements. For more information, see [Using Private Endpoints for Azure Storage](../../storage/common/storage-private-endpoints.md).
46
+
47
+
48
+
## Enable Private Link to a storage account in Azure Front Door
49
+
50
+
::: zone pivot="front-door-portal"
29
51
30
52
In this section, you map the Private Link service to a private endpoint created in Azure Front Door's private network.
31
53
@@ -35,7 +57,7 @@ In this section, you map the Private Link service to a private endpoint created
35
57
36
58
1. Select **+ Add an origin** to add a new storage account origin or select a previously created storage account origin from the list.
37
59
38
-
1. Select or enter the following settings to configure the storage blob you want Azure Front Door Premium to connect with privately.
60
+
1. Select or enter the following values to configure the storage blob you want Azure Front Door Premium to connect with privately.
39
61
40
62
| Setting | Value |
41
63
| ------- | ----- |
@@ -60,6 +82,33 @@ In this section, you map the Private Link service to a private endpoint created
60
82
> [!NOTE]
61
83
> Ensure the **origin path** in your routing rule is configured correctly with the storage container file path so file requests can be acquired.
62
84
85
+
::: zone-end
86
+
87
+
::: zone pivot="front-door-cli"
88
+
89
+
Use the [az afd origin create](/cli/azure/afd/origin#az-afd-origin-create) command to create a new Azure Front Door origin. The `private-link-location` value must be from the [available regions](../private-link.md#region-availability) and the `private-link-sub-resource-type` value is **blob**.
0 commit comments