O'Reilly logo

RabbitMQ Cookbook by Sigismondo Boschi, Gabriele Santomaggio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring EC2 dynamic bind

One of the benefits of the cloud is the scalability, and when you configure a RabbitMQ cluster, you need to automate the joining steps. You shouldn't manually configure each new RabbitMQ cluster node.

In this recipe we will see how to join new machines to the RabbitMQ cluster.

Getting ready

You need to create a VPC as we did in the Creating a cluster with two EC2 instances recipe.

How to do it…

In this example we use Ubuntu 12.04.3 LTS Cloud. Perform the following steps to join new machines to the cluster:

  1. Create a VPC as we did in the Creating a cluster with two EC2 instances recipe, without creating the cluster.
  2. Add one machine to the VPC. This machine will be the master of the RabbitMQ cluster, to which other nodes will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required