open stack + cloud foundry: palo alto meetup february 2015
TRANSCRIPT
“Automation is Voldemort: the terrifying force nobody is willing to name.”
- Jerry Michalski
Joshua McKenty
Follow me on twitter:
@jmckenty
3© 2014 Pivotal Software, Inc. All rights reserved.
“The primary purpose
of any piece of
software, is to exist. It
is better to ship, than
to not ship.”
— Bob Parsley, Netscape
4© 2014 Pivotal Software, Inc. All rights reserved.
5© 2014 Pivotal Software, Inc. All rights reserved.
Nova v0.1 was
written in 17 days
by 5 people.
6© 2014 Pivotal Software, Inc. All rights reserved. 6© 2014 Pivotal Software, Inc. All rights reserved.
OpenStack & Cloud Foundry
The Best Things in Cloud Are Free
7© 2014 Pivotal Software, Inc. All rights reserved. 7© 2014 Pivotal Software, Inc. All rights reserved.
OpenStack & Cloud Foundry
The Best Things in Cloud Are Free
(Free as in Speech, not as in Beer).
8© 2014 Pivotal Software, Inc. All rights reserved.
9© 2014 Pivotal Software, Inc. All rights reserved.
10© 2014 Pivotal Software, Inc. All rights reserved.
Cloud Foundry is…
The world’s leading open source platform-as-a-service.
Supported by dozens of major organizations
Language and framework agnostic
Manages both VMs and containers
Orchestrates both applications and data services
Founded and commercialized by Pivotal, Inc.
11© 2014 Pivotal Software, Inc. All rights reserved.
An (Overly) Simple View of the World
Applications
Stateless
Run in Containers
Horizontally Scalable
Disposable
No permanent storage
Data Services
Stateful
Run in Virtual Machines
Multi-tenant
Diagonally scalable
Durable storage
12© 2014 Pivotal Software, Inc. All rights reserved.
Cloud Foundry: Applications and Services
Services (virtual machines):
managed by “BOSH”
Applications (containers):
managed by “Runtime”
13© 2014 Pivotal Software, Inc. All rights reserved.
Industry Voting: ‘Cloud Foundry’ is the standard in PaaS
14© 2014 Pivotal Software, Inc. All rights reserved.
Incredible Cloud Foundry Ecosystem
15© 2014 Pivotal Software, Inc. All rights reserved.
OpenStack and Cloud Foundry: Shared Ecosystem
16© 2014 Pivotal Software, Inc. All rights reserved.
CF for ‘Stackers
How are things the same?
How are things different?
Why would I get involved?
How do I get involved?
Next Steps
17© 2014 Pivotal Software, Inc. All rights reserved.
How are things the same?
OpenStack & Cloud Foundry
License Apache v2.0
Community Vendors, Users, and Developers
Architecture API-based services and message-passing
18© 2014 Pivotal Software, Inc. All rights reserved.
OpenStack and Cloud Foundry: Shared Ecosystem
19© 2014 Pivotal Software, Inc. All rights reserved.
How are things different?
OpenStack Cloud Foundry
Language Python Go and Ruby
Release Cycle 6 months, integrated 2 weeks, parallel
Governance Dedicated Foundation Linux Foundation project
Installation tools Various BOSH or Juju
Communication Hub IRC (#openstack-dev) Mailing lists
Source code & review Gerritt & Private Git GitHub & pull requests
Adoption Mostly OSS trials and
dev/test environments
Mostly commercial
production deployments
20© 2014 Pivotal Software, Inc. All rights reserved.
Different strokes for different folks
Better SLAs
Flexibility
Speed
Availability
Faster Time To Market
Mobile + Data Services
Agile and Iterative
Leverage OSS
• Continuous Delivery
• No Downtime
• Instant scaling
• Consistency &
Automation
PaaS Dev PaaS OpsIaaS
21© 2014 Pivotal Software, Inc. All rights reserved.
Removing Developer and Operator Constrains
BUILD APPLICATION
PUSH FIRST RELEASE
MAINTAIN APPLICATION
UPDATE APPLICATIONS
RETIRE APPLICATIONS
• Auto-detect frameworks
• Link to PaaS
• Self-service deploy
• Dynamic routing
• Elastic scale
• Integrated HA
• Autoscaling and APM
• Log aggregation
• Policy and Auth
• A/B versioning
• Live upgrades
• Self-service
removal
22© 2014 Pivotal Software, Inc. All rights reserved. 22© Copyright 2014 Pivotal. All rights reserved.
23© 2014 Pivotal Software, Inc. All rights reserved.
24© 2014 Pivotal Software, Inc. All rights reserved.
Ten years ago…
• PuppetConfiguration Management is invented
2005
• Launch of AmazonAWS EC2 Beta
• Google BigTablePaper published
• Facebook becomes publicly available
2006 • Netflix launches Video-on-Demand
• First release of open source Hadoop
2007
• Apple launches the App Store
• Amazon AWS comes out of Beta
2008
25© 2014 Pivotal Software, Inc. All rights reserved.
Business Expectations Exceed IT Capabilities
Cloud
IT Technology Eras
Mainframe Client-ServerThe exponential
increase in business
expectations is
unsustainable for IT
MILLIONS OF APPS
BILLIONS OF DEVICES
* Source: Gartner, 2013: “Hunting and Harvesting in a Digital World: The 2013 CIO Agenda”
$ $ $ $ $ $
ABILITY OF IT TO
DELIVER S/W
STEADY IT
BUDGETS*
BUSINESS
EXPECTATIONS
26© 2014 Pivotal Software, Inc. All rights reserved.
“Avert the danger which has not yet come.”
27© 2014 Pivotal Software, Inc. All rights reserved. 27© Copyright 2014 Pivotal. All rights reserved.
28© 2014 Pivotal Software, Inc. All rights reserved.
Containers Alone Aren’t Enough…
29© 2014 Pivotal Software, Inc. All rights reserved.
Unit of Value
IaaS == Virtual Machine
Opaque to the system
Orchestration is post-hoc
System changes are
imperative (“launch” stuff)
PaaS == Application
Containers are transparent
Lifecycle is fully managed
System changes are
declarative (manifest.yml)
30© 2014 Pivotal Software, Inc. All rights reserved.
Understanding PaaS
Turning this… …into this:
.war .jar
dependencies
libraries
service
manifest
App App App
LB
DB
Multi-server run time
environment(s)
.tar.gz
31© 2014 Pivotal Software, Inc. All rights reserved.
Cloud Foundry “Smart Containers”
Containers (1st Gen)
• lxc or cgroups
Docker (2nd
Gen)
• Net NS
• AuFS
Smart Containers (3rd Gen)
• HA
• ACLs
• Metrics
• Scheduling
32© 2014 Pivotal Software, Inc. All rights reserved.
Application patterns are changing…
33© 2014 Pivotal Software, Inc. All rights reserved.
Language, Service and IaaS Agnostic
………
(Crust)(Sauce)(Toppings)
34© 2014 Pivotal Software, Inc. All rights reserved. 34© 2014 Pivotal Software, Inc. All rights reserved.
Why would I care?(Hint: It’s not just for the parties.)
35© 2014 Pivotal Software, Inc. All rights reserved.
Why IT loves Open Source Software
NOT Because:
They want to change it (because most users won't)
They think that software should be cheap or free.
But, BECAUSE:
Open Source processes force agile development.
Healthy OSS community guarantees multiple vendors.
36© 2014 Pivotal Software, Inc. All rights reserved.
37© 2014 Pivotal Software, Inc. All rights reserved.
Why would I care?
Installing Cloud Foundry will unlock the value of your
OpenStack investment.
Learning to use Cloud Foundry will move your career back
towards the creation of new business value.
Packaging your software for CF-BOSH will open up the
behind-the-firewall market to your SaaS product.
38© 2014 Pivotal Software, Inc. All rights reserved.
Next steps in the CF + OpenStack world
Deeper Neutron integration
Bunny Breeding Efforts (more and more Rabbits)
Unified Cloud Policy via OpenStack Congress
39© 2014 Pivotal Software, Inc. All rights reserved.
Do this. Now.
Sign up for the CF and BOSH mailing lists.
Learn how to write 12-factor applications.
Come to a free Pivotal Cloud Foundry workshop.
Register for the next Cloud Foundry Summit.
Try out BOSH (http://bosh.io) and CF (http://run.pivotal.io)
41© 2014 Pivotal Software, Inc. All rights reserved.