SlideShare a Scribd company logo
1 of 31
2© 2015 Pivotal Software, Inc. All rights reserved. 2© 2015 Pivotal Software, Inc. All rights reserved.
Declarative Infrastructure with
Cloud Foundry BOSH
Gluecon 2015
Cornelia Davis, Director, Platform Engineering, Cloud Foundry  @cdavisafc
May 20, 2015
3© 2015 Pivotal Software, Inc. All rights reserved. 3© 2015 Pivotal Software, Inc. All rights reserved.
Demo
4© Copyright 2015 Pivotal. All rights reserved.
All that is in the Elastic Runtime
 The ERS is deployed and
managed as a cluster of
VMs
Pivotal CF Elastic Runtime
Dynamic Router
OAuth 2.0 Server (UAA)
Health Manager
Application Execution (DEA)
Warden
Build Packs
Login Server
Cloud Controller
Blob Store
Message Bus(NATS)
Sys Log
ServicesandBrokers
Collector Loggregator
ROUTING
AUTHENTICATION
APP LIFECYCLE
APP STORAGE
& EXECUTION
MESSAGING
METRICS & LOGGING
Pivotal CF OpsManager/BOSH
5© Copyright 2015 Pivotal. All rights reserved.
BOSH Manages VM Clusters
Pivotal CF Elastic Runtime
Dynamic Router
OAuth 2.0 Server (UAA)
Health Manager
Application Execution (DEA)
Warden
Build Packs
Login Server
Cloud Controller
Blob Store
Message Bus(NATS)
Sys Log
MySQL
Collector Loggregator
ROUTING
AUTHENTICATION
APP LIFECYCLE
APP STORAGE
& EXECUTION
MESSAGING
METRICS & LOGGING
Pivotal CF OpsManager/BOSH
RabbitMQ
Riak
Redis
Cassandra
CloudbeesJenkins
6© Copyright 2015 Pivotal. All rights reserved.
7© Copyright 2015 Pivotal. All rights reserved.
Provision services,
not machines
Enables continuous
delivery
Cloud-agnostic view
of Platform Ops
Holistic Toolchain for
“rule them all"
Eliminate bespoke
automation on top of
config management
Why BOSH
8© Copyright 2015 Pivotal. All rights reserved.
The BOSH Architecture
Very similar to ERS
architecture itself
Director as analogy to
Cloud Controller
Different CPIs exist per
IaaS implementation
Workers responsible
for executing tasks as
dictated by Director
9© Copyright 2015 Pivotal. All rights reserved.
Let’s talk Eventual Consistency…
10© Copyright 2013 Pivotal. All rights reserved.
In the Elastic Runtime
Router
Blobstore
Cloud
Controller
etcd
Cell Cell Cell
Pivotal Cloud Foundry
Elastic Runtime
Access
App
DB
Service
credentialscreds
Converger & Auctioneer
Desired State
credscreds
Actual State
11© Copyright 2013 Pivotal. All rights reserved.
In BOSH
IaaSPivotal CF Operations Manager
PaaS Ops
Health Manager
AGENT
DEA
AGENT
Cloud Controller
AGENT
Message Bus
Health Monitor
Responses:
pager
email
monitoring
ressurector
…
BOSH Director
Desired State Actual State
12© Copyright 2013 Pivotal. All rights reserved.
VMs are Monitored
IaaSPivotal CF Operations Manager
PaaS Ops
Health Manager
AGENT
DEA
AGENT
Cloud Controller
AGENT
Message Bus
Health Monitor
Responses:
pager
email
monitoring
ressurector
…
BOSH Director
Desired State Actual State
13© Copyright 2013 Pivotal. All rights reserved.
VMs are Monitored
IaaSPivotal CF Operations Manager
PaaS Ops
Health Manager
AGENT
DEA
AGENT
Cloud Controller
AGENT
Message Bus
Health Monitor
Responses:
pager
email
monitoring
ressurector
…
BOSH Director
Desired State Actual State
CPI
14© 2015 Pivotal Software, Inc. All rights reserved.
Platform
Services (stateful):
Run in virtual machines
Applications (stateless):
Run in containers
Cloud Foundry manages transformations
between existing and desired system states,
using immutable infrastructure.
Amend
(Re)deploy
(Re)configure
(Re)connect
Monitor
Current
State Desired
State
15© Copyright 2013 Pivotal. All rights reserved. 15© Copyright 2013 Pivotal. All rights reserved.
BOSH Details
16© 2015 Pivotal Software, Inc. All rights reserved.
Cloud-native Application Platform (3rd Platform)
Elastic
Runtime
Agile
Microservices
Elastic
Hadoop
Jenkins
Service
(CI)
Google
Redis
Pivotal Cloud Foundry Operations Manager (BOSH)
KV Store
VMware EC2Openstack
Mediates to the
infrastructure,
drawing from
pools of
resources
Rabbit
MQ Produces and
manages the
specified
topologies
17© 2015 Pivotal Software, Inc. All rights reserved.
BOSH to Infrastructure
resource_pools:
- name: infrastructure
network: default
size: 6
stemcell:
name: bosh-stemcell
version: 0.4.6
cloud_properties:
cpu: 1
disk: 8192
ram: 4096
 Specify:
