title: Does AWS support weighted load balancing?
body: <p>Does AWS natively support weighted load balancing?</p>
  
  <p>From what I see, ELB does only support round-robin load balancing (without any configurable weights). I have not found reliable documentation on it, though.</p>
  
  <hr>
  
  <p>The easiest thing that I can think of is to put a load balancer like Nginx in front of it, for example:</p>
  
  <pre><code>upstream backend  {
    server backend1.example.com weight=1;
    server backend2.example.com weight=2;
    server backend3.example.com weight=4;
  }
  </code></pre>
  
  <p>Here, out of seven requests, one will go to backend1, two to backend2, and four to backend4.</p>
  
  <p>It will work, but it also means you have to setup a server with Nginx just for that. If AWS would directly support weighted load balancing that would be far easier to setup.</p>