question

UppalaLakshmiChand-6751 avatar image
0 Votes"
UppalaLakshmiChand-6751 asked TravisCragg-MSFT answered

How to access the service running on multiple nodes with single private endpoint

In my project, on-prem system(multiple nodes) connecting to Azure cloud system using single private endpoint. Azure cloud system has multiple nodes and one private endpoint created for all the nodes.

My service runs on all the nodes on Azure cloud system on the same port number 13231. Configuration looks like below.

Private endpoint: 10.0.0.1

Target System with 4 nodes:

Node1: Service runs on port number 13231
Node2: Service runs on port number 13231
Node3: Service runs on port number 13231
Node4: Service runs on port number 13231

Source system will use sockets to connect to all the target nodes using port number and private endpoint. Since private endpoint and port number is same, socket connection always established to Node1. But in our project we wanted to connect to services running on all the nodes on target system. Is there any way to do this? Please help us.

Thanks in advance.

azure-private-link
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@UppalaLakshmiChand-6751 I understand that you are using a private endpoint, but what is behind the private endpoint? Is it an Azure Service, or your own custom endpoint?

If it is your own custom endpoint, then it should be behind an Azure Standard Load Balancer, and [distributed based upon the configured mode][1].


0 Votes 0 ·

We are running our own service on each node on Azure cloud but Azure private endpoint is same for all the nodes. Service on each node runs on the same port number[13231]. We will create socket connection from on-prem system using Ipaddress and port number to different nodes in non-private link environment. In non-private link environment socket connections will go to all the nodes since Ipaddress is different. When comes to private link environment, since private endpoint is same for all the nodes, all the socket connections are going to the first node. We are using standard load balancer provided by Azure. Please suggest any way we can transfer the on-prem system socket connection request to all the nodes in Azure cloud system.

Could you please describe the configured mode you have mentioned.

Thanks for your valuable reply.




0 Votes 0 ·

1 Answer

TravisCragg-MSFT avatar image
0 Votes"
TravisCragg-MSFT answered

Assuming your nodes are Azure Virtual Machines (Please let me know if they are something else), They will be behind an Azure Load Balancer. First, make sure that all of your backend nodes are part of the Load Balancer's backend pool by navigating to the load balancer configured with your private link service, and making sure that all the desired nodes appear as part of the backend pool.

Next, please review this doc about Azure Load Balancer Distribution Modes. One thing to point out is that if all requests are coming from a single IP Address, Azure Load Balancer will distribute them all to a single node by design. Speak with your network administrator to see if there is any NAT occurring when sending requests to Azure.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.