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

Creating a simple cluster

Setting up a cluster with RabbitMQ is a matter of a few minutes. With just a few configuration steps, the high-availability cluster is up and running.

It's actually easier than setting it up locally, as seen in the Creating a localhost cluster recipe, since each node will use the standard port settings.

Getting ready

In order to prepare this recipe, you need at least two hosts with RabbitMQ installed and configured as standalone brokers.

Note

For the cluster to work properly, it's important that the versions of both RabbitMQ and Erlang are aligned on all the hosts.

The hosts can be physical servers, cloud instances, or virtual machines.

Tip

The Amazon Web Services (AWS) community AMI's with preinstalled RabbitMQ are usually outdated. ...

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