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
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
240
Debugging Python using GDB
nylas
0
77
Plugins with React & Challenges with Data
nylas
0
130
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
自宅LLMの話
jacopen
1
440
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
210
スキルと MCP ツール、責務をどう分けるか? AI が迷わないインターフェース設計の戦略
cdataj
1
970
現地で盛り上がった WWDC26 Keynote
zozotech
PRO
1
210
プロダクト開発から業務改善コンサルまで。事業全体へ「染み出す」ことで広がるエンジニアの可能性
ham0215
0
110
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development with AI-DLC
yoshidashingo
0
170
Android の公式 Skill / Android skills
yanzm
0
130
非定型業務をAI slackbotで自動化する ~ 社内要望を自動壁打ちするbotを作った ~/automating-ad-hoc-work-with-ai-slackbot
shibayu36
0
620
「エンジニア進化論」2028年の開発完全自動化、エンジニアはどう進化するか
cyberagentdevelopers
PRO
6
4.6k
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
2026TECHFRESH畢業分享會 - Lightning Talk - E起 See See : 電商推薦讀心術? 數據說了算
line_developers_tw
PRO
0
850
protovalidate-es を導入してみた
bengo4com
0
170
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
630
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
350
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
200
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
270
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
440
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
190
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
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!