Consul: Discover your Services Oliver Fischer Jrg Mller - - PowerPoint PPT Presentation

consul discover your services
SMART_READER_LITE
LIVE PREVIEW

Consul: Discover your Services Oliver Fischer Jrg Mller - - PowerPoint PPT Presentation

Consul: Discover your Services Oliver Fischer Jrg Mller @sweblogtweets @JoergM Jrg Mller @JoergM Hypoport AG Oliver Fischer @sweblogtweets E-Post Development GmbH Why are we talking about Consul? Distributed Systems


slide-1
SLIDE 1

Consul: Discover your Services

Oliver Fischer
 @sweblogtweets 
 Jörg Müller
 @JoergM

slide-2
SLIDE 2

Jörg Müller @JoergM Hypoport AG Oliver Fischer @sweblogtweets E-Post Development GmbH

slide-3
SLIDE 3

Why are we talking about Consul?

slide-4
SLIDE 4

Distributed Systems are the new normality

slide-5
SLIDE 5

Problem Areas

Service Discovery Monitoring Orchestration Configuration

slide-6
SLIDE 6

What exactly is Service Discovery?

slide-7
SLIDE 7

Static Configuration

slide-8
SLIDE 8

Semantic DNS

slide-9
SLIDE 9

DNS and Loadbalancer

slide-10
SLIDE 10

Discovery via Registry

Service Registry register

slide-11
SLIDE 11

Using Consul for Service Discovery

slide-12
SLIDE 12

How does this work?

slide-13
SLIDE 13

Local agents everywhere

slide-14
SLIDE 14

Server are cluster 
 state aware

slide-15
SLIDE 15

Jim?

Jim is dead! J i m i s d e a d ! J i m i s d e a d ! J i m i s d e a d !

Communication between cluster nodes

slide-16
SLIDE 16

Interaction of agents

slide-17
SLIDE 17

Complex example

slide-18
SLIDE 18

Real World Use Case

slide-19
SLIDE 19

DNS?

slide-20
SLIDE 20

DNS? -> No

slide-21
SLIDE 21

REST-API?

slide-22
SLIDE 22

REST-API? -> No

slide-23
SLIDE 23

Consul & HAProxy

slide-24
SLIDE 24

Show case

slide-25
SLIDE 25

DEMO

slide-26
SLIDE 26

But there is more…

slide-27
SLIDE 27

Features of Consul

slide-28
SLIDE 28

Consul

Service registry

slide-29
SLIDE 29

Consul

Service registry DNS Server

Example on Github

slide-30
SLIDE 30

Consul

Service registry DNS Server

Example on Github

HTTP API

slide-31
SLIDE 31

Consul

Service registry DNS Server HTTP API Key Value Store

slide-32
SLIDE 32

Consul

Service registry DNS Server HTTP API Key Value Store Locks

Example on Github

slide-33
SLIDE 33

Consul

Service registry DNS Server HTTP API Key Value Store Locks Remote Execution

slide-34
SLIDE 34

Consul

Service registry DNS Server HTTP API Key Value Store Locks Remote Execution Watches & Events

Example on Github

slide-35
SLIDE 35

Consul

Service registry DNS Server HTTP API Key Value Store Locks Remote Execution Watches & Events

Example on Github

Checks

slide-36
SLIDE 36

Consul

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

slide-37
SLIDE 37

Consul

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

slide-38
SLIDE 38

Consul

Service registry DNS Server HTTP API Key Value Store Locks Remote Execution Watches & Events Checks Third party integrations Encryption and ACLs Multiple Datacenters

slide-39
SLIDE 39

Summary

slide-40
SLIDE 40

State of Consul

slide-41
SLIDE 41

Difficulties today

slide-42
SLIDE 42

The potential rises while using it

slide-43
SLIDE 43

More on Consul

Getting started: https://consul.io/intro/index.html Documentation: https://consul.io/docs/index.html Our examples: https://github.com/JoergM/consul-examples

slide-44
SLIDE 44

Q & A