cloud foundry introduction (w demo) at silicon valley code camp
DESCRIPTION
Silicon Valley Code Camp, The Self-healing Elastic Runtime that is Cloud Foundry. While we did mostly demo in this session, these slides set a bit of context first. Also includes the four levels of HA in Cloud Foundry.TRANSCRIPT
1© Copyright 2013 Pivotal. All rights reserved. 1© Copyright 2013 Pivotal. All rights reserved.
Cloud FoundryThe Self-healing, Elastic Runtime
Cornelia DavisDirector, Platform Engineering, Cloud Foundry, [email protected] | @cdavisafc | October 2014
2© Copyright 2013 Pivotal. All rights reserved.
The Power of PaaS (On Premise & Off Premise)
Traditional IT
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
You
Man
age
O/S
IaaS
Storage
Servers
Networking
Middleware
Virtualization
Data
Applications
Runtime
You
Man
age
IaaS
O/S
PaaS
Storage
Servers
Networking
Middleware
Virtualization
Data
Applications
Runtime
Pivotal CF +
Choice of Virtualized
Infrastructure
Business Value, Agility & Cost Savings
You
M
anag
e
3© Copyright 2013 Pivotal. All rights reserved.
“Software is Eating the World”
4© Copyright 2013 Pivotal. All rights reserved.
Software is Eating the World
$5B valuationFinancial Services
$10B valuationTravel & Hospitality
$18B valuation Transportation
$3.2B Acquisition by GoogleHome Automation
$20B valuation Entertainment
$26B valuationAutomotive
5© Copyright 2013 Pivotal. All rights reserved.
You are either building a software business…
Or losing to someone who is.
6© Copyright 2013 Pivotal. All rights reserved.
Amazon, a book store in Seattle,deploys code every 11 seconds
7© Copyright 2013 Pivotal. All rights reserved.
Continuously Delivered MicroservicesFaster & Safer
8© Copyright 2013 Pivotal. All rights reserved.
Rapid Innovation Requires a Combined Approach
Dramatically improve developer experience
Agile teams, rapid iteration
Microservices, incubate open source advancements (data and apps)
Continuous delivery, no planned downtime
Instant scaling of apps and data services
Automation and deployment consistency at every step
DEVELOPERS OPERATORS
9© Copyright 2013 Pivotal. All rights reserved.
Agile Development
DEVELOPMENT
Dev Space 1
AWS
DEVELOPMENT
Dev Space 2
AWS/vSphere
QA
QA/Scale
QA Space
AWS
Production
PRODUCTION
Prod 1
AWS/vSphere
No code or configuration changes!
Agile Methodologies Meets Agile Platforms
Prod 2
10© Copyright 2013 Pivotal. All rights reserved.
The Reality in Enterprises…Months and Weeks
… and do it all over again from Dev Test Prod on any infrastructure
11© Copyright 2013 Pivotal. All rights reserved.
USERS OPERATORS
The Pivotal CF Way…Hours and Minutes
App Deployment: 30-90 seconds
target <my cloud>push <my app>bind <my services>scale <my app> +1000
Cloud Deployment: 2-4 hours
provision cloud <Public/Private>provision service <PaaS,Hadoop...>upgrade/update <my cloud>scale <my cloud>
12© Copyright 2013 Pivotal. All rights reserved.
OPEN SOURCE IS THE NEW OPEN STANDARD
13© Copyright 2013 Pivotal. All rights reserved.
Industry Transformation
In the beginning…
Open vs Proprietary
Open Source is the new Open Standard
Open Source as a strategic asset
Purpose Motive as competitive differentiator
14© Copyright 2013 Pivotal. All rights reserved.
Cloud Foundry: The Largest Open PaaS EcosystemPlatinum
Gold
Silver
15© Copyright 2013 Pivotal. All rights reserved.
16© Copyright 2013 Pivotal. All rights reserved.
…And One More Thing: Cloud Independent
Deploy, Operate, Update & Scale with minimal downtime on choice of IaaS
….and more
Application Containerization & Cluster Scheduling
Native & Extended Data, Mobile and Platform Services
Automatic AppServer & OS Configuration with Buildpacks (“just push your app”)
Policy, Identity and Roles Management
App Health Mng, Load Balancing, Rapid Scaling, Availability Zones
IaaS Provisioning, Scaling & Configuration
Application Network Security Groups
Application to Services Binding and Access
Logging as a service,Application metrics & performance,Metric based scaling
17© Copyright 2014 Pivotal. All rights reserved.
A Multi-Cloud 3rd Platform: Cloud Foundry
Elastic Runtime
Agile Microservices
Elastic Hadoop
Jenkins Service
(CI)
Redis
Cloud Foundry BOSH
KV Store
VMware EC2 Openstack
Multi-Cloud Declarative Service Deployment, Operations
Elastic managed runtime service integrated into leading data services; all scaled and managed by CF BOSH
Rabbit MQ
18© Copyright 2014 Pivotal. All rights reserved. 18© Copyright 2014 Pivotal. All rights reserved.
Demo!
19© Copyright 2013 Pivotal. All rights reserved.
Application Instances and Availability Zones
Rout
erDEA
DEA
DEA
Pivotal CF Elastic Runtime
DEA
DEA
DEA
Zone 1 Zone 2 Application instances are evenly distributed over two availability zones.
Loosing an AZ keeps instances running and available.
App Ops
20© Copyright 2013 Pivotal. All rights reserved.
Rout
er
Failed Application Instances Replaced
BlobstoreCloud Controller
Health Manager
Actual StateDesired State
Messaging(NATS)
DEA DEA DEA
App Ops
Pivotal CF Elastic Runtime
22© Copyright 2013 Pivotal. All rights reserved.
ERS Processes are Monitored
IaaSPivotal CF Operations Manager
PaaS Ops
Health Manager
AGENT
DEA
AGENT
Cloud Controller
AGENT
Message Bus
Health Monitor
Responses:
pager
monitoring
…
23© Copyright 2013 Pivotal. All rights reserved.
ERS Processes are Monitored
IaaSPivotal CF Operations Manager
PaaS Ops
Health Manager
AGENT
DEA
AGENT
Cloud Controller
AGENT
Message Bus
Health Monitor
Responses:
pager
monitoring
…
24© Copyright 2013 Pivotal. All rights reserved.
ERS Processes are Monitored
IaaSPivotal CF Operations Manager
PaaS Ops
Health Manager
AGENT
DEA
AGENT
Cloud Controller
AGENT
Message Bus
Health Monitor
Responses:
pager
monitoring
…
25© 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
monitoring
ressurector
…
BOSH Director
Desired State Actual State
26© 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
monitoring
ressurector
…
BOSH Director
Desired State Actual State
27© 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
monitoring
ressurector
…
BOSH Director
Desired State Actual StateCPI
28© Copyright 2013 Pivotal. All rights reserved.
Four levels of HA in PCF
Elastic Runtime (ERS):
Distribution across availability zones
Application health management and recovery
Operations Manager (cluster management):
Process monitoring, recovery and alerting
Virtual machine health monitoring, recovery and alerting
http://blog.gopivotal.com/cloud-foundry-pivotal/products/the-four-levels-of-ha-in-pivotal-cf
29© Copyright 2013 Pivotal. All rights reserved.
Thank you!
Slides can be found at: http://www.slideshare.net/cdavisafc
BUILT FOR THE SPEED OF BUSINESS