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
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
0
380
Flutterと Vibe Coding で個人開発!
hyshu
1
230
Claude Code と OpenAI o3 で メタデータ情報を作る
laket
0
110
Android 15以上でPDFのテキスト検索を爆速開発!
tonionagauzzi
0
190
Vibe coding コードレビュー
kinopeee
0
420
自作OSでDOOMを動かしてみた
zakki0925224
1
970
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
220
一人でAIプロダクトを作るための工夫 〜技術選定・開発プロセス編〜 / I want AI to work harder
rkaga
6
990
Comparing decimals in Swift Testing
417_72ki
0
160
PHPUnitの限界をPlaywrightで補完するテストアプローチ
yuzneri
0
380
バイブコーディング超えてバイブデプロイ〜CloudflareMCPで実現する、未来のアプリケーションデリバリー〜
azukiazusa1
3
790
AIに安心して任せるためにTypeScriptで一意な型を作ろう
arfes0e2b3c
0
330
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
The Cult of Friendly URLs
andyhume
79
6.5k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Writing Fast Ruby
sferik
628
62k
Building an army of robots
kneath
306
45k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Speed Design
sergeychernyshev
32
1.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.5k
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