Answers: <p>You missed a point that there's still a need in balancing traffic before nodes in Docker cluster, and ELB is great for it (managed cluster, healthchecks, you don't pay for number of ELB instances per VPC, you can spawn spare nodes and register them in ELB automagically with Cloudwatch), great <a href="https://serverfault.com/a/209318">discussion</a> on ServerFault. Basically, external balancer will split traffic between <em>all</em> nodes, while internal balancers will route it to nodes where service containers are running (which is where routing mesh is used).</p>
  
Answers: CC BY-SA 3.0
Answers: 2017-05-29T20:47:57.660Z
Answers: 2017-05-29T20:47:57.660Z
Answers: chupasaurus
Body: <p>Also, would the routing mesh act as an application load balancer?</p>
  
  <p>Like for example, if I am having a Docker cluster in AWS, how does the ELB added to it, work? And how would that be different from what the internal load balancer is doing?</p>
  
  <p>Or, did I get the concept of the routing mesh completely wrong?</p>
  
Tags: <docker><docker-swarm><load-balance>
Title: In what all cases would one use an external load balancer over the Ingress routing mesh in a Docker cluster?
UserDisplayName: Dawny33
ThreadText: # In what all cases would one use an external load balancer over the Ingress routing mesh in a Docker cluster?
  
  (Asked by: username_0 on 2017-05-25)
  
  Also, would the routing mesh act as an application load balancer?
  
  Like for example, if I am having a Docker cluster in AWS, how does the ELB added to it, work? And how would that be different from what the internal load balancer is doing?
  
  Or, did I get the concept of the routing mesh completely wrong?
  
  **Tags:** docker, docker-swarm, load-balance
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-05-29. Score: 3 | Accepted answer
  
  You missed a point that there's still a need in balancing traffic before nodes in Docker cluster, and ELB is great for it (managed cluster, healthchecks, you don't pay for number of ELB instances per VPC, you can spawn spare nodes and register them in ELB automagically with Cloudwatch), great [discussion](https://serverfault.com/a/209318) on ServerFault. Basically, external balancer will split traffic between *all* nodes, while internal balancers will route it to nodes where service containers are running (which is where routing mesh is used).
  
  
  ---
  
  