SlideShare a Scribd company logo
Deploying Services
with BOSH
Jeffrey Peckham | Engineer
Cloud Foundry
Who Am I?
•
Jeffrey Peckham
2008-2012 – SRE in Higher Education and eCommerce.
2012 – SRE on Production Cloud Foundry
2013 – Engineer on BOSH
OSCON – 3rd
time attending, 1st
time speaking
What is BOSH?
 A comprehensive service deployment tool.
 Developed originally for Cloud Foundry.
 Deploys distributed software onto various IaaS providers.


What BOSH is not
 It is not a PaaS.
 It is not Pacemaker, Clusterware, or other HA orchestration.
 It is not clever.
Why BOSH?
 Addresses the end-to-end problem of provisioning to running services.
 Designed for updates, provisioning is just a side-effect.
 Fast, predictable deploys that don't suffer from “Configuration Drift”.
Top Down Deployment Strategy
 What do I want to deploy?

 What services make it up?

 How do those services run?

 What software do they need?
Top Down Deployment Strategy
 What do I want to deploy?
- A search indexer
 What services make it up?
- Elastic Search
 How do those services run?
- A Single Elastic Search process.
 What software do they need?
- Java, Elastic Search
Job
Is a process or set of processes that can be configured and monitored.





 What's the simplest thing I can monitor?

How about 'init'?
$ ps ­ef
 UID        PID  PPID  C STIME TTY          TIME CMD
 root         1     0  0 09:10 ?        00:00:01 /sbin/init
 root         2     0  0 09:10 ?        00:00:00 [kthreadd]
 root         3     2  0 09:10 ?        00:00:01 [ksoftirqd/0]
 root         5     2  0 09:10 ?        00:00:00 [kworker/0:0H]
 root         7     2  0 09:10 ?        00:00:00 [kworker/u:0H]
 root         8     2  0 09:10 ?        00:00:00 [migration/0]
Demo: Initial Release and Job
Deploy to a BOSH
 What BOSH?

 Deploy a BOSH
 http://docs.cloudfoundry.com/docs/running/deploying-cf/

 BOSH-Lite (VERY ALPHA)
 https://github.com/cloudfoundry/bosh-lite

 Come talk to us
 https://groups.google.com/a/cloudfoundry.org/forum/#!forum/bosh-users

Stemcell
 A base OS image for deploying services on.

 Currently an Ubuntu based image with an embedded BOSH Agent.

 Knows how to discover location and can phone home.
Deployment Manifest
 A description of a BOSH deployed release.

 Describes What...
 Release
 Resources (Networks, Disks and VMs)
 Services
 Update behavior
 Settings for the Release

Demo: Initial Deploy
What did that do?
 Spun up a VM and monitored init.



 This is where you think, 'Jolly good... who cares?'
Package
 Source Based
 Generates static files only, no templates
 No pre/post apply scripts
 Built on ephemeral VMs
 Packaging script places files in $BOSH_INSTALL_TARGET
Demo: Adding Packages and Exploring an Instance
Demo: Updating a Service and Debugging
Properties
 Variables that can be set at deployment time and used to configure jobs.


 Can be scoped to single jobs or span multiple. Often to describe
relationships (host / port to connect / listen to).
Demo: Introducing Properties
Scaling
 Define the desired instances per job and BOSH will oblige.
Demo: Adding Instances
Rolling updates
 Canary based deployments.
 Tunable timeouts on expected update times.
 Supports OS base image updates.
 Supports rollback as separate deploy*


 *if release version is backwards compatible (may require roll forward)
Demo: Rolling update
Infrastructures Supported
 vSphere
 vCloud
 OpenStack
 AWS

 Experimental
 CloudStack
 Warden (LXC)
Demo: Taking it to a new Infrastructure
Questions?
Thank You
 Jeffrey Peckham
 peckham@pivotallabs.com
 twitter: abic – github: abic
 https://github.com/abic/elasticsearch-boshrelease
 http://docs.cloudfoundry.com
 https://githb.com/cloudfoundry/bosh
 https://groups.google.com/a/cloudfoundry.org/d/forum/bosh-users
 http://www.thisweekincf.com

