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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sergey Efremov
October 04, 2012
Programming
370
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Easy deploy and manage EC2 instances with Rubber
SPRUG 4.10
Sergey Efremov
October 04, 2012
Other Decks in Programming
See All in Programming
CSC307 Lecture 17
javiergs
PRO
0
320
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
110
AIエージェントの隔離技術の徹底比較
kawayu
0
470
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
200
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
120
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
610
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
170
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.9k
OSもどきOS
arkw
0
470
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
150
Vite+ Unified Toolchain for the Web
naokihaba
0
120
さぁV100、メモリをお食べ・・・
nilpe
0
130
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Mind Mapping
helmedeiros
PRO
1
240
Abbi's Birthday
coloredviolet
2
8k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
Optimizing for Happiness
mojombo
378
71k
Writing Fast Ruby
sferik
630
63k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
390
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
140
Done Done
chrislema
186
16k
4 Signs Your Business is Dying
shpigford
187
22k
Designing for humans not robots
tammielis
254
26k
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