Skip to content

balsigergil/hashicorp-cloud-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.