Creating on-premise API using Azure API management

Vamshi Kishore KALIKOTA 51 Reputation points
2020-08-11T04:49:30.563+00:00

How can we make cloud API which is generated using azure logic app can be exposed as an on-premise API and this needs to be worked only on the on-premise host system.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,167 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,197 questions
{count} votes

Accepted answer
  1. Pramod Valavala 20,636 Reputation points Microsoft Employee
    2020-08-12T12:33:27.967+00:00

    There are a couple of steps required for this and depending on your current network architecture, some of it may already be in place.

    1. Your on-premises network would need to be connected to an Azure VNET, usually by either a VPN Gateway or Express Route.
    2. Azure APIM should be connected to the VNET (can be either internal or external for this specific case but again depends on your complete scenario)
    3. Import Logic App into APIM
    4. Logic App would have IP Restrictions setup to allow requests only from APIM's instance VIP

    Note that this is a simple set of steps for achieving this. For example, you may already have multiple VNETs, in which case you would setup VNET Peering.

    ---
    Another way to achieve this would be to have a direct connection over the public internet but note that this may not be applicable for most but sharing for completeness.

    This is the simpler approach where you can simply whitelist the outbound IPs of your on-premises networks on your logic app. This way, only requests coming from your on-premises network can trigger the logic app.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.