More Related Content

What's hot (20)

PDF
Railsconf 2014 - Deploying Rails is Easier Thank It Looks
talkingquickly
 
PPTX
Serverless Pune Meetup 1
Vishal Biyani
 
PPTX
Project RedDwarf - Database Services in the Cloud.pptx
OpenStack Foundation
 
PDF
Implementing Infrastructure as Code ConfigMgtCamp 2017
Kief Morris
 
PDF
Immutable infrastructure with Boxfuse
Lars Östling
 
PPTX
Serverless Pune meetup 3
Vishal Biyani
 
PDF
Jenkins + Docker = Continuous Improvement
Udaypal Aarkoti
 
PDF
PuppetConf 2016 Customer Keynote: Cloud, Containers & the Impact on IT - Jeff...
Puppet
 
PPTX
Rik Hepworth - ARM Yourself for Effective Azure Provisioning
WinOps Conf
 
KEY
Deployment on Heroku
Stoyan Zhekov
 
PPTX
Microservice Memoirs
Lachlan Evenson
 
PDF
100% Puppet Cloud Deployment of Legacy Software
Puppet
 
PDF
DCSF 19 Modernizing Insurance with Docker Enterprise: The Physicians Mutual ...
Docker, Inc.
 
PPTX
Deliver on DevOps with Puppet Application Orchestration Webinar 11/19/15
Puppet
 
PDF
DockerCon SF 2015: Getting Started w/ Docker
Docker, Inc.
 
PDF
Scaling Your First 1000 Containers with Docker
Atlassian
 
PDF
NLUUG print conference May 26 2016
Igmar Palsenberg
 
PDF
Achieving Continuous Delivery: An Automation Story
jimi-c
 
PDF
Take control of your dev ops dumping ground
Puppet
 
PDF
Microsoft Azure Container Service - DockerCH
Nguyen Anh Tu
 
Railsconf 2014 - Deploying Rails is Easier Thank It Looks
talkingquickly
 
Serverless Pune Meetup 1
Vishal Biyani
 
Project RedDwarf - Database Services in the Cloud.pptx
OpenStack Foundation
 
Implementing Infrastructure as Code ConfigMgtCamp 2017
Kief Morris
 
Immutable infrastructure with Boxfuse
Lars Östling
 
Serverless Pune meetup 3
Vishal Biyani
 
Jenkins + Docker = Continuous Improvement
Udaypal Aarkoti
 
PuppetConf 2016 Customer Keynote: Cloud, Containers & the Impact on IT - Jeff...
Puppet
 
Rik Hepworth - ARM Yourself for Effective Azure Provisioning
WinOps Conf
 
Deployment on Heroku
Stoyan Zhekov
 
Microservice Memoirs
Lachlan Evenson
 
100% Puppet Cloud Deployment of Legacy Software
Puppet
 
DCSF 19 Modernizing Insurance with Docker Enterprise: The Physicians Mutual ...
Docker, Inc.
 
Deliver on DevOps with Puppet Application Orchestration Webinar 11/19/15
Puppet
 
DockerCon SF 2015: Getting Started w/ Docker
Docker, Inc.
 
Scaling Your First 1000 Containers with Docker
Atlassian
 
NLUUG print conference May 26 2016
Igmar Palsenberg
 
Achieving Continuous Delivery: An Automation Story
jimi-c
 
Take control of your dev ops dumping ground
Puppet
 
Microsoft Azure Container Service - DockerCH
Nguyen Anh Tu
 

Viewers also liked (7)

PDF
Bosh 2-0-reloaded
Gwenn Etourneau
 
PPTX
Bosh - Twenty Years of Deployment Lessons in One Tool
VMware Tanzu
 
PDF
Introduction into Cloud Foundry and Bosh | anynines
anynines GmbH
 
PDF
Build your own heroku with cloud foundry
Bijan Eghtesadi
 
PPTX
Cloud Foundry | How it works
Kazuto Kusama
 
PDF
Cloud Foundry Summit 2015: Managing Multiple Cloud with a Single BOSH Deploym...
VMware Tanzu
 
