Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Deploying Python (without Docker!)
Search
Nylas
December 02, 2015
Technology
0
340
Deploying Python (without Docker!)
Christine Spang @ SF Python Holiday Party 2015
Nylas
December 02, 2015
Tweet
Share
More Decks by Nylas
See All by Nylas
Switching Off to Switch On!
nylas
1
100
Why Observability Matters
nylas
0
440
Billions of Emails Synced with Python
nylas
0
300
Profiling Python in Production
nylas
1
230
Debugging Python using GDB
nylas
0
70
Plugins with React & Challenges with Data
nylas
0
120
Space City JS — Using Electron & React to Build N1
nylas
0
110
Waffle JS: Desktop Apps with Electron, React, & Observables
nylas
0
450
Electron, Node, and the New Desktop @ SFNode
nylas
0
340
Other Decks in Technology
See All in Technology
AWS Security Agentの紹介/introducing-aws-security-agent
tomoki10
0
130
最近のLinux普段づかいWaylandデスクトップ元年
penguin2716
1
690
形式手法特論:CEGAR を用いたモデル検査の状態空間削減 #kernelvm / Kernel VM Study Hokuriku Part 8
ytaka23
2
460
寫了幾年 Code,然後呢?軟體工程師必須重新認識的 DevOps
cheng_wei_chen
1
1.3k
Uncertainty in the LLM era - Science, more than scale
gaelvaroquaux
0
840
Reinforcement Fine-tuning 基礎〜実践まで
ch6noota
0
170
[デモです] NotebookLM で作ったスライドの例
kongmingstrap
0
140
Debugging Edge AI on Zephyr and Lessons Learned
iotengineer22
0
170
直接メモリアクセス
koba789
0
290
Kiro Autonomous AgentとKiro Powers の紹介 / kiro-autonomous-agent-and-powers
tomoki10
0
410
ML PM Talk #1 - ML PMの分類に関する考察
lycorptech_jp
PRO
1
800
手動から自動へ、そしてその先へ
moritamasami
0
300
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
We Have a Design System, Now What?
morganepeng
54
7.9k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
Writing Fast Ruby
sferik
630
62k
Being A Developer After 40
akosma
91
590k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Thoughts on Productivity
jonyablonski
73
5k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
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!