/nomad-cluster

nomad-cluster

Primary LanguageHCL

Build and Deploy a Nomad and Consul Cluster

This project contains an example of use Packer to build an Amazon Machine Image that Terraform uses to provision a Nomad cluster, backed by Consul.

The cluster consists of two Auto Scaling Groups (ASGs): one with a small number (minuim 3 recommended) of Nomad and Consul server nodes, which are responsible for being part of the concensus protocol, and one with a number (2 in this example) of Nomad and Consul client nodes, which are used to run jobs.

Quick start

Clone this repo to your computer.

git clone https://github.com/dig-dig/nomad-cluster.git