Is it possible (and how) to load balance Azure web sites?
Situation is that I have a web site which I deployed to few redundant nodes. Now I would like to set up load balancing for reliability purposes.
I see that load balancing is done using Traffic Manager service which I tried to use, however Traffic Manager doesn't allow me to add a web site endpoint. It only allows me to add a custom virtual machine I have. On a side note, web sites are running in standard mode which means each runs on it's own VM which led me to believe I could load balance them.
I see people create separate VMs with Windows Server and use IIS ARR to perform actual web request load balancing. Is there a way in Azure to load balance web sites directly?
With Azure Load Balancer, you can scale your applications and create highly available services. Load balancer supports both inbound and outbound scenarios. Load balancer provides low latency and high throughput, and scales up to millions of flows for all TCP and UDP applications.
Azure load balancer overview An Azure load balancer is a Layer-4 (TCP, UDP) load balancer that provides high availability by distributing incoming traffic among healthy VMs. A load balancer health probe monitors a given port on each VM and only distributes traffic to an operational VM.
To load balance Web servers, traditionally you use the DNS round-robin feature to evenly distribute Web server IP addresses to clients; thus, your Web servers are equally accessible.
While converting over to web roles can very well suit your needs, an easier alternative may be to simply promote the web site up to the 'standard' tier, then increase the instance count. Windows Azure will then automatically handle load balancing the instances and even help ensure session affinity (which web roles can't do unless you jump through additional hoops).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With