– Pools of VMs
– Pools of networks
 Nodes declared in
the topology will draw
from the resources
networks:
- name: default
subnets:
- reserved:
- 172.31.220.2 - 172.31.220.10
static:
- 172.31.220.11 - 172.31.220.100
range: 172.31.220.0/22
gateway: 172.31.220.1
...
18© 2015 Pivotal Software, Inc. All rights reserved.
Cluster Topology
Specify:
 Jobs (VMs)
– Attributes – i.e. how many
– Resource pool consumption
 Properties
– i.e. Wordpress needs the ip
address of MySQL
19© 2015 Pivotal Software, Inc. All rights reserved.
BOSH Deployment Manifest
jobs:
- name: mysql
template: mysql
instances: 1
resource_pool: common-resource-pool
persistent_disk: 10240
networks:
- name: wordpress-network
static_ips:
- 10.244.0.2
- name: wordpress
template: wordpress
instances: 1
...
properties:
mysql:
address: 10.244.0.2
password: rootpass
wordpress:
admin: foo@bar.com
servers:
- 10.244.0.6
servername: 10.244.0.10
db:
name: wp
user: wordpress
pass: w0rdpr3ss
...
20© 2015 Pivotal Software, Inc. All rights reserved.
BOSH Release
 Packages: Bits installed onto VMs
– Reference source and blobs
– List dependencies
– Installation scripts
 Jobs: Processes started on VMs
– Templates: parameters instantiated at deployment time
– Start scripts
 Release = collection of packages and jobs
Release
21© 2015 Pivotal Software, Inc. All rights reserved.
Message Bus
Deploying the CF Runtime with
Cloud Foundry BOSH
IaaS
Cloud Foundry
Operations Manager/BOSH
DB
BOSH Director
Blobs
Health Monitor
Deployment
• Packages
• Blobs
• Source
• Jobs
• Manifest
Deploy my
CF
Worker VMs
Messaging
Target VMHealth Manager
Target VMCloud Controller
Target VM
Operator
22© 2015 Pivotal Software, Inc. All rights reserved. 22© 2015 Pivotal Software, Inc. All rights reserved.
Demo
23© 2015 Pivotal Software, Inc. All rights reserved.
Cluster Topology
24© 2015 Pivotal Software, Inc. All rights reserved. 24© 2015 Pivotal Software, Inc. All rights reserved.
Demo
25© 2015 Pivotal Software, Inc. All rights reserved.
Canary Deployments
Manifest
26© 2015 Pivotal Software, Inc. All rights reserved.
How do canary deployments work
Manifest
27© 2015 Pivotal Software, Inc. All rights reserved.
How do canary deployments work
Manifest
No downtime, atomic
rolling update
28© 2015 Pivotal Software, Inc. All rights reserved.
Different Flavors of BOSH
 Microbosh – all BOSH components on a single VM
 Full BOSH
– Deployed with Microbosh
– Each component is a job, hence separate VM
 bosh-lite
– You can run this on your laptop. Warden (linux container) CPI
– http://github.com/cloudfoundry/bosh-lite
29© 2015 Pivotal Software, Inc. All rights reserved.
Summary
 Cloud Foundry is
– OSS
– Both the Elastic Runtime and BOSH
– Eventual consistency is core tenet
– Governed by the Cloud Foundry Foundation – a Linux Foundation
 Numerous vendors commercial distributions
 Declarative, Immutable, Repeatable Infrastructure!
30© 2015 Pivotal Software, Inc. All rights reserved. 30© Copyright 2015 Pivotal. All rights reserved.
Thank You
Declarative Infrastructure with Cloud Foundry BOSH

