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

DevopsConf 2015

DevopsConf 2015

Devops desde la trinchera

Avatar for Matias De Carli

Matias De Carli

November 11, 2015
Tweet

More Decks by Matias De Carli

Other Decks in Technology

Transcript

  1. • +700.000 registered users • 15k/20k monthly users • +150

    countries Product • Node.js app, multiple Clients • MongoDB • Microsoft Azure • Lots of sockets Tech
  2. Requirements • Azure • No DEIS • No MESOS •

    Scale Down • Fast & Easy Going • Low Footprint • Zero downtime deploys • FIVE NINes SLA (99.999%) • easy Scaling
  3. • Low footprint • No agent needed on host •

    Visibility trough Tower • Fast • SSH (Password or Key) • YML
  4. AFTER • 2 Load Balancers (HA) • HAPROXY ON LB

    • Internal Network • No routing on hosts • Rolling deployment • Sticky Sessions on LB
  5. Host selection: Web Turning off the old container, creating a

    new one Post-tasks: Smoke test the app Pre-Tasks: Removing host from the HAProxy set
  6. Tag deployments on New Relic & Roller Host Selection: LB

    & Restart HAProxy Putting back the node on the LB set Host Selection: MGMT
  7. “Measure what is measurable, and make measurable what is not

    so.” -Galileo GalileI “You Can’t Improve What You Can’t Measure.” -Agustin Soler