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
# Connect Azure Front Door Premium to an Azure API Management with Private Link (Preview)
16
16
17
17
This article guides you through the steps to configure an Azure Front Door Premium to connect privately to your Azure API Management origin using Azure Private Link.
18
18
19
+
::: zone pivot="front-door-portal"
20
+
21
+
## Prerequisites
22
+
23
+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
24
+
- Have a functioning Azure Front Door Premium profile and an endpoint. For more information on how to create an Azure Front Door profile, see [Create a Front Door](../create-front-door-portal.md).
25
+
- Have a functioning Azure API Management instance. For more information on how to create an API Management instance, see [Create a new Azure API Management instance](../../api-management/get-started-create-service-instance.md)
26
+
27
+
## Create an origin group and add the API Management instance as an origin
28
+
29
+
1. In your Azure Front Door Premium profile, go to *Settings* and select **Origin groups**.
30
+
31
+
1. Click on **Add**
32
+
2. Enter a name for the origin group
33
+
3. Select **+ Add an origin**
34
+
4. Use the following table to configure the settings for the origin:
35
+
36
+
| Setting | Value |
37
+
| ------- | ----- |
38
+
| Name | Enter a name to identify this origin. |
39
+
| Origin Type | API Management |
40
+
| Host name | Select the host from the dropdown that you want as an origin. |
41
+
| Origin host header | Will be autopopulated with the host of the chosen API Management instance|
42
+
| HTTP port | 80 (default) |
43
+
| HTTPS port | 443 (default) |
44
+
| Priority | Assign different priorities to origins for primary, secondary, and backup purposes. |
45
+
| Weight | 1000 (default). Use weights to distribute traffic among different origins. |
46
+
| Region | Select the region that matches or is closest to your origin. |
47
+
| Target sub resource | Choose 'Gateway' |
48
+
| Request message | Enter a custom message to display while approving the Private Endpoint. |
49
+
50
+
:::image type="content" source="../media/private-link/apim-privatelink.png" alt-text="Screenshot of origin settings for configuring API Management as a private origin.":::
51
+
52
+
6. Select **Add** to save your origin settings
53
+
7. Select **Add** to save the origin group settings.
54
+
55
+
## Approve the private endpoint
56
+
57
+
1. Navigate to the API Management instance you configured with Private Link in the previous section. Under **Deployment + infrastructure**, select **Network**.
1. Find the *pending* private endpoint request from Azure Front Door Premium and select **Approve**.
62
+
63
+
1. After approval, the connection status will update. It can take a few minutes for the connection to fully establish. Once established, you can access your API Management through Front Door.
64
+
65
+
66
+
:::image type="content" source="../media/private-link/apim-private-endpoint-connections.png" alt-text="Screenshot of private endpoint connections tab in API Management portal.":::
0 commit comments