SlideShare a Scribd company logo
1© 2016 Pivotal Software, Inc. All rights reserved.
2© 2016 Pivotal Software, Inc. All rights reserved.
Cloud Foundry vs Docker vs Kubernetes
Sufyaan Kazi
Trusted partner for IT innovation and digital transformation
New mode for cloud-computing – open and enterprise ready
Gold standard for modern software development
3© 2016 Pivotal Software, Inc. All rights reserved.
Who are Pivotal? http://bit.ly/2cmRm9m
4© 2016 Pivotal Software, Inc. All rights reserved.
Who are Pivotal? http://bit.ly/2cmS86h
5© 2016 Pivotal Software, Inc. All rights reserved.
Sufyaan Kazi
skazi@pivotal.io
@sufyaan_kazi
6© 2016 Pivotal Software, Inc. All rights reserved.
Let’s get into this ...
7© 2016 Pivotal Software, Inc. All rights reserved.
Cloud Foundry vs Docker vs Kubernetes
Cloud Foundry
Docker
Kubernetes
Cloud Foundry vs Docker vs Kubernetes
Sufyaan Kazi
8© 2016 Pivotal Software, Inc. All rights reserved.
“I have an absolutely brilliant idea ……”
Now let’s build it!
9© 2016 Pivotal Software, Inc. All rights reserved.
“I have an absolutely brilliant idea ……”
Now let’s build it!
10© 2016 Pivotal Software, Inc. All rights reserved.
“The competition have released my idea already *#¡!”
What’s taking so long !!
NOT
11© 2016 Pivotal Software, Inc. All rights reserved.
“I have an absolutely brilliant idea ……”
Now let’s build it!
“I have an absolutely brilliant idea ……”
Now let’s build “container-ise” it!
●  Who builds the container?
●  Where is its definition versioned?
●  Who schedules the workload?
●  What exactly is in this container?
●  How do we connect containers
together?
●  Where do we make a note of ip
addresses and configure network
routes?
●  How does this container talk to
other “things”?
●  What other “things” are needed?
12© 2016 Pivotal Software, Inc. All rights reserved.
“I have an absolutely brilliant idea ……”
Now let’s build it!
13© 2016 Pivotal Software, Inc. All rights reserved.
“I have an absolutely brilliant idea ……”
Here’s our DEVOPS recipe ...
-  First, add a pinch of containers and let it simmer
-  Now, add some Puppet, Chef or Ansible to your liking
-  If cooking for a big group of people, consider using a bigger pot or investing in some Kubernetes or maybe
Mesos
-  Now add some Networking Operations and REALLY bring to the boil
-  Cover with a lid while IT Security assesses what you’ve done. In fact put the whole pot inside another pot and
cover that second pot with a lid too. Then, just for good measure, take the pot stack and finish cooking on your
neighbours hob instead of yours and leave a “dummy” pot on your stove to trick anyone trying to steal your
credit card data.
-  Gently stir until cracks in the architecture appear and then remove from heat and serve
-  All leftovers can be frozen and re-heated for upto 90 days. At that point, your OS and libraries will most likely
need patching anyway, so please dispose of the dish responsibly and START ALL OVER AGAIN ………..
14© 2016 Pivotal Software, Inc. All rights reserved.
“I have an absolutely brilliant idea ……”
Now let’s build it!
15© 2016 Pivotal Software, Inc. All rights reserved.
What happens to software over times?
“In a connected system, elements are highly available to each other (via global state, for example). A
modular design has connections deliberately kept to a minimum.
….
During the takeoff phase, the team is constantly trying to add value by increasing the chance of survival.
During the cruise phase, reducing costs adds the most value. A different mix of activities goes into achieving
these different goals.”
Kent Beck August 12th, 2009 in Responsible Development, Startups
16© 2016 Pivotal Software, Inc. All rights reserved.
What happens after deployment ...
17© 2016 Pivotal Software, Inc. All rights reserved.
“I have an absolutely brilliant idea ……”
Now let’s build it!
18© 2016 Pivotal Software, Inc. All rights reserved.
“I have another absolutely brilliant idea ……”
Now let’s build it!
19© 2016 Pivotal Software, Inc. All rights reserved.
“I have another absolutely brilliant idea ……”
Now let’s upgrade it!
20© 2016 Pivotal Software, Inc. All rights reserved.
Cloud Foundry
Docker
Kubernetes
DEMO
Ci#es	-	Service	
{
"_embedded" : {
"cities" : [ {
"name" : "Aaron's Hill",
"county" : "Surrey",
"stateCode" : "SU9543",
"postalCode" : "GU7 2",
"latitude" : "51.18277",
"longitude" : "-0.63502",
"_links" : {
"self" : {
"href" : "http://cities-service-recognisable-wrongheadedness.cfapps.io/
cities/2"
},
"city" : {
"href" : "http://cities-service-recognisable-wrongheadedness.cfapps.io/
cities/2"
}
}
}, {
"name" : "Abbey Mead",
……………………….
/cities
22© 2016 Pivotal Software, Inc. All rights reserved.
Containers Pre-date the Docker Hype
Google started
Linux container
effort “Control
Groups”
Added to the
Linux Kernel in
2007
Cloud Foundry
uses Linux
container
technology -
“Warden
containers”
early 2012
Docker is like
github for
container
images
Docker joins
Cloud Foundry
Foundation
Google, MSFT,
IBM working on
orchestration of
multiple Docker
containers
2006 2014
Cloud Foundry has been using container
technology pre-Docker
2012
23© 2016 Pivotal Software, Inc. All rights reserved.
MODERN CLOUD NATIVE PLATFORM
Pivotal Cloud Foundry empowers
companies with a cloud platform
engineered for start-up speed—designed
for continuous innovation, across multiple
clouds, at scale.
Stage an ApplicationRouter	
Cloud	Foundry	
Elas#c	Run#me	
Blobstore DB
CELL
Detect Compile Upload
NoYes
System
Buildpacks
Cloud Controller
Service
credentialscreds
Cloud Controller
Bridge
Task
+ =
25© 2016 Pivotal Software, Inc. All rights reserved.
BUILD PACKS
26© 2016 Pivotal Software, Inc. All rights reserved.
Platform provides standard
Buildpack for runtime*
Platform provides fixed OS
container image
Developer brings app
Developer brings runtime
Docker image
Developer brings Docker
OS image
Developer brings app
Buildpacks Docker
* Devs may also provide their own buildpacks
Platform provides fixed
host OS Kernel
Platform provides fixed
host OS Kernel
Application
Container
Standardization or Customization is Your Choice
AND
Router	
Cloud Controller
Cloud Controller
Bridge
Auctioneer BBS
CELL Rep
Executor
CELL Rep
Executor
CELL Rep
Executor
ACCESS
APP
Deploying an Application
28© Copyright 2013 Pivotal. All rights reserved.
Failed Application Instances Replaced
Router	
Blobstore Cloud Controller
BBS
Cell Cell Cell
Pivotal	Cloud	Foundry	
Elas#c	Run#me	
Access
App
DB
Service
credentialscreds
Converger & Auctioneer
Desired State
credscreds
Actual State
App Ops
Cloud Controller
Bridge
29© 2016 Pivotal Software, Inc. All rights reserved.
Everything to deploy and manage the app
APPLICATIONHealth
management
APM
Log
aggregation
Roles and
Policy Security and
Isolation
Scaling
Blue green
deployment
PRIVATE CLOUD PUBLIC CLOUD
Cloud Native Reference Architecture (PCF)
CLOUD ORCHESTRATION
& AUTOMATION
LANGUAGES
Java
.NET
Python
CONTAINER
ORCHESTRATION
CONTAINERS MESSAGING
DATA MICROSERVICES CIRCUIT
BREAKERS
Hystrix
DIY
LOAD BALANCING
Ribbon
Zuul
DATABASES AND DATA
MANAGEMENT
DISCOVERY &
REGISTRATION
Consul
Eureka
etcd
VERSION CONTROL
DEV FRAMEWORKS
Buildpacks
API MANAGEMENT
SECURITY &
COMPLIANCE
SSO
IPSEC
METRICS &
DASHBOARDS
PCF Metrics
BOSH / Cloud Foundry
Docker RunC
Ruby
Go
*.JS
CI / CD
NETWORKING
MONITORING / LOGGING
Azure
MySQL Gemfire
Redis Pivotal HD
Gitlab
Jenkins Artifactory
Spring Cloud
Dataflow
RabbitMQ
PCF Elastic Runtime
HA Proxy Router
Service	Broker	
Service	Nodes	
Service
Service	Broker	
Service	Nodes	
Service
Ops	Manager	UI	
Ops	Manager	Director	
Operations Manager
ORIGINS
2013
Transferred to Pivotal from Vmware
●  Open Source
●  Cloud Native Architecture
2014
First commercialized by Pivotal
●  Pivotal Cloud Foundry (PCF)
●  Pivotal Web Services (PWS)
●  1 trillion dollars in market cap
supporting the project
●  Top talent recruited from Puppet,
AWS, Google, etc
2015
Governance passed to Cloud
Foundry Foundation
2016
On 7th release of PCF
31
CLOUD FOUNDRY FOUNDATION
AN OPEN INDUSTRY STANDARD
PLATINUMSILVERGOLD
32
CF OPEN SOURCE
MOMENTUM
Source: http://cloud-foundry.meetup.com/ on Jun 12 2015
53 CORPORATIONS
158 MEETUPS 49 COUNTRIES
21K MEMBERS
2200 DEVELOPERS
65K COMMITS
650 CODE SUBMITTERS
SUBMITTERS
COMMITS
in
from
33
https://www.meetup.com/London-Pivotal-
Cloud-Native-Apps-Meetup/
35© 2016 Pivotal Software, Inc. All rights reserved.
“I have an absolutely brilliant idea ……”
Now let’s build it!
36© 2016 Pivotal Software, Inc. All rights reserved.
CI/CDwith Concourse (http://concourse.ci/)
37© 2016 Pivotal Software, Inc. All rights reserved.
Cloud Foundry
Docker
PAAS vs IaaS vs IaaS++
Kubernetes
38© 2016 Pivotal Software, Inc. All rights reserved.
Useful links:
●  https://blog.pivotal.io/pivotal-cloud-foundry/products/how-cloud-foundry-gives-developers-a-
reliable-container-runtime
●  PCF Overview: http://docs.pivotal.io/pivotalcf/1-7/concepts/overview.html
●  Docs - http://docs.pivotal.io/pivotalcf/1-7/installing/pcf-docs.html
●  Single VM Version of PCF: https://network.pivotal.io/products/pcfdev
●  Spring Boot: https://spring.io/guides
●  Spring Boot, Microservices and PCF:
https://github.com/skazi-pivotal/spring-boot-cities-service
●  https://github.com/skazi-pivotal/spring-boot-cities-ui
●  https://github.com/pivotal-bank/cf-SpringBootTrader
39© 2016 Pivotal Software, Inc. All rights reserved.
WE ARE HIRING!! - http://pivotal.io/careers
40© 2016 Pivotal Software, Inc. All rights reserved.
Q&A
41© 2016 Pivotal Software, Inc. All rights reserved.
Sufyaan Kazi
skazi@pivotal.io
@sufyaan_kazi
42© 2016 Pivotal Software, Inc. All rights reserved.

More Related Content

What's hot (20)

PDF
PKS: The What and How of Enterprise-Grade Kubernetes
VMware Tanzu
 
PDF
HP Helion Webinar #2
BeMyApp
 
PPTX
Pivotal cloud foundry introduction
Gaurav Shukla
 
PDF
Cloud native Microservices using Spring Boot
Sufyaan Kazi
 
PDF
Introducing Cloud Native, Event Driven, Serverless, Micrsoservices Framework ...
Animesh Singh
 
PDF
PCF Cloud-Native Workshop Slides
VMware Tanzu
 
PPTX
Intel Cloud Foundry and OpenStack
Silicon Valley Cloud Foundry Meetup
 
PDF
Cloud Foundry Introduction and Overview
Andy Piper
 
PPTX
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
VMware Tanzu
 
PDF
HP Helion Webinar #4 - Open stack the magic pill
BeMyApp
 
PDF
Part 1: The Developer Experience (Pivotal Cloud Platform Roadshow)
VMware Tanzu
 
PDF
Cloud foundry presentation
Vivek Parihar
 
PDF
Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)
VMware Tanzu
 
PDF
Weave GitOps Core Overview (Free GitOps Workshop)
Weaveworks
 
PPT
Introducing Cloud Foundry Integration for Eclipse (Cloud Foundry Summit 2014)
VMware Tanzu
 
PPTX
What's new in Pivotal Cloud Foundry 1.6
dektlong
 
PPTX
Building a University Community PaaS Using Cloud Foundry (Cloud Foundry Summ...
VMware Tanzu
 
PDF
HP Helion Episode 6: Cloud Foundry Summit Recap
BeMyApp
 
PDF
Cloud Foundry Overview
Patrick Chanezon
 
PDF
OpenStack Architected Like AWS (and GCP)
Randy Bias
 
PKS: The What and How of Enterprise-Grade Kubernetes
VMware Tanzu
 
HP Helion Webinar #2
BeMyApp
 
Pivotal cloud foundry introduction
Gaurav Shukla
 
Cloud native Microservices using Spring Boot
Sufyaan Kazi
 
Introducing Cloud Native, Event Driven, Serverless, Micrsoservices Framework ...
Animesh Singh
 
PCF Cloud-Native Workshop Slides
VMware Tanzu
 
Intel Cloud Foundry and OpenStack
Silicon Valley Cloud Foundry Meetup
 
Cloud Foundry Introduction and Overview
Andy Piper
 
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
VMware Tanzu
 
HP Helion Webinar #4 - Open stack the magic pill
BeMyApp
 
Part 1: The Developer Experience (Pivotal Cloud Platform Roadshow)
VMware Tanzu
 
Cloud foundry presentation
Vivek Parihar
 
Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)
VMware Tanzu
 
Weave GitOps Core Overview (Free GitOps Workshop)
Weaveworks
 
Introducing Cloud Foundry Integration for Eclipse (Cloud Foundry Summit 2014)
VMware Tanzu
 
What's new in Pivotal Cloud Foundry 1.6
dektlong
 
Building a University Community PaaS Using Cloud Foundry (Cloud Foundry Summ...
VMware Tanzu
 
HP Helion Episode 6: Cloud Foundry Summit Recap
BeMyApp
 
Cloud Foundry Overview
Patrick Chanezon
 
OpenStack Architected Like AWS (and GCP)
Randy Bias
 

Similar to Cloud Foundry vs Docker vs Kubernetes - http://bit.ly/2rzUM2U (20)

PDF
The Cloud Foundry Story
VMware Tanzu
 
PPTX
Pivotal Cloud Platform Roadshow Keynote
cornelia davis
 
PPTX
The Cloud Native Journey
VMware Tanzu
 
PPTX
Unlock Your VMW IaaS Investment with Pivotal CF - VMWorld 2014
cornelia davis
 
PPTX
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
VMware Tanzu
 
PPTX
OpenStackDC and Cloud Foundry Meetup -
Joshua McKenty
 
PPT
Ahead conference keynote deck, The Journey to Enterprise PaaS with Cloud Foun...
James Watters
 
PPTX
Cloud-Native Workshop New York- Pivotal
VMware Tanzu
 
PPTX
Removing Barriers Between Dev and Ops
cornelia davis
 
PDF
You've Made Kubernetes Available to Your Developers, Now What?
cornelia davis
 
PDF
Pivotal CloudFoundry on Google cloud platform
Ronak Banka
 
PDF
Removing Barriers Between Dev and Ops
VMware Tanzu
 
PDF
SV Cloud Meetup
James Watters
 
PPTX
Competing with Software: It Takes a Platform -- Devops @ EMC World
cornelia davis
 
PDF
Pivotal Cloud Foundry: A Technical Overview
VMware Tanzu
 
PPTX
Cloud Foundry Vancouver Meetup July 2016
Stuart Charlton
 
PDF
Cloud Foundry - An Open Innovation Platform
All Things Open
 
PDF
Pivotal Cloud Foundry: A Technical Overview
VMware Tanzu
 
PPTX
The Cloud Native Journey with Simon Elisha
Chloe Jackson
 
PDF
Pivotal CF_DS_for Pivotal_CF1.3
Robin Fong 方俊强
 
The Cloud Foundry Story
VMware Tanzu
 
Pivotal Cloud Platform Roadshow Keynote
cornelia davis
 
The Cloud Native Journey
VMware Tanzu
 
Unlock Your VMW IaaS Investment with Pivotal CF - VMWorld 2014
cornelia davis
 
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
VMware Tanzu
 
OpenStackDC and Cloud Foundry Meetup -
Joshua McKenty
 
Ahead conference keynote deck, The Journey to Enterprise PaaS with Cloud Foun...
James Watters
 
Cloud-Native Workshop New York- Pivotal
VMware Tanzu
 
Removing Barriers Between Dev and Ops
cornelia davis
 
You've Made Kubernetes Available to Your Developers, Now What?
cornelia davis
 
Pivotal CloudFoundry on Google cloud platform
Ronak Banka
 
Removing Barriers Between Dev and Ops
VMware Tanzu
 
SV Cloud Meetup
James Watters
 
Competing with Software: It Takes a Platform -- Devops @ EMC World
cornelia davis
 
Pivotal Cloud Foundry: A Technical Overview
VMware Tanzu
 
Cloud Foundry Vancouver Meetup July 2016
Stuart Charlton
 
Cloud Foundry - An Open Innovation Platform
All Things Open
 
Pivotal Cloud Foundry: A Technical Overview
VMware Tanzu
 
The Cloud Native Journey with Simon Elisha
Chloe Jackson
 
Pivotal CF_DS_for Pivotal_CF1.3
Robin Fong 方俊强
 
Ad

Recently uploaded (20)

PPTX
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PDF
NASA A Researcher’s Guide to International Space Station : Fundamental Physics
Dr. PANKAJ DHUSSA
 
PDF
Home Cleaning App Development Services.pdf
V3cube
 
PDF
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
NASA A Researcher’s Guide to International Space Station : Fundamental Physics
Dr. PANKAJ DHUSSA
 
Home Cleaning App Development Services.pdf
V3cube
 
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Next Generation AI: Anticipatory Intelligence, Forecasting Inflection Points ...
dleka294658677
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Ad

Cloud Foundry vs Docker vs Kubernetes - http://bit.ly/2rzUM2U

  • 1. 1© 2016 Pivotal Software, Inc. All rights reserved.
  • 2. 2© 2016 Pivotal Software, Inc. All rights reserved. Cloud Foundry vs Docker vs Kubernetes Sufyaan Kazi Trusted partner for IT innovation and digital transformation New mode for cloud-computing – open and enterprise ready Gold standard for modern software development
  • 3. 3© 2016 Pivotal Software, Inc. All rights reserved. Who are Pivotal? http://bit.ly/2cmRm9m
  • 4. 4© 2016 Pivotal Software, Inc. All rights reserved. Who are Pivotal? http://bit.ly/2cmS86h
  • 5. 5© 2016 Pivotal Software, Inc. All rights reserved. Sufyaan Kazi [email protected] @sufyaan_kazi
  • 6. 6© 2016 Pivotal Software, Inc. All rights reserved. Let’s get into this ...
  • 7. 7© 2016 Pivotal Software, Inc. All rights reserved. Cloud Foundry vs Docker vs Kubernetes Cloud Foundry Docker Kubernetes Cloud Foundry vs Docker vs Kubernetes Sufyaan Kazi
  • 8. 8© 2016 Pivotal Software, Inc. All rights reserved. “I have an absolutely brilliant idea ……” Now let’s build it!
  • 9. 9© 2016 Pivotal Software, Inc. All rights reserved. “I have an absolutely brilliant idea ……” Now let’s build it!
  • 10. 10© 2016 Pivotal Software, Inc. All rights reserved. “The competition have released my idea already *#¡!” What’s taking so long !! NOT
  • 11. 11© 2016 Pivotal Software, Inc. All rights reserved. “I have an absolutely brilliant idea ……” Now let’s build it! “I have an absolutely brilliant idea ……” Now let’s build “container-ise” it! ●  Who builds the container? ●  Where is its definition versioned? ●  Who schedules the workload? ●  What exactly is in this container? ●  How do we connect containers together? ●  Where do we make a note of ip addresses and configure network routes? ●  How does this container talk to other “things”? ●  What other “things” are needed?
  • 12. 12© 2016 Pivotal Software, Inc. All rights reserved. “I have an absolutely brilliant idea ……” Now let’s build it!
  • 13. 13© 2016 Pivotal Software, Inc. All rights reserved. “I have an absolutely brilliant idea ……” Here’s our DEVOPS recipe ... -  First, add a pinch of containers and let it simmer -  Now, add some Puppet, Chef or Ansible to your liking -  If cooking for a big group of people, consider using a bigger pot or investing in some Kubernetes or maybe Mesos -  Now add some Networking Operations and REALLY bring to the boil -  Cover with a lid while IT Security assesses what you’ve done. In fact put the whole pot inside another pot and cover that second pot with a lid too. Then, just for good measure, take the pot stack and finish cooking on your neighbours hob instead of yours and leave a “dummy” pot on your stove to trick anyone trying to steal your credit card data. -  Gently stir until cracks in the architecture appear and then remove from heat and serve -  All leftovers can be frozen and re-heated for upto 90 days. At that point, your OS and libraries will most likely need patching anyway, so please dispose of the dish responsibly and START ALL OVER AGAIN ………..
  • 14. 14© 2016 Pivotal Software, Inc. All rights reserved. “I have an absolutely brilliant idea ……” Now let’s build it!
  • 15. 15© 2016 Pivotal Software, Inc. All rights reserved. What happens to software over times? “In a connected system, elements are highly available to each other (via global state, for example). A modular design has connections deliberately kept to a minimum. …. During the takeoff phase, the team is constantly trying to add value by increasing the chance of survival. During the cruise phase, reducing costs adds the most value. A different mix of activities goes into achieving these different goals.” Kent Beck August 12th, 2009 in Responsible Development, Startups
  • 16. 16© 2016 Pivotal Software, Inc. All rights reserved. What happens after deployment ...
  • 17. 17© 2016 Pivotal Software, Inc. All rights reserved. “I have an absolutely brilliant idea ……” Now let’s build it!
  • 18. 18© 2016 Pivotal Software, Inc. All rights reserved. “I have another absolutely brilliant idea ……” Now let’s build it!
  • 19. 19© 2016 Pivotal Software, Inc. All rights reserved. “I have another absolutely brilliant idea ……” Now let’s upgrade it!
  • 20. 20© 2016 Pivotal Software, Inc. All rights reserved. Cloud Foundry Docker Kubernetes DEMO
  • 21. Ci#es - Service { "_embedded" : { "cities" : [ { "name" : "Aaron's Hill", "county" : "Surrey", "stateCode" : "SU9543", "postalCode" : "GU7 2", "latitude" : "51.18277", "longitude" : "-0.63502", "_links" : { "self" : { "href" : "http://cities-service-recognisable-wrongheadedness.cfapps.io/ cities/2" }, "city" : { "href" : "http://cities-service-recognisable-wrongheadedness.cfapps.io/ cities/2" } } }, { "name" : "Abbey Mead", ………………………. /cities
  • 22. 22© 2016 Pivotal Software, Inc. All rights reserved. Containers Pre-date the Docker Hype Google started Linux container effort “Control Groups” Added to the Linux Kernel in 2007 Cloud Foundry uses Linux container technology - “Warden containers” early 2012 Docker is like github for container images Docker joins Cloud Foundry Foundation Google, MSFT, IBM working on orchestration of multiple Docker containers 2006 2014 Cloud Foundry has been using container technology pre-Docker 2012
  • 23. 23© 2016 Pivotal Software, Inc. All rights reserved. MODERN CLOUD NATIVE PLATFORM Pivotal Cloud Foundry empowers companies with a cloud platform engineered for start-up speed—designed for continuous innovation, across multiple clouds, at scale.
  • 24. Stage an ApplicationRouter Cloud Foundry Elas#c Run#me Blobstore DB CELL Detect Compile Upload NoYes System Buildpacks Cloud Controller Service credentialscreds Cloud Controller Bridge Task + =
  • 25. 25© 2016 Pivotal Software, Inc. All rights reserved. BUILD PACKS
  • 26. 26© 2016 Pivotal Software, Inc. All rights reserved. Platform provides standard Buildpack for runtime* Platform provides fixed OS container image Developer brings app Developer brings runtime Docker image Developer brings Docker OS image Developer brings app Buildpacks Docker * Devs may also provide their own buildpacks Platform provides fixed host OS Kernel Platform provides fixed host OS Kernel Application Container Standardization or Customization is Your Choice AND
  • 27. Router Cloud Controller Cloud Controller Bridge Auctioneer BBS CELL Rep Executor CELL Rep Executor CELL Rep Executor ACCESS APP Deploying an Application
  • 28. 28© Copyright 2013 Pivotal. All rights reserved. Failed Application Instances Replaced Router Blobstore Cloud Controller BBS Cell Cell Cell Pivotal Cloud Foundry Elas#c Run#me Access App DB Service credentialscreds Converger & Auctioneer Desired State credscreds Actual State App Ops Cloud Controller Bridge
  • 29. 29© 2016 Pivotal Software, Inc. All rights reserved. Everything to deploy and manage the app APPLICATIONHealth management APM Log aggregation Roles and Policy Security and Isolation Scaling Blue green deployment
  • 30. PRIVATE CLOUD PUBLIC CLOUD Cloud Native Reference Architecture (PCF) CLOUD ORCHESTRATION & AUTOMATION LANGUAGES Java .NET Python CONTAINER ORCHESTRATION CONTAINERS MESSAGING DATA MICROSERVICES CIRCUIT BREAKERS Hystrix DIY LOAD BALANCING Ribbon Zuul DATABASES AND DATA MANAGEMENT DISCOVERY & REGISTRATION Consul Eureka etcd VERSION CONTROL DEV FRAMEWORKS Buildpacks API MANAGEMENT SECURITY & COMPLIANCE SSO IPSEC METRICS & DASHBOARDS PCF Metrics BOSH / Cloud Foundry Docker RunC Ruby Go *.JS CI / CD NETWORKING MONITORING / LOGGING Azure MySQL Gemfire Redis Pivotal HD Gitlab Jenkins Artifactory Spring Cloud Dataflow RabbitMQ PCF Elastic Runtime HA Proxy Router Service Broker Service Nodes Service Service Broker Service Nodes Service Ops Manager UI Ops Manager Director Operations Manager
  • 31. ORIGINS 2013 Transferred to Pivotal from Vmware ●  Open Source ●  Cloud Native Architecture 2014 First commercialized by Pivotal ●  Pivotal Cloud Foundry (PCF) ●  Pivotal Web Services (PWS) ●  1 trillion dollars in market cap supporting the project ●  Top talent recruited from Puppet, AWS, Google, etc 2015 Governance passed to Cloud Foundry Foundation 2016 On 7th release of PCF 31
  • 32. CLOUD FOUNDRY FOUNDATION AN OPEN INDUSTRY STANDARD PLATINUMSILVERGOLD 32
  • 33. CF OPEN SOURCE MOMENTUM Source: http://cloud-foundry.meetup.com/ on Jun 12 2015 53 CORPORATIONS 158 MEETUPS 49 COUNTRIES 21K MEMBERS 2200 DEVELOPERS 65K COMMITS 650 CODE SUBMITTERS SUBMITTERS COMMITS in from 33
  • 35. 35© 2016 Pivotal Software, Inc. All rights reserved. “I have an absolutely brilliant idea ……” Now let’s build it!
  • 36. 36© 2016 Pivotal Software, Inc. All rights reserved. CI/CDwith Concourse (http://concourse.ci/)
  • 37. 37© 2016 Pivotal Software, Inc. All rights reserved. Cloud Foundry Docker PAAS vs IaaS vs IaaS++ Kubernetes
  • 38. 38© 2016 Pivotal Software, Inc. All rights reserved. Useful links: ●  https://blog.pivotal.io/pivotal-cloud-foundry/products/how-cloud-foundry-gives-developers-a- reliable-container-runtime ●  PCF Overview: http://docs.pivotal.io/pivotalcf/1-7/concepts/overview.html ●  Docs - http://docs.pivotal.io/pivotalcf/1-7/installing/pcf-docs.html ●  Single VM Version of PCF: https://network.pivotal.io/products/pcfdev ●  Spring Boot: https://spring.io/guides ●  Spring Boot, Microservices and PCF: https://github.com/skazi-pivotal/spring-boot-cities-service ●  https://github.com/skazi-pivotal/spring-boot-cities-ui ●  https://github.com/pivotal-bank/cf-SpringBootTrader
  • 39. 39© 2016 Pivotal Software, Inc. All rights reserved. WE ARE HIRING!! - http://pivotal.io/careers
  • 40. 40© 2016 Pivotal Software, Inc. All rights reserved. Q&A
  • 41. 41© 2016 Pivotal Software, Inc. All rights reserved. Sufyaan Kazi [email protected] @sufyaan_kazi
  • 42. 42© 2016 Pivotal Software, Inc. All rights reserved.