Skip to content

Commit 25abb95

Browse files
Merge pull request #306743 from MicrosoftDocs/main
Auto Publish – main to live - 2025-10-09 17:00 UTC
2 parents 80b966b + dd1a92b commit 25abb95

440 files changed

Lines changed: 888 additions & 13261 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

articles/api-management/developer-portal-extend-custom-functionality.md

Lines changed: 73 additions & 89 deletions
Large diffs are not rendered by default.

articles/api-management/how-to-deploy-self-hosted-gateway-azure-arc.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
2-
title: Deploy an Azure API Management gateway on Azure Arc
2+
title: Deploy an Azure API Management Gateway on Azure Arc
33
description: Enable Azure Arc to deploy your self-hosted Azure API Management gateway.
44
author: dlepow
55
ms.author: danlep
66
ms.service: azure-api-management
77
ms.custom: devx-track-azurecli
88
ms.topic: how-to
9-
ms.date: 06/12/2023
9+
ms.date: 10/06/2025
1010
---
1111

1212
# Deploy an Azure API Management gateway on Azure Arc (preview)
1313

1414
[!INCLUDE [api-management-availability-premium-dev](../../includes/api-management-availability-premium-dev.md)]
1515

16-
With the integration between Azure API Management and [Azure Arc on Kubernetes](/azure/azure-arc/kubernetes/overview), you can deploy the API Management gateway component as an [extension in an Azure Arc-enabled Kubernetes cluster](/azure/azure-arc/kubernetes/extensions).
16+
With the integration between Azure API Management and [Azure Arc on Kubernetes](/azure/azure-arc/kubernetes/overview), you can deploy the API Management gateway component as an [extension in an Azure Arc-enabled Kubernetes cluster](/azure/azure-arc/kubernetes/extensions).
1717

1818
Deploying the API Management gateway on an Azure Arc-enabled Kubernetes cluster expands API Management support for hybrid and multicloud environments. Enable the deployment using a cluster extension to make managing and applying policies to your Azure Arc-enabled cluster a consistent experience.
1919

@@ -30,21 +30,23 @@ Deploying the API Management gateway on an Azure Arc-enabled Kubernetes cluster
3030
```azurecli
3131
az extension add --name k8s-extension
3232
```
33+
3334
If you've already installed the `k8s-extension` module, update to the latest version:
3435
3536
```azurecli
3637
az extension update --name k8s-extension
3738
```
39+
3840
* [Create an Azure API Management instance](./get-started-create-service-instance.md).
3941
* [Provision a gateway resource in your Azure API Management instance](./api-management-howto-provision-self-hosted-gateway.md).
4042
4143
## Deploy the API Management gateway extension using Azure CLI
4244
4345
1. In the Azure portal, navigate to your API Management instance.
44-
1. Select **Gateways** from the side navigation menu.
46+
1. Select **Deployment + infrastructure** > **Gateways** from the side navigation menu.
4547
1. Select and open your provisioned gateway resource from the list.
4648
1. In your provisioned gateway resource, click **Deployment** from the side navigation menu.
47-
1. Make note of the **Token** and **Configuration URL** values for the next step.
49+
1. Make note of the **Token** and **Configuration endpoint** values for the next step.
4850
1. In Azure CLI, deploy the gateway extension using the `az k8s-extension create` command. Fill in the `token` and `configuration URL` values.
4951
* The following example uses the `service.type='LoadBalancer'` extension configuration. See more [available extension configurations](#available-extension-configurations).
5052
@@ -61,17 +63,19 @@ Deploying the API Management gateway on an Azure Arc-enabled Kubernetes cluster
6163
> `-protected-` flag for `gateway.auth.token` is optional, but recommended.
6264
6365
1. Verify deployment status using the following CLI command:
66+
6467
```azurecli
6568
az k8s-extension show --cluster-type connectedClusters --cluster-name <cluster-name> --resource-group <rg-name> --name <extension-name>
6669
```
70+
6771
1. Navigate back to the **Gateways** list to verify the gateway status shows a green check mark with a node count. This status means the deployed self-hosted gateway pods:
6872
* Are successfully communicating with the API Management service.
6973
* Have a regular "heartbeat".
7074
7175
## Deploy the API Management gateway extension using Azure portal
7276
7377
1. In the Azure portal, navigate to your Azure Arc-connected cluster.
74-
1. In the left menu, select **Extensions** > **+ Add** > **API Management gateway (preview)**.
78+
1. In the left menu, select **Settings** > **Extensions + applications** > **+ Add** > **API Management gateway (preview)**.
7579
1. Select **Create**.
7680
1. In the **Install API Management gateway** window, configure the gateway extension:
7781
* Select the subscription and resource group for your API Management instance.
@@ -81,7 +85,7 @@ Deploying the API Management gateway on an Azure Arc-enabled Kubernetes cluster
8185
:::image type="content" source="./media/how-to-deploy-self-hosted-gateway-azure-arc/deploy-gateway-extension-azure-arc.png" alt-text="Screenshot of deploying the extension in Azure portal":::
8286
8387
1. On the **Monitoring** tab, optionally enable monitoring to upload metrics tracking requests to the gateway and backend. If enabled, select an existing **Log Analytics** workspace.
84-
1. Select **Review + install** and then **Install**.
88+
1. Select **Review + install**, then select **Install**.
8589
8690
## Available extension configurations
8791
@@ -92,31 +96,32 @@ The self-hosted gateway extension for Azure Arc provides many configuration sett
9296
The following extension configurations are **required**.
9397
9498
| Setting | Description |
95-
| ------- | ----------- |
99+
| ------- | ----------- |
96100
| `gateway.configuration.uri` | Configuration endpoint in API Management service for the self-hosted gateway. |
97-
| `gateway.auth.token` | Gateway token (authentication key) to authenticate to API Management service. Typically starts with `GatewayKey`. |
101+
| `gateway.auth.token` | Gateway token (authentication key) to authenticate to API Management service. Typically starts with `GatewayKey`. |
98102
| `service.type` | Kubernetes service configuration for the gateway: `LoadBalancer`, `NodePort`, or `ClusterIP`. |
99103
100104
### Log Analytics settings
101105
102106
To enable monitoring of the self-hosted gateway, configure the following Log Analytics settings:
103107
104108
| Setting | Description |
105-
| ------- | ----------- |
109+
| ------- | ----------- |
106110
| `monitoring.customResourceId` | Azure Resource Manager resource ID for the API Management instance. |
107-
| `monitoring.workspaceId` | Workspace ID of Log Analytics. |
111+
| `monitoring.workspaceId` | Workspace ID of Log Analytics. |
108112
| `monitoring.ingestionKey` | Secret with ingestion key from Log Analytics. |
109113
110114
> [!NOTE]
111-
> If you haven't enabled Log Analytics:
112-
> 1. Walk through the [Create a Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace) quickstart.
115+
> If you haven't enabled Log Analytics:
116+
>
117+
> 1. Walk through the [Create a Log Analytics workspace](/azure/azure-monitor/logs/quick-create-workspace) quickstart.
113118
> 1. Learn where to find the [Log Analytics agent settings](/azure/azure-monitor/agents/log-analytics-agent).
114119
115120
## Related content
116121
117122
* To learn more about the self-hosted gateway, see [Azure API Management self-hosted gateway overview](self-hosted-gateway-overview.md).
118123
* Learn more about the [observability capabilities of the Azure API Management gateways](observability.md).
119-
* Discover all [Azure Arc-enabled Kubernetes extensions](/azure/azure-arc/kubernetes/extensions).
124+
* Discover all [Azure Arc-enabled Kubernetes extensions](/azure/azure-arc/kubernetes/extensions).
120125
* Learn more about [Azure Arc-enabled Kubernetes](/azure/azure-arc/kubernetes/overview).
121126
* Learn more about guidance to [run the self-hosted gateway on Kubernetes in production](how-to-self-hosted-gateway-on-kubernetes-in-production.md).
122-
* For configuration options, see the self-hosted gateway extension [reference](self-hosted-gateway-arc-reference.md).
127+
* For configuration options, see the [self-hosted gateway extension reference](self-hosted-gateway-arc-reference.md).

0 commit comments

Comments
 (0)