Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure VM load balancing vs Traffic Manager

Can anyone explain the distinction between VM load balancing (in the new Azure portal) and the Azure traffic manager (currently only managed from the old portal), and how they interact?

As an example, I've created two VMs attached to each other, sharing a load balanced endpoint. As I understand it, that then will round-robin between the two VMs.

  • What happens if I didn't set up a load balanced endpoint (in the new Azure portal), but instead set up Azure traffic manager to load balance between them instead? Is this the same thing?
  • Can I use both kinds of load balancing in tandem? (traffic manager set to failover across regions, and use VM load balancing for round robins across availability zones?)
like image 259
James Crowley Avatar asked Jan 27 '13 10:01

James Crowley


People also ask

What is the difference between load balancer traffic manager and Application Gateway?

Application Gateway and Load Balancer both use health probes to monitor the availability of VM instances. Application Gateway always uses an HTTP probe. Load Balancer can test either HTTP or TCP. Generally, if a VM runs an HTTP server, use an HTTP probe.

What is the difference between Azure front door and Azure traffic Manager?

Azure Front Door provides TLS protocol termination (SSL offload), and Azure Traffic Manager does not. It means AFDs take load off from the Web Front Ends, which do not have to encrypt or decrypt the request. Azure Front Door provides application layer processing, and Azure Traffic Manager does not.

What is the Azure traffic Manager?

Azure Traffic Manager is a DNS-based traffic load balancer. This service allows you to distribute traffic to your public facing applications across the global Azure regions. Traffic Manager also provides your public endpoints with high availability and quick responsiveness.

What is the difference between Azure traffic Manager and Azure CDN?

Traffic Manager uses the round-robin, performance, or failover method to decide to which endpoint to route traffic. CDNs serve cached content directly from CDN nodes that are closest to end users. CDNs can reduce traffic to original service nodes by serving static content directly.


1 Answers

James,

I think you already have most of it figured out.

VM load balancing:

  1. Works only with VMs that are in the same region
  2. Only does Round Robin Uses a hash-based algorithm for distribution of inbound flows
  3. Works at the TCP/UDP level, routing traffic between one or more private endpoints that sit behind a public endpoint

https://www.windowsazure.com/en-us/manage/windows/common-tasks/how-to-load-balance-virtual-machines/

Traffic Manager is different in that:

  1. It can work across regions
  2. It offers traffic management policies other than round robin (e.g. failover, performance)
  3. It works at the DNS level, “routing”** traffic between one or more public endpoints that sit behind a common DNS name

https://azure.microsoft.com/en-us/documentation/articles/traffic-manager-manage-profiles/

You can indeed use the Load Balancer and the Traffic Manager in tandem, you hit the nail on the head there.

--

Vlad

** Traffic manager does not actually route traffic, it just serves to the caller the DNS name of the public endpoint where their traffic should go according to the policies in effect.

like image 68
Vlad Ionut Cananau Avatar answered Sep 28 '22 03:09

Vlad Ionut Cananau