Skip to content

Commit 7f8d7e6

Browse files
committed
create new article for private link to storage state website
1 parent baed970 commit 7f8d7e6

File tree

5 files changed

+79
-0
lines changed

5 files changed

+79
-0
lines changed
Loading
Loading
Loading
Loading
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
title: 'Connect Azure Front Door Premium to a static storage website origin with Private Link'
3+
titleSuffix: Azure Private Link
4+
description: Learn how to connect your Azure Front Door Premium to a static storage website privately.
5+
services: frontdoor
6+
author: duongau
7+
ms.service: frontdoor
8+
ms.topic: how-to
9+
ms.date: 03/03/2023
10+
ms.author: duau
11+
---
12+
13+
# Connect Azure Front Door Premium to a static storage website with Private Link
14+
15+
This article guides you through how to configure Azure Front Door Premium tier to connect to your static storage website privately using the Azure Private Link service.
16+
17+
## Prerequisites
18+
19+
* An Azure account with an active subscription. You can [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
20+
* Create a [Private Link](../../private-link/create-private-link-service-portal.md) service for your origin web server.
21+
* Storage Static Website is enabled on your storage account. Learn how to [enable static website](https://docs.microsoft.com/azure/storage/blobs/storage-blob-static-website-how-to?tabs=azure-portal).
22+
23+
## Enable Private Link to a static storage website
24+
25+
In this section, you map the Private Link service to a private endpoint created in Azure Front Door's private network.
26+
27+
1. Sign in to the [Azure portal](https://portal.azure.com).
28+
29+
1. Within your Azure Front Door Premium profile, under *Settings*, select **Origin groups**.
30+
31+
1. Select the origin group that contains the static storage website origin you want to enable Private Link for.
32+
33+
1. Select **+ Add an origin** to add a new static storage website origin or select a previously created static storage website origin from the list.
34+
35+
:::image type="content" source="../media/how-to-enable-private-link-storage-static-website/private-endpoint-storage-static-website-primary.png" alt-text="Screenshot of enabling private link to a static storage website primary.":::
36+
37+
1. The following table has the information of what values to select in the respective fields while enabling private link with Azure Front Door. Select or enter the following settings to configure the static storage website you want Azure Front Door Premium to connect with privately.
38+
39+
| Setting | Value |
40+
| ------- | ----- |
41+
| Name | Enter a name to identify this static storage website origin. |
42+
| Origin Type | Storage (Static website) |
43+
| Host name | Select the host from the dropdown that you want as an origin. |
44+
| Origin host header | You can customize the host header of the origin or leave it as default. |
45+
| HTTP port | 80 (default) |
46+
| HTTPS port | 443 (default) |
47+
| Priority | Different origin can have different priorities to provide primary, secondary, and backup origins. |
48+
| Weight | 1000 (default). Assign weights to your different origin when you want to distribute traffic.|
49+
| Region | Select the region that is the same or closest to your origin. |
50+
| Target sub resource | The type of sub-resource for the resource selected previously that your private endpoint can access. You can select *web* or *web_secondary*. |
51+
| Request message | Custom message to see while approving the Private Endpoint. |
52+
53+
1. Then select **Add** to save your configuration. Then select **Update** to save your changes.
54+
55+
## Approve private endpoint connection from storage account
56+
57+
1. Go to the storage account that you want to connect to Azure Front Door Premium privately. Select **Networking** under *Settings*.
58+
59+
1. In **Networking**, select **Private endpoint connections**.
60+
61+
1. Select the pending private endpoint request from Azure Front Door Premium then select **Approve**.
62+
63+
:::image type="content" source="../media/how-to-enable-private-link-storage-static-website/approve-private-endpoint-connection.png" alt-text="Screenshot of approving private endpoint connection from storage account.":::
64+
65+
1. Once approved, you can see the private endpoint connection status is **Approved**.
66+
67+
:::image type="content" source="../media/how-to-enable-private-link-storage-static-website/approved-private-endpoint-connection.png" alt-text="Screenshot of approved private endpoint connection from storage account.":::
68+
69+
## Create private endpoint connection to web_secondary
70+
71+
When creating a private endpoint connection to the storage static website's secondary sub resource, you need to add a **-secondary** suffix to the origin host header. For example, if your origin host header is *contoso.z13.web.core.windows.net*, you need to change it to *contoso-secondary.z13.web.core.windows.net*.
72+
73+
:::image type="content" source="../media/how-to-enable-private-link-storage-static-website/private-endpoint-storage-static-website-secondary.png" alt-text="Screenshot of enabling private link to a static storage website secondary.":::
74+
75+
Once the origin has been added and the private endpoint connection has been approved, you can test your private link connection to your static storage website.
76+
77+
## Next steps
78+
79+
Learn about [Private Link service with storage account](../../storage/common/storage-private-endpoints.md).

0 commit comments

Comments
 (0)