Options for connecting public api with on-premise API

Jeff green 21 Reputation points
2025-01-13T20:20:06.23+00:00

Hi,

I have question on connecting my Primary API to Secondary API in on-premise network.

Currently, Both the Primary and Secondary API are hosted in on-premise network.

I want to host the Primary API on Azure so that it can be publicly accessible to outside world. This Primary API needs to connect to on-premise API.

What are the options/approaches available through which I can connect my Primary API in Azure to my Secondary API in on-premise network.

Thanks

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,261 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,331 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
364 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sina Salam 15,396 Reputation points
    2025-01-14T17:14:29.4133333+00:00

    Hello Jeff green,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you're concerns to know options for connecting your public API with on-premises API.

    To connect your Primary API hosted on Azure to your Secondary API in an on-premise network, you have several options.

    1. Site-to-Site VPN, this allows secure communication between the Primary API in Azure and the Secondary API on-premises and alternatively, Point-to-Site VPN is an option if you have a smaller setup to connect individual devices to the Azure VNet - https://learn.microsoft.com/en-us/answers/questions/63939/creating-on-premise-api-using-azure-api-management
    2. Azure ExpressRoute to create a private connection between your on-premises network and Azure. This provides higher bandwidth and lower latency compared to VPN - https://techcommunity.microsoft.com/blog/azurepaasblog/api-management---networking-faqs-demystifying-series-ii/1502056
    3. You can use Azure API Management to manage your APIs such as Hybrid Connections or Self-hosted Gateway to connect on-premises APIs through VNet integration, allowing your Primary API in Azure to securely communicate with the Secondary API on-premises - https://learn.microsoft.com/en-us/answers/questions/1093610/api-management-with-public-on-premise-apis
    4. Azure Relay is another option to securely expose your on-premises API to the cloud without opening a firewall connection. This allows your Primary API in Azure to communicate with the Secondary API on-premises - https://learn.microsoft.com/en-us/answers/questions/63939/creating-on-premise-api-using-azure-api-management
    5. Azure Application Gateway with VNet integration is another option to route traffic from the Primary API in Azure to the Secondary API on-premise - https://learn.microsoft.com/en-us/answers/questions/63939/creating-on-premise-api-using-azure-api-management

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    1 person found this answer helpful.
    0 comments No comments

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.