Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Consul: Discover your Services (GOTO Berlin 2015)

Consul: Discover your Services (GOTO Berlin 2015)

There is a strong trend to split large systems in to smaller and smaller parts and distribute them over numerous machines. Whether you just call it scaling, redundancy or even microservices, after a certain point you need new mechanisms to support this. Mechanisms that provide an overview which services are in place and where. Services also need to be monitored and finally they need to find each other.

Consul is one of a new breed of solutions that help with service discovery. Consul is a high availability solution that can even be used across data centers. Service information can be distributed quickly across the whole cluster. Consul offers interfaces for service discovery via REST, DNS and even template mechanisms. It also includes a Key-Value Store, distributed locks and health checking.

Starting with Consul is usually simple. We will show the basics but also a more complex setup that can be used in production.

Joerg Mueller

December 03, 2015
Tweet

More Decks by Joerg Mueller

Other Decks in Programming

Transcript

  1. Jim? Jim is dead! Jim is dead! Jim is dead!

    Jim is dead! Communication between cluster nodes
  2. Consul Service registry DNS Server HTTP API Key Value Store

    Locks Remote Execution Watches & Events Example on Github
  3. Consul Service registry DNS Server HTTP API Key Value Store

    Locks Remote Execution Watches & Events Example on Github Checks
  4. Consul Service registry DNS Server HTTP API Key Value Store

    Locks Remote Execution Watches & Events Checks Encryption and ACLs
  5. Consul Service registry DNS Server HTTP API Key Value Store

    Locks Remote Execution Watches & Events Checks Encryption and ACLs Multiple Datacenters
  6. Consul Service registry DNS Server HTTP API Key Value Store

    Locks Remote Execution Watches & Events Checks Third party integrations Encryption and ACLs Multiple Datacenters