~/talk

Large-Scaled Deploy Over 100 Servers in 3 Minutes

Talkat Rails Pacific 2016 · 2016-05-20..05-21· [ruby-on-rails, devops-and-delivery]

Company runs Ruby on Rails minne with ~200 servers across 2 data centers and designs an image‑based pipeline to turn mutable infrastructure into immutable infrastructure. A pull deploy strategy using capistrano consul and stretcher plus image creation, a build server for Rails assets and bundle packages, and event-driven registration lets clusters launch and fetch releases; blue‑green switching minimizes downtime and the system completes a 100+ server rollout in about three minutes.

AI-written summary · about

  1. 0:00Start
  2. 0:31self.introduce
  3. 2:52Call for Speakers
  4. 4:51Concerns of bootstrap instructions
  5. 5:25Web operation is manual instructions
  6. 6:08Background of "No SSH"
  7. 6:57Provision with puppet
  8. 7:57To use puppetmasterd . We choice master/agent model . It's large scaled architecture because we didn't need to deploy
  9. 8:42What's cloud-init
  10. 9:30Basic usage of cloud-init
  11. 11:46Upgrading Rails 4
  12. 12:25What's new for capistrano3
  13. 12:49Do not use hostname/ip dependency
  14. 13:37Bundled package of Rails application
  15. 14:30Distributed rails package
  16. 15:01Integration of image creation We extracted rails bundle when instance creates self image with
  17. 15:32How to test instance behavior
  18. 16:52Scale out with cli command
  19. 17:24How to automate instructions
  20. 18:17Concerns of bootstrap time
  21. 19:03Check point of Image creation
  22. 19:212 phase strategy
  23. 20:41Use-case of Packer
  24. 20:57inside image creation with Packer
  25. 21:40minimal image
  26. 22:47web application image
  27. 25:26What's blocker for scale-out
  28. 26:58consul + consul-alert
  29. 28:34Configuration of mackrel
  30. 29:21access_log aggregator with td-agent
  31. 30:31Remove to batch scheduler We need to use batch role for scheduled rake task. We have to create some payments transaction, send promotion mail, indexing search items and more
  32. 31:13scheduler architecture
  33. 32:18Container based CI with Rails
  34. 33:31Serverspec
  35. 33:53Refactoring puppet manifets
  36. 34:19Switch Scientific Linux 6 to Centos 7
  37. 34:49All of processes under the systemd
  38. 36:45capistrano-strecher
  39. 37:25Architecture of pull strategy deployments
  40. 38:26Why we choose OpenStack?
  41. 39:19yaocloud and tool integration We made Ruby client for OpenStack named Yao.
  42. 40:01Multi DC deployments in 3 minutes
  43. 40:53Instructions of Blue-Green deployment
  44. 41:33Dynamic upstream with load balancer
  45. 42:44Slack integration of consul-template
  46. 43:03Example code of thor
  47. 43:58Summary • We can handle TV CM and TV Show used by scale-out servers.
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.