2

I have web API service which I planned to host in Azure environment probably in VM. My application is using sticky session and I have to enable the Load Balancer in Azure.

Can you please suggest best approach to load balance the application Or Can I use Azure Loadbalancer with sticky session other than Application gateway.

Regards
Abdul

Abdul Azeez
  • 807
  • 10
  • 18

1 Answers1

3

You can set the sticky session in load balancer rules with setting the session persistence as the client IP. And the steps like this.

There is some difference between the Application Gateway and Load Balancer.

enter image description here

So if you will do some changes in VM, the Load Balancer is better. If not, the application Gateway is better and can be safer for web access.

Charles Xu
  • 29,862
  • 2
  • 22
  • 39
  • Hi @Charles , Can you please let me know what changes you meant in VM. is it network related changes like IP address Or sub net changes ? – Abdul Azeez Aug 15 '18 at 21:52
  • @AbdulAzeez I mean connect to the VM via RDP or SSH, for Application Gateway, it doesn't support connecting to the VM, just support web access. – Charles Xu Aug 16 '18 at 00:52
  • @AbdulAzeez If the answer is helpful or for more help, please me know.:-) – Charles Xu Aug 17 '18 at 02:16