Pivotal CF 
For Developer and Operator 
© Copyright 2014 Pivotal. All rights reserved. 
The image cannot be 
displayed. Your computer may 
not have enough memory to 
open the image, or the image 
© Copyright 2014 Pivotal. All rights reserved. 
1 
Kim Min Seok 
Sr, Field Engineer 
Pivotal Korea 
2014.12.09
Agenda 
IT Reality, DevOps and PaaS 
Pivotal CF for Developer 
Pivotal CF for Operator 
© Copyright 2014 Pivotal. All rights reserved.
© Copyright 2014 Pivotal. All rights reserved. 
3 
IT Reality, DevOps and 
PaaS
© Copyright 2014 Pivotal. All rights reserved. 
4 
IT Reality 
Organizations expect to have to deliver up to 20% more 
application in 2014. 
http://go.xebialabs.com/Automation-Trends-Report-2014.html#.U2DtDPldWf8
43% Organizations that Experience Significant Problems 
At least once a week. 
© Copyright 2014 Pivotal. All rights reserved. 
5 
IT Performance Issues 
http://devops.sys-con.com/node/3104451
War room 
© Copyright 2014 Pivotal. All rights reserved. 
6 
https://www.flickr.com/photos/scobleizer/5179450270/
Changing development and release 
disciplines 
**Source: Xebia Labs Survey Report 
© Copyright 2014 Pivotal. All rights reserved. 
Continuous Delivery! Agile! DevOps! 
CONTINUOUS 
DELIVERY! AGILE! DEVOPS! 
Enterprise initiatives in 2014**!
© Copyright 2014 Pivotal. All rights reserved. 
8 
DevOps! 
http://devops.sys-con.com/node/3118596
DevOps 
© Copyright 2014 Pivotal. All rights reserved. 
DevOps 
Technology 
Operation
Removing Developer and Operator 
Constrains 
• service 
removal 
© Copyright 2014 Pivotal. All rights reserved. 
BUILD 
APPLICATION! 
PUSH FIRST 
RELEASE! 
MAINTAIN 
APPLICATION! 
RETIRE 
APPLICATIONS! 
UPDATE 
APPLICATIONS! 
• service deploy 
• routing 
• Elastic scale 
• Integrated HA 
• scaling and APM 
• Log aggregation 
• Policy and Auth 
• A/B versioning 
• Live upgrades
© Copyright 2014 Pivotal. All rights reserved. 
11 
PaaS 
https://www.linkedin.com/pulse/article/20140730172610-9679881-pizza-as-a-service
© Copyright 2014 Pivotal. All rights reserved. 
12 
Cloud Foundry Project 
Open 
Source 
Private 
Clouds 
Public 
Clouds 
CUSTOM 
SERVICES 
http://www.cloudfoundry.org
Pivotal CF Architecture 
Ops Manager UI 
Ops Manager Director 
Operations 
Manager 
© Copyright 2014 Pivotal. All rights reserved. 
Service Broker 
Service Nodes 
Service 
Service Broker 
Service Nodes 
Service 
HA Proxy LB 
Dynamic Router 
Login Server 
App Log Aggregator 
Cloud Controller 
UAA 
Health Manager 
DEA Pool 
Messaging (NATS) 
Apps 
Metrics Collection 
Apps 
Elastic Runtime
© Copyright 2014 Pivotal. All rights reserved. 
14 
Pivotal CF for Developer
Developer concerns 
© Copyright 2014 Pivotal. All rights reserved. 
Mobile/Social 
Dev-test-trial! refresh! 
Agile 
transformation 
App modernization!
© Copyright 2014 Pivotal. All rights reserved. 
16 
10x+ Increase in Speed! 
Deploy App 
Cloud 
Controller 
Health 
Manager 
NATS 
(message bus) 
Router 
App Deployed 
! 
"H"kn"x}{p"uÇixx! 
Application Zone
Pivotal CF: From 50 touch points to 1 
© Copyright 2014 Pivotal. All rights reserved. 
mod 
proxy 
1. The platform takes care of all the steps 
on the left automatically 
50 Configuration Touches 
1. Register Hostname with DNS (1) 
2. Configure F5 Load Balancing Group (2) 
3. Configure Apache HTTPd Worker Pool (4) 
4. Configure mod_proxy Connector Routing 
(4) 
5. Configure Tomcat Connector Pool (40) 
1 Configuration Touch 
1 2 
4 
4 
40 
1
© Copyright 2014 Pivotal. All rights reserved. 
18 
Buildpacks 
Buildpacks are responsible for preparing the machine 
image for an application. 
Your application 
App Server 
Runtime 
Libraries 
Operating System 
Buildpack 
IAAS!
Supports a variety of JVM languages, containers, and frameworks with a 
modular, configurable, and extensible design 
© Copyright 2014 Pivotal. All rights reserved. 
19 
Java Buildpack Concepts 
App Servers Frameworks 
JREs 
Spring config 
Play config 
Play JPA config 
New Relic agent 
AppDynamics agent 
https://github.com/cloudfoundry/java-buildpack/blob/master/config/components.yml
© Copyright 2014 Pivotal. All rights reserved. 
20 
Large Buildpack Community 
24! 37! 
https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks 
Built-in 
Community 
6! 
Third party 
Jetty 
Virgo 
Clojure 
Haskell 
Mono 
Jboss(alpha) 
Websphere 
Erlang 
nginx 
C 
Lisp 
Dart 
Elixir 
Emacs 
Erlang 
Factor 
Fakesu 
Lua 
.NET 
Null 
Perl 
R 
Sphinx 
PhantoJS
Spring Project support 
© Copyright 2014 Pivotal. All rights reserved.
© Copyright 2014 Pivotal. All rights reserved. 
Cloud Foundry Plugin 
Pivotal CF 
Cloud 
Contro 
ller 
Health 
Manage 
r 
NATS 
(message 
bus) 
Router 
Developer support
Pivotal CF Services: Data, Mobile & Platform 
Operators manage and offer a variety of growing native and 
external enterprise-grade services to developers. Future proof and 
extend your environment. 
GemFire XD 
Greenplum 
RabbitMQ 
Spring XD 
build on Pivotal 
Technologies 
© Copyright 2014 Pivotal. All rights reserved. 
…! 
offered on 3rd Party 
Technologies 
My custom 
service! 
offered via 
connection to your 
custom-built 
services 
Pivotal HD 
HAWQ 
Redis 
Data Sync 
API Gateway 
Push 
Notification 
s
! 
H"kn"kzmi|mC{mz~qkm"xCuÇ{yt"''"uÇlj! 
H"kn"jqvlC{mz~qkm"uÇixx"uÇlj! 
H"kn"zm{|iom"uÇixx! Service Zone 
© Copyright 2014 Pivotal. All rights reserved. 
24 
The Pivotal CF way! 
Cloud 
Controller 
Health 
Manager 
NATS 
(message bus) 
Router 
Application Zone
© Copyright 2014 Pivotal. All rights reserved. 
25 
Developer Console
© Copyright 2014 Pivotal. All rights reserved. 
26 
Pivotal CF for an operator
© Copyright 2014 Pivotal. All rights reserved. 
27 
Operator Concerns 
Monitor the 
platform 
Handle High 
Availability and 
Upgrade 
Plan capacity 
Manage users 
Install the and quotas, 
platform 
Security
© Copyright 2014 Pivotal. All rights reserved. 
28 
Pivotal CF supports 
Target multiple services 
IaaS 
Install the 
platform 
Handle live upgrades 
and updates 
Install and manage 
Scale and 
plan capacity 
clouds 
Security
© Copyright 2014 Pivotal. All rights reserved. 
29 
Easy install/Upgrade : Ops Manager + BOSH! 
BOSH Director BOSH Agent 
IaaS 
Mobile Services 
for Pivotal CF 
ElasticSearch 
for Pivotal CF 
CloudBees Jenkins 
Enterprise 
Cassandra 
for Pivotal CF 
Click to install 
No downtime updates 
Explore install logs 
Click to scale the platform 
Built-in High Availability 
Built-in Platform Monitoring 
Integrated services
© Copyright 2014 Pivotal. All rights reserved. 
30 
Users, Quota and Security!
© Copyright 2014 Pivotal. All rights reserved. 
31 
Platform Monitoring! 
How do I know when to scale DEAs? 
How many requests each Router is servicing? 
What is the current load of my Cloud Controllers?
© Copyright 2014 Pivotal. All rights reserved. 
32 
Platform Monitoring! 
JMX 
Provider 
Collector 
JMX Monitoring 
Tool
Log Aggregation and Ops Metrics 
One source for all platform logs and metrics. Single view console 
that makes system and application monitoring visible & actionable 
Ÿ Aggregated Logging 
HTTP Events, Counters, Gauges, Errors 
Ÿ Application Metrics 
IT Operator health gauges 
Ÿ Snap-in best of breed application monitors 
AppDynamics, New Relic, Splunk 
© Copyright 2014 Pivotal. All rights reserved. 
Image credit: http://imgarcade.com/1/fire-hose-spraying-fire/
© Copyright 2014 Pivotal. All rights reserved. 
34 
4 Layers of built-in High Availability! 
Application Instance 
Platform Processes 
Platform VMs 
Availability Zones
© Copyright 2014 Pivotal. All rights reserved. 
35 
App Instance HA! 
Blobstore 
Router 
Cloud Controller 
DEA 
Messaging (NATS) 
DEA DEA 
Actual State 
Health Manager 
Cloud Foundry 
Runtime
DB 
© Copyright 2014 Pivotal. All rights reserved. 
36 
Platform Processes HA! 
Blobstore 
BOSH 
Health 
Monitor 
Pivotal CF 
DEA 
Agent Process 
Health Manager 
Agent 
Process 
Messaging 
Agent 
Process 
Cloud Controller 
Target 
VM 
BOSH Director 
NATS 
Agent 
Process
DB 
© Copyright 2014 Pivotal. All rights reserved. 
37 
Platform VMs HA! 
Blobstore 
BOSH 
Health 
Monitor 
Pivotal CF 
Cloud Controller 
Agent Process 
Health Manager 
Agent 
Process 
Messaging 
BOSH Director 
NATS Agent 
Process 
Cloud Controller 
Agent Process 
Ressurect 
or 
Re-create 
VM 
VM is 
missing…
Messaging (NATS) 
© Copyright 2014 Pivotal. All rights reserved. 
Availability Zone #2 
38 
Availability Zones! 
DEA 
DEA 
DEA 
Router 
Blobstore 
Cloud Controller 
Health Manager 
Push 
app 
Availability Zone #1 
DEA 
DEA
Scaling 
© Copyright 2014 Pivotal. All rights reserved. 
VM 
10 minutes 
Linux container 
0.02 seconds 
http://blog.pivotal.io/cloud-foundry-pivotal/case-studies-2/platform-wind-tunnel-part-i-heroku
Load Balancing 
© Copyright 2014 Pivotal. All rights reserved. 
HTTP/HTTPS 
External LB 
Dynamic Router 
DEA 
Apps 
DEA 
Apps 
DEA 
Apps
Management console 
© Copyright 2014 Pivotal. All rights reserved.
IT Needs a Platform for Operational Agility 
IaaSPaaS Ops 
Better SLAs 
Flexibility 
Speed 
Availability 
© Copyright 2014 Pivotal. All rights reserved. 
Faster Time To Market 
Mobile + Data 
Services 
Agile and Iterative 
Leverage OSS 
Continuous Delivery 
No Downtime 
Instant scaling 
Consistency & 
Automation 
PaaS Dev
Developer 
Agility 
© Copyright 2014 Pivotal. All rights reserved. 
43 
Pivotal CF 
Organizational 
Agility 
Pivotal 
Operator 
Agility 
DevOps Continuous Delivery
A NEW PLATFORM FOR A NEW ERA 
© Copyright 2014 Pivotal. All rights reserved. 
The image cannot be 
displayed. Your computer may 
not have enough memory to 
open the image, or the image 
© Copyright 2014 Pivotal. All rights reserved.

Pivotal cf for_devops_mkim_20141209

  • 1.
    Pivotal CF ForDeveloper and Operator © Copyright 2014 Pivotal. All rights reserved. The image cannot be displayed. Your computer may not have enough memory to open the image, or the image © Copyright 2014 Pivotal. All rights reserved. 1 Kim Min Seok Sr, Field Engineer Pivotal Korea 2014.12.09
  • 2.
    Agenda IT Reality,DevOps and PaaS Pivotal CF for Developer Pivotal CF for Operator © Copyright 2014 Pivotal. All rights reserved.
  • 3.
    © Copyright 2014Pivotal. All rights reserved. 3 IT Reality, DevOps and PaaS
  • 4.
    © Copyright 2014Pivotal. All rights reserved. 4 IT Reality Organizations expect to have to deliver up to 20% more application in 2014. http://go.xebialabs.com/Automation-Trends-Report-2014.html#.U2DtDPldWf8
  • 5.
    43% Organizations thatExperience Significant Problems At least once a week. © Copyright 2014 Pivotal. All rights reserved. 5 IT Performance Issues http://devops.sys-con.com/node/3104451
  • 6.
    War room ©Copyright 2014 Pivotal. All rights reserved. 6 https://www.flickr.com/photos/scobleizer/5179450270/
  • 7.
    Changing development andrelease disciplines **Source: Xebia Labs Survey Report © Copyright 2014 Pivotal. All rights reserved. Continuous Delivery! Agile! DevOps! CONTINUOUS DELIVERY! AGILE! DEVOPS! Enterprise initiatives in 2014**!
  • 8.
    © Copyright 2014Pivotal. All rights reserved. 8 DevOps! http://devops.sys-con.com/node/3118596
  • 9.
    DevOps © Copyright2014 Pivotal. All rights reserved. DevOps Technology Operation
  • 10.
    Removing Developer andOperator Constrains • service removal © Copyright 2014 Pivotal. All rights reserved. BUILD APPLICATION! PUSH FIRST RELEASE! MAINTAIN APPLICATION! RETIRE APPLICATIONS! UPDATE APPLICATIONS! • service deploy • routing • Elastic scale • Integrated HA • scaling and APM • Log aggregation • Policy and Auth • A/B versioning • Live upgrades
  • 11.
    © Copyright 2014Pivotal. All rights reserved. 11 PaaS https://www.linkedin.com/pulse/article/20140730172610-9679881-pizza-as-a-service
  • 12.
    © Copyright 2014Pivotal. All rights reserved. 12 Cloud Foundry Project Open Source Private Clouds Public Clouds CUSTOM SERVICES http://www.cloudfoundry.org
  • 13.
    Pivotal CF Architecture Ops Manager UI Ops Manager Director Operations Manager © Copyright 2014 Pivotal. All rights reserved. Service Broker Service Nodes Service Service Broker Service Nodes Service HA Proxy LB Dynamic Router Login Server App Log Aggregator Cloud Controller UAA Health Manager DEA Pool Messaging (NATS) Apps Metrics Collection Apps Elastic Runtime
  • 14.
    © Copyright 2014Pivotal. All rights reserved. 14 Pivotal CF for Developer
  • 15.
    Developer concerns ©Copyright 2014 Pivotal. All rights reserved. Mobile/Social Dev-test-trial! refresh! Agile transformation App modernization!
  • 16.
    © Copyright 2014Pivotal. All rights reserved. 16 10x+ Increase in Speed! Deploy App Cloud Controller Health Manager NATS (message bus) Router App Deployed ! "H"kn"x}{p"uÇixx! Application Zone
  • 17.
    Pivotal CF: From50 touch points to 1 © Copyright 2014 Pivotal. All rights reserved. mod proxy 1. The platform takes care of all the steps on the left automatically 50 Configuration Touches 1. Register Hostname with DNS (1) 2. Configure F5 Load Balancing Group (2) 3. Configure Apache HTTPd Worker Pool (4) 4. Configure mod_proxy Connector Routing (4) 5. Configure Tomcat Connector Pool (40) 1 Configuration Touch 1 2 4 4 40 1
  • 18.
    © Copyright 2014Pivotal. All rights reserved. 18 Buildpacks Buildpacks are responsible for preparing the machine image for an application. Your application App Server Runtime Libraries Operating System Buildpack IAAS!
  • 19.
    Supports a varietyof JVM languages, containers, and frameworks with a modular, configurable, and extensible design © Copyright 2014 Pivotal. All rights reserved. 19 Java Buildpack Concepts App Servers Frameworks JREs Spring config Play config Play JPA config New Relic agent AppDynamics agent https://github.com/cloudfoundry/java-buildpack/blob/master/config/components.yml
  • 20.
    © Copyright 2014Pivotal. All rights reserved. 20 Large Buildpack Community 24! 37! https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks Built-in Community 6! Third party Jetty Virgo Clojure Haskell Mono Jboss(alpha) Websphere Erlang nginx C Lisp Dart Elixir Emacs Erlang Factor Fakesu Lua .NET Null Perl R Sphinx PhantoJS
  • 21.
    Spring Project support © Copyright 2014 Pivotal. All rights reserved.
  • 22.
    © Copyright 2014Pivotal. All rights reserved. Cloud Foundry Plugin Pivotal CF Cloud Contro ller Health Manage r NATS (message bus) Router Developer support
  • 23.
    Pivotal CF Services:Data, Mobile & Platform Operators manage and offer a variety of growing native and external enterprise-grade services to developers. Future proof and extend your environment. GemFire XD Greenplum RabbitMQ Spring XD build on Pivotal Technologies © Copyright 2014 Pivotal. All rights reserved. …! offered on 3rd Party Technologies My custom service! offered via connection to your custom-built services Pivotal HD HAWQ Redis Data Sync API Gateway Push Notification s
  • 24.
    ! H"kn"kzmi|mC{mz~qkm"xCuÇ{yt"''"uÇlj! H"kn"jqvlC{mz~qkm"uÇixx"uÇlj! H"kn"zm{|iom"uÇixx! Service Zone © Copyright 2014 Pivotal. All rights reserved. 24 The Pivotal CF way! Cloud Controller Health Manager NATS (message bus) Router Application Zone
  • 25.
    © Copyright 2014Pivotal. All rights reserved. 25 Developer Console
  • 26.
    © Copyright 2014Pivotal. All rights reserved. 26 Pivotal CF for an operator
  • 27.
    © Copyright 2014Pivotal. All rights reserved. 27 Operator Concerns Monitor the platform Handle High Availability and Upgrade Plan capacity Manage users Install the and quotas, platform Security
  • 28.
    © Copyright 2014Pivotal. All rights reserved. 28 Pivotal CF supports Target multiple services IaaS Install the platform Handle live upgrades and updates Install and manage Scale and plan capacity clouds Security
  • 29.
    © Copyright 2014Pivotal. All rights reserved. 29 Easy install/Upgrade : Ops Manager + BOSH! BOSH Director BOSH Agent IaaS Mobile Services for Pivotal CF ElasticSearch for Pivotal CF CloudBees Jenkins Enterprise Cassandra for Pivotal CF Click to install No downtime updates Explore install logs Click to scale the platform Built-in High Availability Built-in Platform Monitoring Integrated services
  • 30.
    © Copyright 2014Pivotal. All rights reserved. 30 Users, Quota and Security!
  • 31.
    © Copyright 2014Pivotal. All rights reserved. 31 Platform Monitoring! How do I know when to scale DEAs? How many requests each Router is servicing? What is the current load of my Cloud Controllers?
  • 32.
    © Copyright 2014Pivotal. All rights reserved. 32 Platform Monitoring! JMX Provider Collector JMX Monitoring Tool
  • 33.
    Log Aggregation andOps Metrics One source for all platform logs and metrics. Single view console that makes system and application monitoring visible & actionable Ÿ Aggregated Logging HTTP Events, Counters, Gauges, Errors Ÿ Application Metrics IT Operator health gauges Ÿ Snap-in best of breed application monitors AppDynamics, New Relic, Splunk © Copyright 2014 Pivotal. All rights reserved. Image credit: http://imgarcade.com/1/fire-hose-spraying-fire/
  • 34.
    © Copyright 2014Pivotal. All rights reserved. 34 4 Layers of built-in High Availability! Application Instance Platform Processes Platform VMs Availability Zones
  • 35.
    © Copyright 2014Pivotal. All rights reserved. 35 App Instance HA! Blobstore Router Cloud Controller DEA Messaging (NATS) DEA DEA Actual State Health Manager Cloud Foundry Runtime
  • 36.
    DB © Copyright2014 Pivotal. All rights reserved. 36 Platform Processes HA! Blobstore BOSH Health Monitor Pivotal CF DEA Agent Process Health Manager Agent Process Messaging Agent Process Cloud Controller Target VM BOSH Director NATS Agent Process
  • 37.
    DB © Copyright2014 Pivotal. All rights reserved. 37 Platform VMs HA! Blobstore BOSH Health Monitor Pivotal CF Cloud Controller Agent Process Health Manager Agent Process Messaging BOSH Director NATS Agent Process Cloud Controller Agent Process Ressurect or Re-create VM VM is missing…
  • 38.
    Messaging (NATS) ©Copyright 2014 Pivotal. All rights reserved. Availability Zone #2 38 Availability Zones! DEA DEA DEA Router Blobstore Cloud Controller Health Manager Push app Availability Zone #1 DEA DEA
  • 39.
    Scaling © Copyright2014 Pivotal. All rights reserved. VM 10 minutes Linux container 0.02 seconds http://blog.pivotal.io/cloud-foundry-pivotal/case-studies-2/platform-wind-tunnel-part-i-heroku
  • 40.
    Load Balancing ©Copyright 2014 Pivotal. All rights reserved. HTTP/HTTPS External LB Dynamic Router DEA Apps DEA Apps DEA Apps
  • 41.
    Management console ©Copyright 2014 Pivotal. All rights reserved.
  • 42.
    IT Needs aPlatform for Operational Agility IaaSPaaS Ops Better SLAs Flexibility Speed Availability © Copyright 2014 Pivotal. All rights reserved. Faster Time To Market Mobile + Data Services Agile and Iterative Leverage OSS Continuous Delivery No Downtime Instant scaling Consistency & Automation PaaS Dev
  • 43.
    Developer Agility ©Copyright 2014 Pivotal. All rights reserved. 43 Pivotal CF Organizational Agility Pivotal Operator Agility DevOps Continuous Delivery
  • 44.
    A NEW PLATFORMFOR A NEW ERA © Copyright 2014 Pivotal. All rights reserved. The image cannot be displayed. Your computer may not have enough memory to open the image, or the image © Copyright 2014 Pivotal. All rights reserved.