PPTX
Persistence in the cloud with bosh
m_richardson
 
Bosh 2-0-reloaded
Gwenn Etourneau
 
Bosh - Twenty Years of Deployment Lessons in One Tool
VMware Tanzu
 
Introduction into Cloud Foundry and Bosh | anynines
anynines GmbH
 
Build your own heroku with cloud foundry
Bijan Eghtesadi
 
Cloud Foundry | How it works
Kazuto Kusama
 
Cloud Foundry Summit 2015: Managing Multiple Cloud with a Single BOSH Deploym...
VMware Tanzu
 
Persistence in the cloud with bosh
m_richardson
 
Ad

Similar to Deploying your application on open stack using bosh presentation (20)

PPTX
What is BOSH? An over-overview
Juan Pablo Genovese
 
PDF
Cloud infrastructures - Slide Set 6 - BOSH | anynines
anynines GmbH
 
PDF
OSDC 2017 - Justin Carter - Orchestrating a platform with BOSH
NETWAYS
 
PDF
OSDC 2017 | Orchestrating a platform with BOSH by Justin Carter
NETWAYS
 
PPTX
Successful Patterns for running platforms
Paul Czarkowski
 
PPTX
Bosh 2.0
Johannes Engelke
 
PPTX
Altoros Cloud Foundry Training: hands-on workshop for DevOps, Architects and ...
Manuel Garcia
 
PDF
NSA - No thanks - Build your own cloud with OpenStack and Cloud Foundry | any...
anynines GmbH
 
PPTX
Beyond 1000 bosh Deployments
anynines GmbH
 
PPTX
What's New in the Cloud Foundry Ecosystem?
Altoros
 
PDF
BOSH / CF Deployment in modern ways #cf_tokyo
Toshiaki Maki
 
PPTX
Basics of Kubernetes on BOSH: Run Production-grade Kubernetes on the SDDC
Matt McNeeney
 
PPTX
Declarative Infrastructure with Cloud Foundry BOSH
cornelia davis
 
PDF
Patterns of Cloud Native Architecture
Andrew Shafer
 
PDF
Cloud Foundry BOSH CPI for OpenStack
Animesh Singh
 
PDF
Application M&O on OpenStack
天青 王
 
PPTX
OpenSlava 2014 - CloudFoundry inside-out
Antons Kranga
 
PDF
Deploy Cloud Foundry using bosh_bootstrap
rajdeep
 
PDF
What we talk about when we talk about DevOps
Ricard Clau
 
PDF
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
Andrew Ripka
 
What is BOSH? An over-overview
Juan Pablo Genovese
 
Cloud infrastructures - Slide Set 6 - BOSH | anynines
anynines GmbH
 
OSDC 2017 - Justin Carter - Orchestrating a platform with BOSH
NETWAYS
 
OSDC 2017 | Orchestrating a platform with BOSH by Justin Carter
NETWAYS
 
Successful Patterns for running platforms
Paul Czarkowski
 
Altoros Cloud Foundry Training: hands-on workshop for DevOps, Architects and ...
Manuel Garcia
 
NSA - No thanks - Build your own cloud with OpenStack and Cloud Foundry | any...
anynines GmbH
 
Beyond 1000 bosh Deployments
anynines GmbH
 
What's New in the Cloud Foundry Ecosystem?
Altoros
 
BOSH / CF Deployment in modern ways #cf_tokyo
Toshiaki Maki
 
Basics of Kubernetes on BOSH: Run Production-grade Kubernetes on the SDDC
Matt McNeeney
 
Declarative Infrastructure with Cloud Foundry BOSH
cornelia davis
 
Patterns of Cloud Native Architecture
Andrew Shafer
 
Cloud Foundry BOSH CPI for OpenStack
Animesh Singh
 
Application M&O on OpenStack
天青 王
 
OpenSlava 2014 - CloudFoundry inside-out
Antons Kranga
 
Deploy Cloud Foundry using bosh_bootstrap
rajdeep
 
What we talk about when we talk about DevOps
Ricard Clau
 
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
Andrew Ripka
 
