-
Book Overview & Buying
-
Table Of Contents
RabbitMQ Cookbook
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.
You need to create a VPC as we did in the Creating a cluster with two EC2 instances recipe.
In this example we use Ubuntu 12.04.3 LTS Cloud. Perform the following steps to join new machines to the cluster:
Create a VPC as we did in the Creating a cluster with two EC2 instances recipe, without creating the cluster.
Add one machine to the VPC. This machine will be the master of the RabbitMQ cluster, to which other nodes will be added.
Create the script to join a new machine to the master node of the cluster.
Put the script on the user data EC2 instance during the startup.
Check your cluster.
After step 1, we are ready to add the machines to the cluster. We need...
Change the font size
Change margin width
Change background colour