service discovery: a sales pitch to myself
TRANSCRIPT
$ervice Di$coveryA Sales Pitch to Myself
6 W's
Who?
What?
When?
Where?
Why?
How?
Who
When
http://bit.ly/1OUYM21
Where
• In this room
In the Beginning...
Cloud
http://bit.ly/1Ts3wzy http://bit.ly/1Ts3xDx
http://bit.ly/1Ts3BDn
http://bit.ly/1Ts3EyV
And now...
http://bit.ly/1OUZoF1
And now...
Again, but with Cloud...
Internal DNS
Another Service
With Scale
What
http://bit.ly/1Ts3OX4
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
How?
http://bit.ly/1Ts3Q1c
Consul
• Service Discovery
• Health Checks
• Key Value Store
Consul
Production10.0.0.0/16
Production - us-east-1c Private10.0.0.0/19
Production - us-east-1d Private10.0.64.0/19
Production - us-east-1e Private10.0.128.0/19
Consul Clusterconsul.seatgeek.com
Consul Server10.0.0.6 Consul Server
10.0.64.6
Consul Server 10.0.128.6
consul agent —client
Service
consul agent —server
Service Lookup• local HAProxy • Consul DNS
Service Registration• Definitions in cookbooks • Consul Client
http://bit.ly/1Ts3V4U
Demo!
What does this mean for non Ops?
NOTHING!
Well not quite...
http://bit.ly/1Ts3XK2
http://bit.ly/1OV0u3v