Ad

Recently uploaded (20)

PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 

Deploying your application on open stack using bosh presentation

  • 1. Deploying Services with BOSH Jeffrey Peckham | Engineer Cloud Foundry
  • 2. Who Am I? • Jeffrey Peckham 2008-2012 – SRE in Higher Education and eCommerce. 2012 – SRE on Production Cloud Foundry 2013 – Engineer on BOSH OSCON – 3rd time attending, 1st time speaking
  • 3. What is BOSH?  A comprehensive service deployment tool.  Developed originally for Cloud Foundry.  Deploys distributed software onto various IaaS providers.  
  • 4. What BOSH is not  It is not a PaaS.  It is not Pacemaker, Clusterware, or other HA orchestration.  It is not clever.
  • 5. Why BOSH?  Addresses the end-to-end problem of provisioning to running services.  Designed for updates, provisioning is just a side-effect.  Fast, predictable deploys that don't suffer from “Configuration Drift”.
  • 6. Top Down Deployment Strategy  What do I want to deploy?   What services make it up?   How do those services run?   What software do they need?
  • 7. Top Down Deployment Strategy  What do I want to deploy? - A search indexer  What services make it up? - Elastic Search  How do those services run? - A Single Elastic Search process.  What software do they need? - Java, Elastic Search
  • 8. Job Is a process or set of processes that can be configured and monitored.       What's the simplest thing I can monitor? 
  • 9. How about 'init'? $ ps ­ef  UID        PID  PPID  C STIME TTY          TIME CMD  root         1     0  0 09:10 ?        00:00:01 /sbin/init  root         2     0  0 09:10 ?        00:00:00 [kthreadd]  root         3     2  0 09:10 ?        00:00:01 [ksoftirqd/0]  root         5     2  0 09:10 ?        00:00:00 [kworker/0:0H]  root         7     2  0 09:10 ?        00:00:00 [kworker/u:0H]  root         8     2  0 09:10 ?        00:00:00 [migration/0]
  • 11. Deploy to a BOSH  What BOSH?   Deploy a BOSH  http://docs.cloudfoundry.com/docs/running/deploying-cf/   BOSH-Lite (VERY ALPHA)  https://github.com/cloudfoundry/bosh-lite   Come talk to us  https://groups.google.com/a/cloudfoundry.org/forum/#!forum/bosh-users 
  • 12. Stemcell  A base OS image for deploying services on.   Currently an Ubuntu based image with an embedded BOSH Agent.   Knows how to discover location and can phone home.
  • 13. Deployment Manifest  A description of a BOSH deployed release.   Describes What...  Release  Resources (Networks, Disks and VMs)  Services  Update behavior  Settings for the Release 
  • 15. What did that do?  Spun up a VM and monitored init.     This is where you think, 'Jolly good... who cares?'
  • 16. Package  Source Based  Generates static files only, no templates  No pre/post apply scripts  Built on ephemeral VMs  Packaging script places files in $BOSH_INSTALL_TARGET
  • 17. Demo: Adding Packages and Exploring an Instance
  • 18. Demo: Updating a Service and Debugging
  • 19. Properties  Variables that can be set at deployment time and used to configure jobs.    Can be scoped to single jobs or span multiple. Often to describe relationships (host / port to connect / listen to).
  • 21. Scaling  Define the desired instances per job and BOSH will oblige.
  • 23. Rolling updates  Canary based deployments.  Tunable timeouts on expected update times.  Supports OS base image updates.  Supports rollback as separate deploy*    *if release version is backwards compatible (may require roll forward)
  • 25. Infrastructures Supported  vSphere  vCloud  OpenStack  AWS   Experimental  CloudStack  Warden (LXC)
  • 26. Demo: Taking it to a new Infrastructure
  • 28. Thank You  Jeffrey Peckham  [email protected]  twitter: abic – github: abic  https://github.com/abic/elasticsearch-boshrelease  http://docs.cloudfoundry.com  https://githb.com/cloudfoundry/bosh  https://groups.google.com/a/cloudfoundry.org/d/forum/bosh-users  http://www.thisweekincf.com