Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Deploying Python (without Docker!)
Search
Nylas
December 02, 2015
Technology
360
0
Share
Deploying Python (without Docker!)
Christine Spang @ SF Python Holiday Party 2015
Nylas
December 02, 2015
More Decks by Nylas
See All by Nylas
Switching Off to Switch On!
nylas
1
110
Why Observability Matters
nylas
0
460
Billions of Emails Synced with Python
nylas
0
320
Profiling Python in Production
nylas
1
230
Debugging Python using GDB
nylas
0
75
Plugins with React & Challenges with Data
nylas
0
120
Space City JS — Using Electron & React to Build N1
nylas
0
120
Waffle JS: Desktop Apps with Electron, React, & Observables
nylas
0
460
Electron, Node, and the New Desktop @ SFNode
nylas
0
350
Other Decks in Technology
See All in Technology
AI時代に改めて考える、ドメイン駆動設計 - モデリングが「AIへの共通言語」になる
littlehands
8
2.4k
シンデレラなんかになりたくない!ガラスの靴が割れた時代にどう歩く?
nomizone
0
200
CloudFront VPCオリジンとVPC Latticeサービスの内部ALBをマルチアカウントで一元利用しよう
duelist2020jp
5
240
Python開発環境にハーネス適用を検討する
yuuka51
1
520
最低限これだけ押さえれ大丈夫_Claude Enterprise/Team企業展開ガバナンス入門
tkikuchi
1
140
データ分析基盤の信頼を支える視点と設計
yuki_saito
1
690
「使われるデータ基盤」を目指してデータアナリストとワークショップをやった話
jackojacko_
2
870
Typiaで配信JSONの安全性を構造的に担保する(TSKaigi2026)
righttouch
PRO
1
180
イベントストーミングとKiroの仕様駆動開発で実現する要件の認識合わせプロセス
syobochim
5
540
オンコールの負荷軽減のためのBits Assistant 活用方法 / How to Use Bits Assistant to Reduce the Workload on On-Call Staff
sms_tech
1
130
自称宇宙最速で不合格となったAIP-C01にリベンジを果たすべくAIで問題集アプリを作ってみた。
yama3133
0
200
Amazon CloudFrontにおけるAIボットアクセス制御のポイント
kizawa2020
4
280
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
240
Code Review Best Practice
trishagee
74
20k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
370
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
370
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Accessibility Awareness
sabderemane
1
130
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Being A Developer After 40
akosma
91
590k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
510
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
710
Transcript
Deploying Python Christine Spang @spang
[email protected]
…without Docker!
• 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
Debian Packages (the original containers)
Deployment flow S3 Python & requirements.txt Git Repo Debian Package
Jenkins CI $ ./deploy-it Production Fleet
• 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
• 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
Why not Docker?
• 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?
Python 2.7 + .deb == ULTIMATE STABILITY!
Want to read more? Christine Spang
[email protected]
@spang https://nylas.com/blog/packaging-deploying-python/ PS:
We are hiring Python programmers!