Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Deployment tales
Search
Alexander Simonov
March 19, 2016
Technology
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deployment tales
Alexander Simonov
March 19, 2016
Other Decks in Technology
See All in Technology
[re:Invent2026事前勉強会(有志開催)]続きは、ラスベガスの廊下で / continue-in-the-vegas-hallway
sh_fk2
0
520
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
510
新卒エンジニア、 介護士になる
ryu1013
1
690
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
0
330
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
220
コードレビューをなくして見えたもの
henteko
0
130
Kiro Crew 入門 (手を離しても進む仕事) | 目指せ Kiro マスター 11
inariku
PRO
1
290
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
430
`go get`したらELFが降ってきた件
taiyow
0
170
生き様としてのSRE
hokkai7go
1
170
"AWSはちょっと苦手"でも大丈夫。AWS Blocks で手軽に作る Flutter のバックエンド #FlutterKaigi
tacck
PRO
0
150
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
810
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.8k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Cult of Friendly URLs
andyhume
79
7.1k
Bash Introduction
62gerente
615
220k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
560
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
How to build a perfect <img>
jonoalderson
1
6.2k
Transcript
Deployment tales OLEKSANDR SIMONOV
About Me •Oleksandr Simonov •Businessman/Software Engineer/DevOps •13 years in IT
•8 years with Ruby •Open Source contributor •Github: @simonoff
Shared Hosting Era Dedicated Server Era Cloud Era What is
wrong in every Era? ?!
Shared Hosting Era Apache
Shared Hosting Era Apache PERL/CGI
Shared Hosting Era Apache PERL/CGI PHP
Shared Hosting Era Apache PERL/CGI PHP MySQL
None
Deployment Process 1. Edit File 2. Upload 3. Open browser
4.Say: F*CK 5. Close browser 6. GOTO 1
None
Dedicated Server Era Debian/Red Hat
Dedicated Server Era Debian/Red Hat sudo
Dedicated Server Era Debian/Red Hat sudo vim
Dedicated Server Era Debian/Red Hat sudo vim rm -rf /
None
Deployment Process tar cvzf suppa.tar.gz suppa scp suppa.tar.gz
[email protected]
:/ ssh
[email protected]
tar xvzf /suppa.tar.gz /var/www/
None
Cloud Era capistrano
Cloud Era capistrano vlad
Cloud Era capistrano vlad mina
None
Cloud Era capistrano vlad mina ssh -> cd ..-> rails
s production
Cloud Era
None
Every Era Wrong There is no daemons There is a
lot crushes There is a lot bugs There is no persistence on restart
“Something went wrong” –Nginx default page
Usual fix init script passenger
Better fix daemon tools runit systemd
RUNIT a UNIX init scheme with service supervision
capistrano + runit
capistrano + runit all parts are services all parts will
be restarted all parts management without root/sudo
capistrano-runit gems collection puma sidekiq resque rake
https://github.com/ capistrano-runit
QUESTIONS?