Azure service fabric and hybrid connections

132 Views Asked by At

Is it possible to configure azure service fabric cluster to utilize hybrid connection so that on-prem services can connect to a SF service?

1

There are 1 best solutions below

10
On

Yes, SF services are just regular processes. As long as the firewall configuration on the nodes allow outbound TCP connections, it should work.

It might not be an ideal solution though, as you're directly connecting with a specific process. (The default way to connect to services from the outside world works by using the load balancer on top of the cluster.) As service instances come and go, your on-prem client will occasionally encounter disconnects. (for example, when the service is upgraded, moved, or crashes)

Here's an example on how to use Relay outside of app services, inside a regular .NET Core app.