Slide 1

Slide 1 text

etcd Chris Fidao (how to propagate your mistakes to every server)

Slide 2

Slide 2 text

what is etcd? Key-Value Storage key-a value-a key-b value-b user some-user password some-password

Slide 3

Slide 3 text

what is etcd? • highly-available key-value store • written in Go • good for • shared configuration • service discovery • feature flags

Slide 4

Slide 4 text

ok, so… what is etcd? highly-available key value store! Raft: A Distributed Consensus Protocol https://speakerdeck.com/benbjohnson/raft-the- understandable-distributed-consensus-protocol

Slide 5

Slide 5 text

a cluster behind a proxy m f f etcd Proxy App A App B Web Proxy setups

Slide 6

Slide 6 text

setups as part of each app/server App Server A m f App Server B f App Server C Web Proxy

Slide 7

Slide 7 text

using etcd is it easy?! (yes) REST api! $ curl -X PUT http://127.0.0.1:4001/v2/keys/some-key \ -d “value=some-value” $ curl http://127.0.0.1:4001/v2/keys/some-key

Slide 8

Slide 8 text

DEMO

Slide 9

Slide 9 text

thnx @fideloper ServersForHackers.com https://github.com/fideloper/ Vaprobash/ Vaprobash! Vagrant Provisioning Bash Scripts