Connect Azure Front Door Premium to a storage static website with Private Link
This article guides you through how to configure Azure Front Door Premium tier to connect to your storage static website privately using the Azure Private Link service.
Prerequisites
- An Azure account with an active subscription. You can create an account for free.
- Create a Private Link service for your origin web server.
- Storage static website is enabled on your storage account. Learn how to enable static website.
Enable Private Link to a storage static website
In this section, you map the Private Link service to a private endpoint created in Azure Front Door's private network.
Sign in to the Azure portal.
Within your Azure Front Door Premium profile, under Settings, select Origin groups.
Select the origin group that contains the storage static website origin you want to enable Private Link for.
Select + Add an origin to add a new storage static website origin or select a previously created storage static website origin from the list.
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 storage static website you want Azure Front Door Premium to connect with privately.
Setting Value Name Enter a name to identify this storage static website origin. Origin Type Storage (Static website) Host name Select the host from the dropdown that you want as an origin. Origin host header You can customize the host header of the origin or leave it as default. HTTP port 80 (default) HTTPS port 443 (default) Priority Different origin can have different priorities to provide primary, secondary, and backup origins. Weight 1000 (default). Assign weights to your different origin when you want to distribute traffic. Region Select the region that is the same or closest to your origin. Target sub resource The type of subresource for the resource selected previously that your private endpoint can access. You can select web or web_secondary. Request message Custom message to see while approving the Private Endpoint. Then select Add to save your configuration. Then select Update to save your changes.
Approve private endpoint connection from storage account
Go to the storage account that you want to connect to Azure Front Door Premium privately. Select Networking under Settings.
In Networking, select Private endpoint connections.
Select the pending private endpoint request from Azure Front Door Premium then select Approve.
Once approved, you can see the private endpoint connection status is Approved.
Create private endpoint connection to web_secondary
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.
Once the origin is added and the private endpoint connection is approved, you can test your private link connection to your storage static website.
Next steps
Learn about Private Link service with storage account.
Povratne informacije
https://aka.ms/ContentUserFeedback.
Uskoro: tokom 2024. postepeno ćemo ukidati probleme s uslugom GitHub kao mehanizam povratnih informacija za sadržaj i zamijeniti ga novim sistemom povratnih informacija. Za više informacija, pogledajtePošalјite i prikažite povratne informacije za