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
Slide 11
Slide 11 text
Rubber.yml
cloud_providers.aws
image_type
region
Friday, October 5, 12
Ready? Go!
ALIAS=web01 ROLES=web cap rubber:create
Friday, October 5, 12
Slide 15
Slide 15 text
Ready? Go!
ALIAS=web01 ROLES=web cap rubber:create
ALIAS=db01 ROLES=db cap rubber:create
Friday, October 5, 12
Slide 16
Slide 16 text
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
Slide 17
Slide 17 text
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
Slide 18
Slide 18 text
Bootstrap & Deploy
cap rubber:bootstrap
cap rubber:deploy
Friday, October 5, 12
Slide 19
Slide 19 text
Moarrr servers
Friday, October 5, 12
Slide 20
Slide 20 text
App Server
ALIAS=app02 ROLE=app cap rubber:create
FILTER=app02 cap rubber:bootstrap
cap rubber:deploy
Friday, October 5, 12
Slide 21
Slide 21 text
DB Server
ALIAS=db02 ROLE=db_slave cap rubber:create
FILTER=db02 cap rubber:bootstrap
cap rubber:deploy
Friday, October 5, 12
Slide 22
Slide 22 text
Kill them all
FILTER=app02 cap rubber:destroy
Friday, October 5, 12
Slide 23
Slide 23 text
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
Slide 24
Slide 24 text
Pull Request or GTFO
more templates
elastic balancer / autoscaling
other cloud providers
Friday, October 5, 12
Slide 25
Slide 25 text
One more thing
Friday, October 5, 12
Slide 26
Slide 26 text
One more thing
gem ‘capistrano-nc’
Friday, October 5, 12
Slide 27
Slide 27 text
One more thing
gem ‘capistrano-nc’
Friday, October 5, 12
Slide 28
Slide 28 text
Thanks
Sergey Efremov
@evilfaeton
ResumUP
Friday, October 5, 12