Skip to content

Self-bootstrapping Consul cluster using Cfer and Amazon CloudFormation

License

Notifications You must be signed in to change notification settings

seanedwards/chef-cfer-consul-cluster

Repository files navigation

cfer-consul-cluster-cookbook

Uses Cfer to launch a self-bootstrapping Consul cluster into an AWS AutoScaling group.

To launch the cluster, run rake converge. This will prompt you for:

  • A VPC ID
  • A comma-separated list of Subnet IDs
  • An EC2 Keypair name

Review and modify consul.rb before using this in production. I recommend also creating a wrapper cookbook to add your own server monitoring, log aggreagation, and other such infrastructure to these servers.

Features

  • New nodes automatically join the cluster.
  • Autoscaling policies roll over servers one at a time when changing things like instance type.
  • CloudFormation creation and updates will fail and roll back if there's a provisioning issue.

About

Self-bootstrapping Consul cluster using Cfer and Amazon CloudFormation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages