Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Why Bosh? I just learnt Chef!

Why Bosh? I just learnt Chef!

In this talk, we compare Chef and Bosh and why Bosh was created and now used within the Cloud Foundry community.

Dr Nic Williams

April 20, 2013
Tweet

More Decks by Dr Nic Williams

Other Decks in Technology

Transcript

  1. WHY BOSH? Dr Nic Williams CEO, Stark & Wayne @drnic,

    starkandwayne.com I JUST LEARNT CHEF!
  2. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 stark & wayne
  3. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 0-1 visa
  4. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 “alien of extraordinary ability”
  5. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 saving lives
  6. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 Everyone deserves nice things
  7. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 • Run apps as easy as Heroku • Let the person with the problem write & run the app • Especially in enterprises
  8. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 important to me • No secret sauce • Everything open source • Any infrastructure • But, oh but, ...
  9. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 but who runs ?
  10. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 users & developers IT & sysadmins
  11. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 Everyone deserves nice things
  12. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 kiss
  13. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 kiss keep it simple for Sysadmins
  14. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 kiss keep it simple for support
  15. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 Oh please God, I just learnt how to use it WHY NOT CHEF?
  16. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 the humBlE server
  17. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 chef
  18. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013
  19. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013
  20. THE RUBICON GROUP DR NIC, STARK & WAYNE | WHY

    BOSH? I JUST LEARNT CHEF | CLOUDTECH4 APRIL 2013
  21. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 bosh
  22. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 • System manifest (deployment) • Server images (stemcells) • Packaging system (packages) • Server config (jobs) complete running servers
  23. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 • System manifest (deployment) • Server images (stemcells) • Packaging system (packages) • Server config (jobs) complete server management
  24. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 • System manifest (deployment) • Server images (stemcells) • Packaging system (packages) • Server config (jobs) complete networking
  25. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 config mgmt config mgmt packaging server mgmt networking chef bosh
  26. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 “here’s how you run it” bosh
  27. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 “Here’s how to hide mysql configuration behind some ruby” chef
  28. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 deploying cloud foundry • Initial experimentation on AWS • Quiet launch on OpenStack • Scale out over multi-data centers
  29. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 how big is Cloud foundry? • minimum 10 running jobs • Up to 50 diff jobs • 80+ packages https://github/cloudfoundry/cf-release
  30. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 Owning cloud Foundry • Potentially daily releases • Enterprise customizations • Dev --> Staging --> Production • Small --> Medium --> Large • Lifespan is 5-10 years • Need simple UX for entire lifecycle
  31. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 USING BOSH 5 min intro to deploy CF
  32. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 stemcell / image packages jobs deployment manifest common and public written by system authors edited by system operator
  33. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 gem  install  bosh-­‐bootstrap bosh-­‐bootstrap  deploy bosh-­‐bootstrap  ssh bosh  cf  prepare  system  demo bosh  cf  change  deas  3 bosh  cf  add  service  postgresql  2 bosh  cf  add  service  redis  1 bosh  deploy Try this:
  34. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 redis redis_node pgsql postgresql_node pgsql postgresql_node dea dea dea router cloud controller (api) nats health manager uaa (sso) internal postgres internal redis postgres gateway redis gateway 54.214.3.29 drniccloud.com
  35. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 DIY BOSH Describe your stuff Let others deploy it
  36. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 Create own bosh releases: gem  install  bosh-­‐gen bosh-­‐gen  new  my-­‐system cd  my-­‐system git  submodule  add  <url>  src/myapp bosh-­‐gen  package  myapp  -­‐f  ‘src/**/*’ bosh-­‐gen  job  webapp  -­‐p  myapp bosh-­‐gen  extract-­‐job  ../cf-­‐release/jobs/pg
  37. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 kiss $ bosh deploy
  38. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 • Upgrade system • Scale system • Upgrade machine images • Change properties/databag $ bosh deploy
  39. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 its really fun! $ bosh deploy
  40. DR NIC, STARK & WAYNE | WHY BOSH? I JUST

    LEARNT CHEF | CLOUDTECH4 APRIL 2013 bosh https://github/cloudfoundry/bosh $  bosh  deploy $  cf  push https://github/cloudfoundry/cf-release