/cloud-cluster

Framework to deploy and bootstrap clusters on the cloud using Hashicorp tools

Primary LanguageGoMozilla Public License 2.0MPL-2.0

Cloud-Cluster

This repo contains a set of utilities to deploy and bootstrap clusters using cloud tools developed by Hashicorp. It is based on the framework used in Nomad.

The nodes of the cluster use Consul to register themselves (with a specific service name) and query for other nodes that belong to the cluster. Then, new nodes found on Consul are piped into Serf to check for membership and failure detection. It can also use Raft to provide a shared state between the servers.

TODO

  • Use consul connect to proxy communications.
  • Docker with redis.
  • Can new instances become raft-leaders? They should not if their state is not fully synced (Nomad?).