title: RabbitMQ Cluster on EC2: Hostname Issues
body: <p>I want to set up a 3 node Rabbit cluster on EC2 (amazon linux). We'd like to have recovery implemented so if we lose a server it can be replaced by another new server automagically. We can set the cluster up manually easily using the default hostname (ip-xx-xx-xx-xx) so that the broker id is rabbit@ip-xx-xx-xx-xx. This is because the hostname is resolvable over the network.</p>
  
  <p>The problem is: This hostname will change if we lose/reboot a server, invalidating the cluster. We haven't had luck in setting a custom <a href="http://karlgrz.com/rabbitmq-highly-available-queues-and-clustering-using-amazon-ec2/" rel="nofollow">static hostname</a> because they are not resolvable by other machines in the cluster; thats the only part of that article that doens't make sense.</p>
  
  <p>Has anyone accomplished a RabbitMQ Cluster on EC2 with a recovery implementation? Any advice is appreciated.</p>