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
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
全PRの83%がAIレビューだけでマージできるようになった開発組織はその後どうなったか
athug
0
590
地域 SRE コミュニティ最前線 - ホンマでっかSRE勉強会
tk3fftk
0
280
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
330
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
440
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
240
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
120
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
160
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
130
AIエージェントで 変わるAndroid開発環境
takahirom
2
740
Foundation Models frameworkで画像分析
ryodeveloper
1
160
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
560
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
7.1k
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
200
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
430
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
220
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
Design in an AI World
tapps
1
270
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
420
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