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.

Bosh 2-0-reloaded

1,138 views

Published on

New options and feature of Bosh. Just quick overview!

Published in: Technology

Bosh 2-0-reloaded

  1. 1. 06/01/2016 Etourneau Gwenn @The_shinji62 Bosh 2.0
  2. 2. About me Etourneau Gwenn Sr Solution Architect Bef.: Platform Architect https://github.com/shinji62 https://twitter.com/the_shinji62
  3. 3. Pivotal • Spring Framework • RabbitMQ • Concourse • Cloud Foundry • Pivotal Tracker • Gemfire
  4. 4. Meetup
  5. 5. Agenda • wtf is bosh ? • Architecture • Demo • Q&A
  6. 6. WTF is bosh ?
  7. 7. Bosh Deployment files bosh deployment cf-release.yml bosh deploy
  8. 8. Bosh Deployment files bosh deployment cf-release.yml bosh deploy
  9. 9. Bosh Deployment files bosh deployment cf-release.yml bosh deploy
  10. 10. Bosh Deployment files bosh deployment cf-release.yml bosh deploy
  11. 11. Bosh Deployment files bosh deployment cf-release.yml bosh deploy
  12. 12. Job information IaaS config. cf-release.yml Deployment manifest
  13. 13. Deployment manifest • Release info • Stemcell info • Networking • Storage • Resource Pools • Config Properties
  14. 14. Bosh Director
  15. 15. Bosh Director CPI
  16. 16. Bosh Director
  17. 17. Bosh Director CPI
  18. 18. Bosh Director CPI
  19. 19. Bosh 2.0
  20. 20. Redis Architecture Change
  21. 21. Architecture Change
  22. 22. Job information IaaS config. cf-release.yml
  23. 23. Job information IaaS config. cf-release.yml
  24. 24. but Bosh 2.0 fix that
  25. 25. Cloud-config
  26. 26. Job information IaaS config. Cloud Config
  27. 27. IaaS config. cloud-config.yml v2 Cloud Config
  28. 28. Cloud Config • AZ Definition ==> New • Resource Definition • Storage Definition • Networks
  29. 29. v2 Cloud Config • AZ Definition ==> New • Resource Definition • Storage Definition • Networks
  30. 30. Job information IaaS config. Deployment manifest
  31. 31. Job information deployment.yml v2 Deployment manifest
  32. 32. Deployment manifest • Release info • OS info • Config properties • Instance Groups
  33. 33. Bosh Cloud config Cloud Config bosh update cloud-config aws.yml
  34. 34. Bosh Deployment files bosh deployment cf-release.yml bosh deploy
  35. 35. Cloud-config If you start to use cloud-config You could not use manifest v1 anymore for all your past deployment and futur deployment.
  36. 36. Runtime-config Config to apply to all VM in your bosh director All deployments
  37. 37. First class Availability zone
  38. 38. v1 Availability Zone
  39. 39. deployment.yml Could be very very very very very long manifest v1 Availability Zone
  40. 40. • Multiple instances will be balanced between az1 and az2 • Reduce a lot the deployment manifest v2 Availability Zone
  41. 41. deployment.yml • Multiple instances will be balanced between az1 and az2 • Reduce a lot the deployment manifest cloud-config.yml v2 Availability Zone
  42. 42. Bosh links
  43. 43. • Need to precise static IP because other job require to know which IP to use (ex database) • Repeat property for all needed job • etc… v1
  44. 44. • Need to precise static IP because other job require to know which IP to use (ex database) • Repeat property for all needed job • etc… deployment.yml v1
  45. 45. • Let bosh manage networking even static IP • Self, implicit and cross-deployment links ! • Not only networks, instance application but also properties • We can refer to other jobs using “provide” and “consume” keyword v2
  46. 46. Online Resource
  47. 47. Tutorials • bosh.io https://j.mp/learn-bosh (bosh 1.0) Source Code • Github https://github.com/cloudfoundry/bosh • V2 example https://github.com/shinji62/nats-release
  48. 48. Documentation • Official documentation https://bosh.io • Links https://bosh.io/docs/links.html • Links Property https://bosh.io/docs/links-properties.html • Bosh AZ https://bosh.io/docs/azs.html • Bosh Cloud Config https://bosh.io/docs/cloud-config.html Bosh Discussion / notes • https://github.com/cloudfoundry/bosh-notes
  49. 49. Slack https://cloudfoundry.slack.com/ #bosh
  50. 50. Q & A
  51. 51. Thank You !!

×