More Related Content

What's hot

What's hot (20)

Part 4: Custom Buildpacks and Data Services (Pivotal Cloud Platform Roadshow)
Part 4: Custom Buildpacks and Data Services (Pivotal Cloud Platform Roadshow)Part 4: Custom Buildpacks and Data Services (Pivotal Cloud Platform Roadshow)
Part 4: Custom Buildpacks and Data Services (Pivotal Cloud Platform Roadshow)
 
Architecture & Operations
Architecture & OperationsArchitecture & Operations
Architecture & Operations
 
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
 
Cloud Foundry Technical Overview
Cloud Foundry Technical OverviewCloud Foundry Technical Overview
Cloud Foundry Technical Overview
 
Cloud Foundry - Second Generation Code (CCNG). Technical Overview
Cloud Foundry - Second Generation Code (CCNG). Technical Overview Cloud Foundry - Second Generation Code (CCNG). Technical Overview
Cloud Foundry - Second Generation Code (CCNG). Technical Overview
 
Deep Dive into Pivotal Cloud Foundry 2.0
Deep Dive into Pivotal Cloud Foundry 2.0Deep Dive into Pivotal Cloud Foundry 2.0
Deep Dive into Pivotal Cloud Foundry 2.0
 
Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)
Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)
Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)
 
Pivotal Cloud Foundry 2.0: First Look
Pivotal Cloud Foundry 2.0: First LookPivotal Cloud Foundry 2.0: First Look
Pivotal Cloud Foundry 2.0: First Look
 
Pivotal cloud foundry introduction
Pivotal cloud foundry introductionPivotal cloud foundry introduction
Pivotal cloud foundry introduction
 
Moving at the speed of startup with Pivotal Cloud Foundry 1.11
Moving at the speed of startup with Pivotal Cloud Foundry 1.11Moving at the speed of startup with Pivotal Cloud Foundry 1.11
Moving at the speed of startup with Pivotal Cloud Foundry 1.11
 
Cloud native Microservices using Spring Boot
Cloud native Microservices using Spring BootCloud native Microservices using Spring Boot
Cloud native Microservices using Spring Boot
 
PKS: The What and How of Enterprise-Grade Kubernetes
PKS: The What and How of Enterprise-Grade KubernetesPKS: The What and How of Enterprise-Grade Kubernetes
PKS: The What and How of Enterprise-Grade Kubernetes
 
Pivotal Cloud Foundry 2.6: A First Look
Pivotal Cloud Foundry 2.6: A First LookPivotal Cloud Foundry 2.6: A First Look
Pivotal Cloud Foundry 2.6: A First Look
 
Pivotal Cloud Foundry 1.10: First Look - Windows at Scale, Network Isolation
Pivotal Cloud Foundry 1.10: First Look - Windows at Scale, Network IsolationPivotal Cloud Foundry 1.10: First Look - Windows at Scale, Network Isolation
Pivotal Cloud Foundry 1.10: First Look - Windows at Scale, Network Isolation
 
Pivotal Cloud Foundry 2.3: A First Look
Pivotal Cloud Foundry 2.3: A First LookPivotal Cloud Foundry 2.3: A First Look
Pivotal Cloud Foundry 2.3: A First Look
 
PCF Architecture
PCF Architecture PCF Architecture
PCF Architecture
 
How to Scale Operations for a Multi-Cloud Platform using PCF
How to Scale Operations for a Multi-Cloud Platform using PCFHow to Scale Operations for a Multi-Cloud Platform using PCF
How to Scale Operations for a Multi-Cloud Platform using PCF
 
Pivotal microservices spring_pcf_skillsmatter.pptx
Pivotal microservices spring_pcf_skillsmatter.pptxPivotal microservices spring_pcf_skillsmatter.pptx
Pivotal microservices spring_pcf_skillsmatter.pptx
 
Running your Spring Apps in the Cloud Javaone 2014
Running your Spring Apps in the Cloud Javaone 2014Running your Spring Apps in the Cloud Javaone 2014
Running your Spring Apps in the Cloud Javaone 2014
 
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
 

Viewers also liked

Viewers also liked (6)

Cloud Native Infrastructure Automation
Cloud Native Infrastructure AutomationCloud Native Infrastructure Automation
Cloud Native Infrastructure Automation
 
