ashleykleynhans / vagrant-ansible-rabbitmq

Provision a RabbitMQ cluster on Ubuntu 22.04 LTS using Vagrant, Virtualbox, Ansible, HAProxy and Consul for Service Discovery.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vagrant-ansible-rabbitmq

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.

Clone the GitHub Repository

Run the following command from the terminal to clone the GitHub Repository:

git clone https://github.com/ashleykleynhans/vagrant-ansible-rabbitmq.git

Install Required Software

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

Managing the Stack

Begin by ensuring that you are in the directory which the Github Repository was cloned to:

cd vagrant-ansible-rabbitmq

Starting the Stack

vagrant up

Stopping the Stack

vagrant halt

Deleting the Stack

vagrant destroy -f

About

Provision a RabbitMQ cluster on Ubuntu 22.04 LTS using Vagrant, Virtualbox, Ansible, HAProxy and Consul for Service Discovery.


Languages

Language:HCL 77.4%Language:Shell 21.2%Language:Jinja 1.4%