Search code examples
azureload-balancinground-robin

Azure load balancing with three websites


If I have three websites like web1.azurewebsites.net, web2...,web3... in the same region and want to have a loadbalancer that divides the traffic evenly amongst those websites (a so called round robin configuration). How can I accomplish this in azure? I know that I can use the traffic manager but only if the websites are on different regions.

Sorry but very new to azure...

/Joe


Solution

  • Do you need to have three different web sites? Or can you have a single web site scaled up to multiple instances? (guide here)

    If you scale up, then it should use a built-in load balancer that is based on a hash of the user's IP + port, as described here.

    And yes, traffic manager isn't really intended for true load balancing; it's a DNS-level redirection, mainly for improving performance based on geography.