Partnering 101: Partnerships, Businesses & Cloud Foundry (Cloud Foundry Summi...
Partnering 101: Partnerships, Businesses & Cloud Foundry (Cloud Foundry Summi...Partnering 101: Partnerships, Businesses & Cloud Foundry (Cloud Foundry Summi...
Partnering 101: Partnerships, Businesses & Cloud Foundry (Cloud Foundry Summi...
 
What's New in Cloud Foundry
What's New in Cloud FoundryWhat's New in Cloud Foundry
What's New in Cloud Foundry
 
Pivotal CenturyLink Cloud Platform Seminar Presentations: Architecture & Oper...
Pivotal CenturyLink Cloud Platform Seminar Presentations: Architecture & Oper...Pivotal CenturyLink Cloud Platform Seminar Presentations: Architecture & Oper...
Pivotal CenturyLink Cloud Platform Seminar Presentations: Architecture & Oper...
 
Real-Time Communications between Microservices
Real-Time Communications between MicroservicesReal-Time Communications between Microservices
Real-Time Communications between Microservices
 
Pivotal Cloud Foundry: A Technical Overview
Pivotal Cloud Foundry: A Technical OverviewPivotal Cloud Foundry: A Technical Overview
Pivotal Cloud Foundry: A Technical Overview
 

Similar to Declarative Infrastructure with Cloud Foundry BOSH

Similar to Declarative Infrastructure with Cloud Foundry BOSH (20)

[2015-11월 정기 세미나] Cloud Native Platform - Pivotal
[2015-11월 정기 세미나] Cloud Native Platform - Pivotal[2015-11월 정기 세미나] Cloud Native Platform - Pivotal
[2015-11월 정기 세미나] Cloud Native Platform - Pivotal
 
Removing Barriers Between Dev and Ops
Removing Barriers Between Dev and OpsRemoving Barriers Between Dev and Ops
Removing Barriers Between Dev and Ops
 
Cloud native pitch-younjin-20150925-v2
Cloud native pitch-younjin-20150925-v2Cloud native pitch-younjin-20150925-v2
Cloud native pitch-younjin-20150925-v2
 
Pivotal spring boot-cloud workshop
Pivotal   spring boot-cloud workshopPivotal   spring boot-cloud workshop
Pivotal spring boot-cloud workshop
 
Removing Barriers Between Dev and Ops
Removing Barriers Between Dev and OpsRemoving Barriers Between Dev and Ops
Removing Barriers Between Dev and Ops
 
Cloud Foundry Diego, Lattice, Docker and more
Cloud Foundry Diego, Lattice, Docker and moreCloud Foundry Diego, Lattice, Docker and more
Cloud Foundry Diego, Lattice, Docker and more
 
Pivotal CF 소개
Pivotal CF 소개 Pivotal CF 소개
Pivotal CF 소개
 
Pivotal cf for_devops_mkim_20141209
Pivotal cf for_devops_mkim_20141209Pivotal cf for_devops_mkim_20141209
Pivotal cf for_devops_mkim_20141209
 
Removing Barriers Between Dev and Ops
Removing Barriers Between Dev and OpsRemoving Barriers Between Dev and Ops
Removing Barriers Between Dev and Ops
 
Tech Talk: CA Workload Automation Agent Monitor, Agents and Advanced Integrat...
Tech Talk: CA Workload Automation Agent Monitor, Agents and Advanced Integrat...Tech Talk: CA Workload Automation Agent Monitor, Agents and Advanced Integrat...
Tech Talk: CA Workload Automation Agent Monitor, Agents and Advanced Integrat...
 
Cloud Foundry Introduction (w Demo) at Silicon Valley Code Camp
Cloud Foundry Introduction (w Demo) at Silicon Valley Code CampCloud Foundry Introduction (w Demo) at Silicon Valley Code Camp
Cloud Foundry Introduction (w Demo) at Silicon Valley Code Camp
 
Successful Patterns for running platforms
Successful Patterns for running platformsSuccessful Patterns for running platforms
Successful Patterns for running platforms
 
CIT-2697 - Customer Success Stories with IBM PureApplication System
CIT-2697 - Customer Success Stories with IBM PureApplication SystemCIT-2697 - Customer Success Stories with IBM PureApplication System
CIT-2697 - Customer Success Stories with IBM PureApplication System
 
Concevoir et déployer vos applications a base de microservices sur Cloud Foundry
Concevoir et déployer vos applications a base de microservices sur Cloud FoundryConcevoir et déployer vos applications a base de microservices sur Cloud Foundry
Concevoir et déployer vos applications a base de microservices sur Cloud Foundry
 
Devops: Enabled Through a Recasting of Operational Roles
Devops: Enabled Through a Recasting of Operational RolesDevops: Enabled Through a Recasting of Operational Roles
Devops: Enabled Through a Recasting of Operational Roles
 
Pivotal Cloud Platform Roadshow Keynote
Pivotal Cloud Platform Roadshow KeynotePivotal Cloud Platform Roadshow Keynote
Pivotal Cloud Platform Roadshow Keynote
 
Not just for Developers: Cloud Foundry for Ops! (VMworld 2014)
Not just for Developers: Cloud Foundry for Ops! (VMworld 2014)Not just for Developers: Cloud Foundry for Ops! (VMworld 2014)
Not just for Developers: Cloud Foundry for Ops! (VMworld 2014)
 
See It Live - Single Pane of Glass Enterprise Monitoring with CA Unified Infr...
See It Live - Single Pane of Glass Enterprise Monitoring with CA Unified Infr...See It Live - Single Pane of Glass Enterprise Monitoring with CA Unified Infr...
See It Live - Single Pane of Glass Enterprise Monitoring with CA Unified Infr...
 
Extension de Service Cloud Foundry
Extension de Service Cloud FoundryExtension de Service Cloud Foundry
Extension de Service Cloud Foundry
 
HP Helion Webinar #2
HP Helion Webinar #2 HP Helion Webinar #2
HP Helion Webinar #2
 

More from cornelia davis

Velocity NY 2016 - Devops: Who Does What?
Velocity NY 2016 - Devops: Who Does What?Velocity NY 2016 - Devops: Who Does What?
Velocity NY 2016 - Devops: Who Does What?
cornelia davis
 

More from cornelia davis (20)

You've Made Kubernetes Available to Your Developers, Now What?
You've Made Kubernetes Available to Your Developers, Now What?You've Made Kubernetes Available to Your Developers, Now What?
You've Made Kubernetes Available to Your Developers, Now What?
 
You Might Just be a Functional Programmer Now
You Might Just be a Functional Programmer NowYou Might Just be a Functional Programmer Now
You Might Just be a Functional Programmer Now
 
Kubernetes: one cluster or many
Kubernetes:  one cluster or many Kubernetes:  one cluster or many
Kubernetes: one cluster or many
 
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
Pivotal Container Service (PKS) at SF Cloud Foundry MeetupPivotal Container Service (PKS) at SF Cloud Foundry Meetup
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
 
It’s Not Just Request/Response: Understanding Event-driven Microservices
It’s Not Just Request/Response: Understanding Event-driven MicroservicesIt’s Not Just Request/Response: Understanding Event-driven Microservices
It’s Not Just Request/Response: Understanding Event-driven Microservices
 
Cloud Native Architectures for Devops
Cloud Native Architectures for DevopsCloud Native Architectures for Devops
Cloud Native Architectures for Devops
 
Cloud-native Data
Cloud-native DataCloud-native Data
Cloud-native Data
 
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-nativeKubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
 
Cloud Native: Designing Change-tolerant Software
Cloud Native: Designing Change-tolerant SoftwareCloud Native: Designing Change-tolerant Software
Cloud Native: Designing Change-tolerant Software
 
Cloud Native: Designing Change-tolerant Software
Cloud Native: Designing Change-tolerant SoftwareCloud Native: Designing Change-tolerant Software
Cloud Native: Designing Change-tolerant Software
 
Cloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a CacheCloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a Cache
 
Devops: Who Does What? - Devops Enterprise Summit 2016
Devops: Who Does What? - Devops Enterprise Summit 2016Devops: Who Does What? - Devops Enterprise Summit 2016
Devops: Who Does What? - Devops Enterprise Summit 2016
 
Velocity NY 2016 - Devops: Who Does What?
Velocity NY 2016 - Devops: Who Does What?Velocity NY 2016 - Devops: Who Does What?
Velocity NY 2016 - Devops: Who Does What?
 
Devops Enterprise Summit: My Great Awakening: 
Top “Ah-ha” Moments As Former ...
Devops Enterprise Summit: My Great Awakening: 
Top “Ah-ha” Moments As Former ...Devops Enterprise Summit: My Great Awakening: 
Top “Ah-ha” Moments As Former ...
Devops Enterprise Summit: My Great Awakening: 
Top “Ah-ha” Moments As Former ...
 
Linux Collaboration Summit Keynote: Transformation: It Takes a Platform
Linux Collaboration Summit Keynote: Transformation: It Takes a PlatformLinux Collaboration Summit Keynote: Transformation: It Takes a Platform
Linux Collaboration Summit Keynote: Transformation: It Takes a Platform
 
12 Factor, or Cloud Native Apps – What EXACTLY Does that Mean for Spring Deve...
12 Factor, or Cloud Native Apps – What EXACTLY Does that Mean for Spring Deve...12 Factor, or Cloud Native Apps – What EXACTLY Does that Mean for Spring Deve...
12 Factor, or Cloud Native Apps – What EXACTLY Does that Mean for Spring Deve...
 
Competing with Software: It Takes a Platform -- Devops @ EMC World
Competing with Software: It Takes a Platform -- Devops @ EMC WorldCompeting with Software: It Takes a Platform -- Devops @ EMC World
Competing with Software: It Takes a Platform -- Devops @ EMC World
 
Evolving Devops: The Benefits of PaaS and Application Dial Tone
Evolving Devops: The Benefits of PaaS and Application Dial ToneEvolving Devops: The Benefits of PaaS and Application Dial Tone
Evolving Devops: The Benefits of PaaS and Application Dial Tone
 
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...Software Quality in the Devops World: The Impact of Continuous Delivery on Te...
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...
 
Unlock Your VMW IaaS Investment with Pivotal CF - VMWorld 2014
Unlock Your VMW IaaS Investment with Pivotal CF - VMWorld 2014Unlock Your VMW IaaS Investment with Pivotal CF - VMWorld 2014
Unlock Your VMW IaaS Investment with Pivotal CF - VMWorld 2014
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 

Declarative Infrastructure with Cloud Foundry BOSH

  • 1.
  • 2. 2© 2015 Pivotal Software, Inc. All rights reserved. 2© 2015 Pivotal Software, Inc. All rights reserved. Declarative Infrastructure with Cloud Foundry BOSH Gluecon 2015 Cornelia Davis, Director, Platform Engineering, Cloud Foundry  @cdavisafc May 20, 2015
  • 3. 3© 2015 Pivotal Software, Inc. All rights reserved. 3© 2015 Pivotal Software, Inc. All rights reserved. Demo
  • 4. 4© Copyright 2015 Pivotal. All rights reserved. All that is in the Elastic Runtime  The ERS is deployed and managed as a cluster of VMs Pivotal CF Elastic Runtime Dynamic Router OAuth 2.0 Server (UAA) Health Manager Application Execution (DEA) Warden Build Packs Login Server Cloud Controller Blob Store Message Bus(NATS) Sys Log ServicesandBrokers Collector Loggregator ROUTING AUTHENTICATION APP LIFECYCLE APP STORAGE & EXECUTION MESSAGING METRICS & LOGGING Pivotal CF OpsManager/BOSH
  • 5. 5© Copyright 2015 Pivotal. All rights reserved. BOSH Manages VM Clusters Pivotal CF Elastic Runtime Dynamic Router OAuth 2.0 Server (UAA) Health Manager Application Execution (DEA) Warden Build Packs Login Server Cloud Controller Blob Store Message Bus(NATS) Sys Log MySQL Collector Loggregator ROUTING AUTHENTICATION APP LIFECYCLE APP STORAGE & EXECUTION MESSAGING METRICS & LOGGING Pivotal CF OpsManager/BOSH RabbitMQ Riak Redis Cassandra CloudbeesJenkins
  • 6. 6© Copyright 2015 Pivotal. All rights reserved.
  • 7. 7© Copyright 2015 Pivotal. All rights reserved. Provision services, not machines Enables continuous delivery Cloud-agnostic view of Platform Ops Holistic Toolchain for “rule them all" Eliminate bespoke automation on top of config management Why BOSH
  • 8. 8© Copyright 2015 Pivotal. All rights reserved. The BOSH Architecture Very similar to ERS architecture itself Director as analogy to Cloud Controller Different CPIs exist per IaaS implementation Workers responsible for executing tasks as dictated by Director
  • 9. 9© Copyright 2015 Pivotal. All rights reserved. Let’s talk Eventual Consistency…
  • 10. 10© Copyright 2013 Pivotal. All rights reserved. In the Elastic Runtime Router Blobstore Cloud Controller etcd Cell Cell Cell Pivotal Cloud Foundry Elastic Runtime Access App DB Service credentialscreds Converger & Auctioneer Desired State credscreds Actual State
  • 11. 11© Copyright 2013 Pivotal. All rights reserved. In BOSH IaaSPivotal CF Operations Manager PaaS Ops Health Manager AGENT DEA AGENT Cloud Controller AGENT Message Bus Health Monitor Responses: pager email monitoring ressurector … BOSH Director Desired State Actual State
  • 12. 12© Copyright 2013 Pivotal. All rights reserved. VMs are Monitored IaaSPivotal CF Operations Manager PaaS Ops Health Manager AGENT DEA AGENT Cloud Controller AGENT Message Bus Health Monitor Responses: pager email monitoring ressurector … BOSH Director Desired State Actual State
  • 13. 13© Copyright 2013 Pivotal. All rights reserved. VMs are Monitored IaaSPivotal CF Operations Manager PaaS Ops Health Manager AGENT DEA AGENT Cloud Controller AGENT Message Bus Health Monitor Responses: pager email monitoring ressurector … BOSH Director Desired State Actual State CPI
  • 14. 14© 2015 Pivotal Software, Inc. All rights reserved. Platform Services (stateful): Run in virtual machines Applications (stateless): Run in containers Cloud Foundry manages transformations between existing and desired system states, using immutable infrastructure. Amend (Re)deploy (Re)configure (Re)connect Monitor Current State Desired State
  • 15. 15© Copyright 2013 Pivotal. All rights reserved. 15© Copyright 2013 Pivotal. All rights reserved. BOSH Details
  • 16. 16© 2015 Pivotal Software, Inc. All rights reserved. Cloud-native Application Platform (3rd Platform) Elastic Runtime Agile Microservices Elastic Hadoop Jenkins Service (CI) Google Redis Pivotal Cloud Foundry Operations Manager (BOSH) KV Store VMware EC2Openstack Mediates to the infrastructure, drawing from pools of resources Rabbit MQ Produces and manages the specified topologies
  • 17. 17© 2015 Pivotal Software, Inc. All rights reserved. BOSH to Infrastructure resource_pools: - name: infrastructure network: default size: 6 stemcell: name: bosh-stemcell version: 0.4.6 cloud_properties: cpu: 1 disk: 8192 ram: 4096  Specify: – Pools of VMs – Pools of networks  Nodes declared in the topology will draw from the resources networks: - name: default subnets: - reserved: - 172.31.220.2 - 172.31.220.10 static: - 172.31.220.11 - 172.31.220.100 range: 172.31.220.0/22 gateway: 172.31.220.1 ...
  • 18. 18© 2015 Pivotal Software, Inc. All rights reserved. Cluster Topology Specify:  Jobs (VMs) – Attributes – i.e. how many – Resource pool consumption  Properties – i.e. Wordpress needs the ip address of MySQL
  • 19. 19© 2015 Pivotal Software, Inc. All rights reserved. BOSH Deployment Manifest jobs: - name: mysql template: mysql instances: 1 resource_pool: common-resource-pool persistent_disk: 10240 networks: - name: wordpress-network static_ips: - 10.244.0.2 - name: wordpress template: wordpress instances: 1 ... properties: mysql: address: 10.244.0.2 password: rootpass wordpress: admin: foo@bar.com servers: - 10.244.0.6 servername: 10.244.0.10 db: name: wp user: wordpress pass: w0rdpr3ss ...
  • 20. 20© 2015 Pivotal Software, Inc. All rights reserved. BOSH Release  Packages: Bits installed onto VMs – Reference source and blobs – List dependencies – Installation scripts  Jobs: Processes started on VMs – Templates: parameters instantiated at deployment time – Start scripts  Release = collection of packages and jobs Release
  • 21. 21© 2015 Pivotal Software, Inc. All rights reserved. Message Bus Deploying the CF Runtime with Cloud Foundry BOSH IaaS Cloud Foundry Operations Manager/BOSH DB BOSH Director Blobs Health Monitor Deployment • Packages • Blobs • Source • Jobs • Manifest Deploy my CF Worker VMs Messaging Target VMHealth Manager Target VMCloud Controller Target VM Operator
  • 22. 22© 2015 Pivotal Software, Inc. All rights reserved. 22© 2015 Pivotal Software, Inc. All rights reserved. Demo
  • 23. 23© 2015 Pivotal Software, Inc. All rights reserved. Cluster Topology
  • 24. 24© 2015 Pivotal Software, Inc. All rights reserved. 24© 2015 Pivotal Software, Inc. All rights reserved. Demo
  • 25. 25© 2015 Pivotal Software, Inc. All rights reserved. Canary Deployments Manifest
  • 26. 26© 2015 Pivotal Software, Inc. All rights reserved. How do canary deployments work Manifest
  • 27. 27© 2015 Pivotal Software, Inc. All rights reserved. How do canary deployments work Manifest No downtime, atomic rolling update
  • 28. 28© 2015 Pivotal Software, Inc. All rights reserved. Different Flavors of BOSH  Microbosh – all BOSH components on a single VM  Full BOSH – Deployed with Microbosh – Each component is a job, hence separate VM  bosh-lite – You can run this on your laptop. Warden (linux container) CPI – http://github.com/cloudfoundry/bosh-lite
  • 29. 29© 2015 Pivotal Software, Inc. All rights reserved. Summary  Cloud Foundry is – OSS – Both the Elastic Runtime and BOSH – Eventual consistency is core tenet – Governed by the Cloud Foundry Foundation – a Linux Foundation  Numerous vendors commercial distributions  Declarative, Immutable, Repeatable Infrastructure!
  • 30. 30© 2015 Pivotal Software, Inc. All rights reserved. 30© Copyright 2015 Pivotal. All rights reserved. Thank You

Editor's Notes

  1. Cloud Foundry PaaS
  2. Of course, the BOSH agent on a VM can only communicate back to the Operations Manager if the VM is there, so let’s talk about what happens when a VM disappears. First thing to understand is that by “disappear” I mean that the BOSH agent is not functional; the VM could be there, but Ops Manager no longer knows what it is up to so for all intents and purposes it’s “gone”. How does Ops Manager know? One of the things that a BOSH agent is responsible for is sending out heartbeat messages and by default it does so every 60 seconds. The OMHM is constantly listening for those heartbeats and when it finds that one is missing it will itself produce and alert and pass that through the list of responders. Just as described above, this could result in emails, pages and operations dashboard alerts, but in this case there is one more responder that kicks in – the “resurector”. The resurector will communicate with the IaaS over which PCF is running and will ask that the failed VM be replaced. Of course it will be replaced with a VM running the appropriate part of the elastic runtime – i.e. a health manager or DEA, etc. That’s right, Operations Manager will restart failed cluster components.
  3. Of course, the BOSH agent on a VM can only communicate back to the Operations Manager if the VM is there, so let’s talk about what happens when a VM disappears. First thing to understand is that by “disappear” I mean that the BOSH agent is not functional; the VM could be there, but Ops Manager no longer knows what it is up to so for all intents and purposes it’s “gone”. How does Ops Manager know? One of the things that a BOSH agent is responsible for is sending out heartbeat messages and by default it does so every 60 seconds. The OMHM is constantly listening for those heartbeats and when it finds that one is missing it will itself produce and alert and pass that through the list of responders. Just as described above, this could result in emails, pages and operations dashboard alerts, but in this case there is one more responder that kicks in – the “resurector”. The resurector will communicate with the IaaS over which PCF is running and will ask that the failed VM be replaced. Of course it will be replaced with a VM running the appropriate part of the elastic runtime – i.e. a health manager or DEA, etc. That’s right, Operations Manager will restart failed cluster components.
  4. Of course, the BOSH agent on a VM can only communicate back to the Operations Manager if the VM is there, so let’s talk about what happens when a VM disappears. First thing to understand is that by “disappear” I mean that the BOSH agent is not functional; the VM could be there, but Ops Manager no longer knows what it is up to so for all intents and purposes it’s “gone”. How does Ops Manager know? One of the things that a BOSH agent is responsible for is sending out heartbeat messages and by default it does so every 60 seconds. The OMHM is constantly listening for those heartbeats and when it finds that one is missing it will itself produce and alert and pass that through the list of responders. Just as described above, this could result in emails, pages and operations dashboard alerts, but in this case there is one more responder that kicks in – the “resurector”. The resurector will communicate with the IaaS over which PCF is running and will ask that the failed VM be replaced. Of course it will be replaced with a VM running the appropriate part of the elastic runtime – i.e. a health manager or DEA, etc. That’s right, Operations Manager will restart failed cluster components.