Introduction
Why Consul?
Consul vs ZooKeeper, Chef, Puppet, SkyDNS, SmartStack, Serf, Custom Solutions
Installation and setup
Consul architectural overview
Server and agents
Consensus protocol, Gossip protocol, Network coordinates, Sessions, Anti-entropy, Security model, Jepsen testing
Using the Consul CLI
Using the Consul web UI
Running the agents
Creating a cluster
Service Discovery
Setting up Consul clients to discover services and databases
Health Checking
Setting up Consul clients to provide health checks (webserver availability, memory utilization, etc.)
KV Store
Setting up Consul's hierarchical key/value store
Federation
Configuring Consul to support multiple datacenters
Consul's Access Control List (ACL)
Controlling access to Consul resources
Autopilot
Setting up automatic management of Consul servers
Adding and removing Consul servers
Bootstrapping a new datacenter
DNS forwarding
Outage recovery
Performance tuning
Upgrading Consul
Closing remarks |