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

Zero Downtime Deployment Golden Rules

Zero Downtime Deployment Golden Rules

I T.A.K.E Unconference 2016 (Bucharest, Romania)

Tugberk Ugurlu

May 20, 2016
Tweet

More Decks by Tugberk Ugurlu

Other Decks in Programming

Transcript

  1. #itakeunconf Example HTTP APIs v1 Example Android iPhone Example Android

    Client Example Web Client Example HTTP APIs v1.1
  2. SemVer Your Software • See semver.org • Support 2 Major

    versions of the HTTP Service, not 1, not 3. • Define a support policy for support lifetime for versions #itakeunconf
  3. Type of Changes • Patch: No user facing changes, all

    internal. • Minor: Add functionality in a backwards-compatible manner • Major: Introducing incompatible changes • See semver.org for more information #itakeunconf
  4. example-api-v0-6327638 example-api-v0-7814219 example-api-v0-9528392 LB v0.example.com example Products example Products example

    Products example-api-v0-6786234 example-api-v0-3266280 example-api-v0-8429842 example Products example Products example Products
  5. Internal LB-1 LB-1 Internal LB-2 server1 server2 server3 server4 server5

    server6 server7 server8 server9 server10 client client client client client client #itakeunconf
  6. example-api-v0-6327638 example-api-v0-7814219 example-api-v0-9528392 LB v0.example.com example Products example Products example

    Products example-api-v1-2276168 example-api-v1-5677802 example Products example Products LB v1.example.com example-api-v1-7182721 example Products
  7. #itakeunconf Id Make Model Colour 1 Renault Clio Red 2

    Mercedes GLA Black 3 Volkswagen Polo White 4 Toyota Yaris Yellow Id Make Model Colour 1 Renault Clio Red 2 Mercedes GLA Black 3 Volkswagen Polo White 4 Toyota Yaris Yellow v1 v2
  8. Helpful Tools • HAProxy • Octopus Deploy • node-semver CLI

    • Docker • Docker Cloud (a.k.a. Tutum) • DLM Automation Tools from Redgate #itakeunconf