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

Deploying Python (without Docker!)

Nylas
December 02, 2015

Deploying Python (without Docker!)

Christine Spang @ SF Python Holiday Party 2015

Nylas

December 02, 2015
Tweet

More Decks by Nylas

Other Decks in Technology

Transcript

  1. • Stable, reliable, low maintenance • Bundles all Python dependencies

    • Fast and painless to deploy • Easy to roll back to any version • …across hundreds of servers! Our deployment system
  2. • built by Spotify in ’13 (thanks!!!) • Embeds a

    virtualenv in a Debian package (.deb) • https://github.com/spotify/dh-virtualenv • https://github.com/nylas/make-deb dh-virtualenv
  3. • we use git SHAs for version #s • no

    debian version #s to bump to release! • we don’t maintain an internal apt server • deploy script installs using dpkg Versioning
  4. • Same benefit using simpler, stabler tools • We only

    run a handful of services (not hundreds) • Don’t have to change any development workflow • debs+VMs work well for our level of complexity Why .deb instead of Docker?