Slide 1

Slide 1 text

$ervice Di$covery A Sales Pitch to Myself

Slide 2

Slide 2 text

6 W's Who? What? When? Where? Why? How?

Slide 3

Slide 3 text

Who

Slide 4

Slide 4 text

When http://bit.ly/1OUYM21

Slide 5

Slide 5 text

Where • In this room

Slide 6

Slide 6 text

Why http://bit.ly/1Ts3tUu

Slide 7

Slide 7 text

In the Beginning...

Slide 8

Slide 8 text

Cloud http://bit.ly/1Ts3wzy http://bit.ly/1Ts3xDx http://bit.ly/1Ts3BDn http://bit.ly/1Ts3EyV

Slide 9

Slide 9 text

And now...

Slide 10

Slide 10 text

http://bit.ly/1OUZoF1

Slide 11

Slide 11 text

And now...

Slide 12

Slide 12 text

Again, but with Cloud...

Slide 13

Slide 13 text

Internal DNS

Slide 14

Slide 14 text

Another Service

Slide 15

Slide 15 text

With Scale

Slide 16

Slide 16 text

What http://bit.ly/1Ts3OX4

Slide 17

Slide 17 text

Little Column A... 
 Little Column B Service Lookup • the ability to retrieve the location of an application Service Registration • ability to sign up on the central authority's list

Slide 18

Slide 18 text

How? http://bit.ly/1Ts3Q1c

Slide 19

Slide 19 text

Consul • Service Discovery • Health Checks • Key Value Store

Slide 20

Slide 20 text

Consul Production 10.0.0.0/16 Production - us-east-1c Private 10.0.0.0/19 Production - us-east-1d Private 10.0.64.0/19 Production - us-east-1e Private 10.0.128.0/19 Consul Cluster consul.seatgeek.com Consul Server 10.0.0.6 Consul Server 10.0.64.6 Consul Server 10.0.128.6 consul agent —client Service consul agent —server

Slide 21

Slide 21 text

Service Lookup • local HAProxy • Consul DNS

Slide 22

Slide 22 text

Service Registration • Definitions in cookbooks • Consul Client

Slide 23

Slide 23 text

http://bit.ly/1Ts3V4U

Slide 24

Slide 24 text

Demo!

Slide 25

Slide 25 text

What does this mean for non Ops?

Slide 26

Slide 26 text

NOTHING!

Slide 27

Slide 27 text

Well not quite... http://bit.ly/1Ts3XK2

Slide 28

Slide 28 text

http://bit.ly/1OV0u3v