title: How to configure AWS Load Balancer use a specific machine?
body: <p>We have a video meetings application that relies on a server using WebSockets.</p>
  <p>The clients communicate with the server using WebSockets.</p>
  <p>We would like to horizontally scale our app. So we have been thinking about using AWS Load Balancing.</p>
  <p>Basically, our server app will be installed on several EC2 machines and users will be redirected to the machine with the lowest load.</p>
  <p>The problem is that we have a specific requirement such that, the first user that connects to a meeting (machine), all the users connected to the same meeting should be forwarded to the same machine. So that our Server App can recognize all the participants to the same meeting.</p>
  <p>So basically here is the process :</p>
  <ul>
  <li>First User connected to meeting A =&gt; Forward to the machine with the lowest load (let's call it : X)</li>
  <li>Second User connected to meeting A =&gt; Forward to machine X</li>
  <li>First User connected to meeting B =&gt; Forward to the machine with the lowest load (let's call it : Y)</li>
  <li>Second User connected to meeting B =&gt; Forward to machine Y</li>
  <li>etc.</li>
  </ul>
  <p>Does anyone have an idea on how to configure AWS Load Balancer to work this way ?</p>
  <p>Thanks.
  Cheers,</p>