Azure Load balancer traffic distribution

Shivam Singh 190 Reputation points
2024-02-18T07:13:04.9733333+00:00

Hi, I have a standard load balancer deployed with a backend pool consisting of two servers, inbound rule - 443. We have session persistence selected with Client IP. I want to know if by doing this all the traffic will go to only one server on which the client session was established first? does the affinity established between the client IP and backend servers expire or it is permanent(i.e all traffic from that particular client will go to the original server).

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,157 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
404 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 96,926 Reputation points MVP
    2024-02-18T07:59:40.2166667+00:00

    Hi @Shivam Singh ,

    I want to know if by doing this all the traffic will go to only one server on which the client session was established first?

    Yes, as long as the backend is available in Azure Load Balancer the established connection between client and same backend will be used. With Client IP distribution mode it doesn't matter which TCP protocol is used.

    Reference: Session persistence

    does the affinity established between the client IP and backend servers expire or it is permanent

    An idle timeout can be configured: Set tcp reset and idle timeout


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful