Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.66 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.66 KB

HashiCorp Vagrant Lab

This Vagrantfile deploys some of HashiCorp's products and simulates a small cloud infrastructure in a virtualized environment with Vagrant. This includes Nomad, Consul and Vault.

Nomad dashboard Consul dashboard

Getting started

Prerequisite: The latest versions of Vagrant and VirtualBox must be installed on your machine.

Feel free to change the VM's specs in the Vagrantfile on lines 9 to 11 before launching them. You can also add or remove nodes by adding or removing lines in the NODES array.

git clone https://github.com/balsigergil/hashicorp-vagrant-lab.git
cd hashicorp-vagrant-lab
vagrant up

What's in the box

This Vagrantfile deploys the following services on 3 virtual machines :

Note: The Nomad server is a Nomad client too.

It uses Ansible to provision all machines.