In the previous recipe we have created a RabbitMQ cluster. Now we will see how to use the cluster from the Internet. A typical scenario is to create a public RabbitMQ as a service.
We use Amazon Elastic Load Balancing (http://aws.amazon.com/elasticloadbalancing/) as the frontend.
You need to create a cluster as we have already seen in the Creating a cluster with two EC2 instances recipe.
After creating a private cluster, you can't access it directly: you need to use a gateway; let's see the AWS elastic load balance configuration: