Azure APIM and Hybrid Connections

1.8k views Asked by At

I am trying to access On-Prem APIs Via Azure APIM. I can access the On-Prem API if I do a VNET and VPN tunnel however, its not an ideal solution for the purpose. I am trying to get Hybrid Connections (port bridge) to work as the same way. I have created a Hybrid Connection and installed Hybrid Connection Manager On-Prem and the hybrid connection link itself is connected.

Now, How do i make my APIM to use this hybrid Relay? Some work needs to be done in policies I believe.

3

There are 3 answers

0
RizcoTech On

You can use Hybrid Connection and attach it to web service. Install Hybrid Connection Manager and install it on your on-premise server. After you wire the hybrid connection manager to the web service, use the web.config to set up URL Re-writes or Application Request Routing to connect to the local server.

2
Amila Maharachchi On

I assume you are trying to use the VPN option because you do not want to expose your backend service on-prem to the cloud. How about running the api gateway on-premise and do the rest of the api management in the cloud (a hybrid solution). If so, this is available in the WSO2 API Cloud today. Your api calls will hit the gateway in your datacenter which will avoid using any VPNs to connect to the backend. Have a look at https://wso2.com/blogs/cloud/going-hybrid-on-premises-api-gateways/

0
KEL_Syd On

APIM dosen't support Hybrid Relay. The work around is to use WCF relay instead