Provision a High Availability RabbitMQ cluster on Ubuntu 22.04 LTS using Vagrant, Virtualbox and Ansible. The cluster uses Hashicorp Consul for monitoring the health of the nodes in the cluster and an HAProxy load balancer to ensure High Availability.
Run the following command from the terminal to clone the GitHub Repository:
git clone https://github.com/ashleykleynhans/vagrant-ansible-rabbitmq.git
Begin by installing the homebrew package manager, which works on both Mac and Ubuntu Linux. May work on other Linux distributions but has not bee n tested.
Run the following command from the terminal to install homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
All of the remaining software can be installed by cloning the git repository and running the setup script provided.
Run the setup script from the terminal to install the required software:
./setup.sh
Begin by ensuring that you are in the directory which the Github Repository was cloned to:
cd vagrant-ansible-rabbitmq
vagrant up
vagrant halt
vagrant destroy -f