Azure Arc — Self hosted API Management

Mohit Gupta
AzureDiary
Published in
3 min readNov 13, 2019

Create your own API Management Gateway using Windows Docker

Overview:

The Article gives you an overview of How to create Self Hosted API management on On-Premise Windows Machine

Requirement:

1. Docker

2. Azure Subscription

3. On-Premise Server

Reference:

https://docs.microsoft.com/en-us/azure/api-management/self-hosted-gateway-overview

Create API Management Instance

Install Docker on On-Prem Local Machine

Create Docker Account — https://hub.docker.com/

Install Docker Desktop

After installation you can check the Docker status

Create new Gateway on Azure API management

Click on Gateway and go to deployment for Gateway deployment on On-prem machine

Download env.conf file and run the docker command on node.

When you run, it will install the API management on On-Prem Node

Now you can create API and assign gateway to run from On-Premise Gateway

You can verify by browse localhost url to check local api-management gateway is working fine

You can also verify Docker logs to check the API Management request and response

Docker logs <ContainerName>

Benefits:

Service allows API traffic to flow directly to the backend APIs, which improves latency, optimizes data transfer costs, and enables compliance while retaining the benefits of having a single point of management and discovery of all APIs within the organization regardless of where their implementations are hosted.

--

--

Mohit Gupta
AzureDiary

Integration Developer works on Azure , DevOps , BizTalk. Contact : mohit.e.gupta@gmail.com