title: How to set up autoscaling RabbitMQ Cluster AWS
body: <p>I'm trying to move away from SQS to RabbitMQ for messaging service. I'm looking to build a stable high availability queuing service. For now I'm going with cluster. </p>
  
  <p><strong>Current Implementation</strong> , 
           I have three EC2 machines with RabbitMQ with management plugin installed in a AMI , and then I explicitly go to each of the machine and add </p>
  
  <pre><code>sudo rabbitmqctl join_cluster rabbit@&lt;hostnameOfParentMachine&gt;
  </code></pre>
  
  <p>With HA property set to all and the synchronization works. And a load balancer on top it with a DNS assigned. So far this thing works. </p>
  
  <p><strong>Expected Implementation</strong>: Create an autoscaling clustered environment where the machines that go Up/Down has to join/Remove the cluster dynamically. What is the best way to achieve this? Please help.</p>