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
Easy deploy and manage EC2 instances with Rubber
Search
Sergey Efremov
October 04, 2012
Programming
0
350
Easy deploy and manage EC2 instances with Rubber
SPRUG 4.10
Sergey Efremov
October 04, 2012
Tweet
Share
Other Decks in Programming
See All in Programming
RDoc meets YARD
okuramasafumi
4
170
🔨 小さなビルドシステムを作る
momeemt
4
690
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
870
スケールする組織の実現に向けた インナーソース育成術 - ISGT2025
teamlab
PRO
2
170
私の後悔をAWS DMSで解決した話
hiramax
4
210
はじめてのMaterial3 Expressive
ym223
2
900
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
190
より安全で効率的な Go コードへ: Protocol Buffers Opaque API の導入
shwatanap
2
790
AIと私たちの学習の変化を考える - Claude Codeの学習モードを例に
azukiazusa1
11
4.4k
為你自己學 Python - 冷知識篇
eddie
1
350
AI Agents: How Do They Work and How to Build Them @ Shift 2025
slobodan
0
110
GitHubとGitLabとAWS CodePipelineでCI/CDを組み比べてみた
satoshi256kbyte
4
250
Featured
See All Featured
How GitHub (no longer) Works
holman
315
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Context Engineering - Making Every Token Count
addyosmani
3
62
4 Signs Your Business is Dying
shpigford
184
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
How STYLIGHT went responsive
nonsquared
100
5.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
Fireside Chat
paigeccino
39
3.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Transcript
Deploy and Manage EC2 instances with Rubber Sergey Efremov ResumUP
kittens included Friday, October 5, 12
Deploy Early Deploy Often Friday, October 5, 12
Deploy Early Deploy Often Friday, October 5, 12
Deploy Early Deploy Often Friday, October 5, 12
Problems? n + 1 servers servers are different you need
this new server 10 minutes ago Friday, October 5, 12
New server launch How it looks like Friday, October 5,
12
Rubber https://github.com/wr0ngway/rubber gem ‘rubber’ bundle install Friday, October 5, 12
Vulcanize rubber vulcanize complete_unicorn_nginx_postresql Complete Friday, October 5, 12
Vulcanize rubber vulcanize unicorn nginx monit munin postgresql Friday, October
5, 12
Rubber config #{Rails.root}/config/rubber - all configs rubber.yml - config of
rubber #{Rails.root}/config/rubber/roles/(unicorn|monit) configs of tools Friday, October 5, 12
Rubber.yml cloud_providers.aws image_type region Friday, October 5, 12
Tune configs it makes me cry Friday, October 5, 12
Roles role_dependencies: web: [nginx] app: [unicorn, munin, monit] web_tools: [nginx]
db: [postresql_master, monit] db_slave: [postresql_slave, monit] Friday, October 5, 12
Ready? Go! ALIAS=web01 ROLES=web cap rubber:create Friday, October 5, 12
Ready? Go! ALIAS=web01 ROLES=web cap rubber:create ALIAS=db01 ROLES=db cap rubber:create
Friday, October 5, 12
Ready? Go! ALIAS=web01 ROLES=web cap rubber:create ALIAS=db01 ROLES=db cap rubber:create
ALIAS=app01 ROLES=app cap rubber:create Friday, October 5, 12
Ready? Go! ALIAS=web01 ROLES=web cap rubber:create ALIAS=db01 ROLES=db cap rubber:create
ALIAS=app01 ROLES=app cap rubber:create ALIAS=tools ROLES=web_tools cap rubber:create Friday, October 5, 12
Bootstrap & Deploy cap rubber:bootstrap cap rubber:deploy Friday, October 5,
12
Moarrr servers Friday, October 5, 12
App Server ALIAS=app02 ROLE=app cap rubber:create FILTER=app02 cap rubber:bootstrap cap
rubber:deploy Friday, October 5, 12
DB Server ALIAS=db02 ROLE=db_slave cap rubber:create FILTER=db02 cap rubber:bootstrap cap
rubber:deploy Friday, October 5, 12
Kill them all FILTER=app02 cap rubber:destroy Friday, October 5, 12
Your own templates cap tasks (start, stop, install) role config
(packages, ports, etc.) server config (nginx.conf, etc.) It’s easy Friday, October 5, 12
Pull Request or GTFO more templates elastic balancer / autoscaling
other cloud providers Friday, October 5, 12
One more thing Friday, October 5, 12
One more thing gem ‘capistrano-nc’ Friday, October 5, 12
One more thing gem ‘capistrano-nc’ Friday, October 5, 12
Thanks Sergey Efremov @evilfaeton ResumUP Friday, October 5, 12