Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Build your own heroku with cloud foundry

1,392 views

Published on

  • Be the first to comment

Build your own heroku with cloud foundry

  1. 1. BUILD OWN HEROKUWITH CLOUD FOUNDRY Dr Nic Williams Stark & Wayne LLC @drnic
  2. 2. Everyone deserves nice thingsYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  3. 3. • Cloud Foundry on AWS/OpenStack no one haD • via BOSH done this • scaling up from a single VM before • & without lots of documentationYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  4. 4. • mailing list “20 questions” tiring Helping others documentation was getting long • • instead - automated toolsYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  5. 5. • 2 tools, 6 commands Super tools! • bosh-bootstrap • bosh-cloudfoundryYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  6. 6. gem  install  net-­‐ssh  -­‐v  2.2.2 gem  install  bosh-­‐bootstrap bosh-­‐bootstrap  deploy bosh-­‐bootstrap  ssh bosh  cf  prepare  system  demo < 3hrs bosh  cf  deploy full walkthrough https://github.com/StarkAndWayne/bosh-­‐cloudfoundry#readmeYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  7. 7. What we will deploy = 30c/hr m1.small m1.medium m1.medium inception bosh core cloud foundryYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  8. 8. What we will deploy m1.small m1.medium m1.medium redis postgresql inception bosh core cloud foundryYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  9. 9. What we will deploy dea m1.small m1.medium m1.medium redis postgresql inception bosh core cloud foundryYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  10. 10. Great looking slides, but...WHO AM I?
  11. 11. • First saw Heroku at a Ruby meetup in Sydney 2008 in a pub Dr Nic • Worked at Engine Yard for 2 yrs • Consulting to multinational running Cloud FoundryYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  12. 12. • Help you setup, integrate & run your own Cloud Foundry stark & • Builds tools & extensions for Cloud wayne Foundry • Only company with two fictional foundersYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  13. 13. WHAT IS HEROKU? 3 minute introduction toPlatform-as-a-Service (PaaS)
  14. 14. what is platform as a Service? 1. Helps you run your apps 2. Routes web trafficYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  15. 15. http://myapp.com/path/to/something thin  -­‐p  10000 postgres  -­‐p  5436  YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  16. 16. http://myapp.com/path/to/something router thin  -­‐p  10000 postgres  -­‐p  5436  YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  17. 17. • 1 infrastructure • 1 router mode • 1 port per dyno heroku is • 1 size of dyno omakase • 1 way to deploy* • 1 human support option • 1 supported database • 1 operating systemYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  18. 18. • Own infrastructure • Components can be forked/replaced • Create own omakase distro cloud foundry • Run as public $$$ service open source • Port to other OS (e.g. ironfoundry) • One main contributor - Pivotal Initiative • You are very welcome to join us!YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  19. 19. Everyone deserves nice thingsYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  20. 20. DEPLOY TIME Let’s boot this thing upYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  21. 21. gem  install  net-­‐ssh  -­‐v  2.2.2 gem  install  bosh-­‐bootstrap bosh-­‐bootstrap  deploy bosh-­‐bootstrap  ssh bosh  cf  prepare  system  demo < 3hrs bosh  cf  deploy full walkthrough https://github.com/StarkAndWayne/bosh-­‐cloudfoundry#readmeYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  22. 22. 30mins gem  install  net-­‐ssh  -­‐v  2.2.2 gem  install  bosh-­‐bootstrap bosh-­‐bootstrap  deploy bosh-­‐bootstrap  ssh bosh  cf  prepare  system  demo bosh  cf  deploy full walkthrough https://github.com/StarkAndWayne/bosh-­‐cloudfoundry#readmeYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  23. 23. YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  24. 24. YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  25. 25. gem  install  net-­‐ssh  -­‐v  2.2.2 gem  install  bosh-­‐bootstrap bosh-­‐bootstrap  deploy 2 hr bosh-­‐bootstrap  ssh bosh  cf  prepare  system  demo bosh  cf  deploy full walkthrough https://github.com/StarkAndWayne/bosh-­‐cloudfoundry#readmeYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  26. 26. YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  27. 27. SCALING You own Cloud Foundry, so what’s next?YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  28. 28. bosh  cf  change  deas  3 bosh  cf  deploy bosh  cf  add  service  postgresql bosh  cf  add  service  redis bosh  cf  deploy full walkthrough https://github.com/StarkAndWayne/bosh-­‐cloudfoundry#readmeYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  29. 29. DEBUGGING Looking around when something breaksYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  30. 30. YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  31. 31. CAREER? What could happen if you learn this thing?YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  32. 32. want a http://bit.ly/cfbosh_workshop workshop?YOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012
  33. 33. Everyone deserves nice things http://bit.ly/cfbosh_workshop https://github.com/StarkAndWayne/bosh-­‐cloudfoundry#readmeYOUR COMPANY NAME | LONG AND INTERESTING PRESENTATION TITLE | VERSION NO. XX | 06 /02/2012

×