BUILT FOR THE SPEED OF BUSINESS
© Copyright 2015 Pivotal. All rights reserved.
Open Source for
PaaS: Why it's Hot
Cloud Foundry for Openstack
Hakchin Kim, Pivotal Korea
2015.02.05
© Copyright 2015 Pivotal. All rights reserved.
3
Pivotal Overview
Agenda
1. Open source 복습
2. PaaS
3. Cloud Foundry & Openstack
4. Open Source PaaS support Open Source
© Copyright 2015 Pivotal. All rights reserved.
4
Open Source 복습
© Copyright 2015 Pivotal. All rights reserved.
5
The Open Source Way
From Redhat website,…
– 자유롭게 코드보기
– 자유롭게 공부하기
– 자유롭게 질문하기
– 자유롭게 개선하기
Open Source 복습
오픈 소스(open source)는 제작자의 권리를 지키면서 원시 코드를 누구나 열람할 수 있도록 한
소프트웨어 혹은 오픈 소스 라이선스에 준하는 모든 통칭을 일컫는다.
© Copyright 2015 Pivotal. All rights reserved.
6
Open Source 가 기업에도 중요한 이유들
Cost Saving
– 심지어는 Redhat, Suse, Pivotal,… 등으로 부터 Enterprise Model을 사용시에도.
Quality
– Open Source 코드의 품질은 수많은 개발자들의 기여, 검토, 테스트로 부터 완성되며,
매우 견고한 코드를 생산해 냅니다.
– 공개된 표준에 맞추어 호환성을 유지
– 기술 공개 및 검증의 자유로움
Open source mitigates business risk
– 상업용제품은 오직 비즈니스 논리에 따라 코드관리가 중단 될 수 있지만 Open
source는 자발적 참여자와 Community 에 의하여 보다 지속적으로 지원된다.
– Open source는 벤더 제품의 종속을 피할 수 있다. (No vendor lock-in)
Open Source 복습
© Copyright 2015 Pivotal. All rights reserved.
7
PaaS
© Copyright 2015 Pivotal. All rights reserved.
8
Consumer Expectations drive New Software
Patterns
Changing development and release disciplines
– Agile
– DevOps
– Continuous Delivery
PaaS
TIME
EXPECTATIONS INNOVATION GAP
IaaS
Automation
DevOps, CD, Agile
Trad’l IT
Startups
Enterprise
PaaS
© Copyright 2015 Pivotal. All rights reserved.
9
Traditional App Lifecycle: Results in Lost Revenue
Release timeframes measured in months
Typical deployment 75 steps, 9% automated*
Lost Revenue Opportunity
PaaS
* Intel and Rakuten sponsored study
Developer Operator
Months
Scale and Run
WeeksWeeks
Infrastructure MiddlewareApp
Weeks
© Copyright 2015 Pivotal. All rights reserved.
10
Rapid Innovation Requires a Combined Approach
PaaS
 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
© Copyright 2015 Pivotal. All rights reserved.
11
The Power of PaaS (On Premise & Off Premise)
PaaS
Traditional IT
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
YouManage
O/S
IaaS
Storage
Servers
Networking
Middleware
Virtualization
Data
Applications
Runtime
YouManage
IaaS
O/S
PaaS
Storage
Servers
Networking
Middleware
Virtualization
Data
Applications
Runtime
Cloud
Foundry
+
Choice of
IaaS
Business Value, Agility
& Cost Savings
You
Manage
© Copyright 2015 Pivotal. All rights reserved.
12
PaaS : Cloud Foundry
IaaS : Any
PaaS is the Operating System of the IaaS
PaaS
Cloud Provider Interface
Your Apps
Runtime Service
© Copyright 2015 Pivotal. All rights reserved.
13
PaaS 몇 가지 요건들
개방성과 지원 다양성 - PaaS 그 자체가 Open source 이자 Open
source 를 적극 지원해야 한다.
– 다양한 언어의 지원
– 최신 기술 수용
지속성 - PaaS는 IaaS의 OS 이다. 따라서 강력한 커뮤너티의
후원을 받아야 하며, 동시에 파편화 현상이 방지되어야 한다.
– 초기 Linux는 파편화 현상이 많이 발생
독립성(범용성) - IaaS Independent, Java, .Net, Docker 등
모두 수용
Standard - 다양한 OSS 커뮤너티의 OSS Product이 활용되는
범용적 cloud consumption engine 이어야 한다.
– No Lock-in
PaaS
© Copyright 2015 Pivotal. All rights reserved.
14
PaaS 몇 가지 요건들
PaaS
PaaS는 IaaS가 아니다.
적합한 PaaS의 Runtime 적절치 못한 PaaS의 Runtime
Lightweight containers, seconds
to thousands of instances
Heavy VM overhead and waste, several
minutes to change scale
12 Factor Compliant Bindings Some in-app configuration files
Built-in logging Retrieve logs from each VM..
Instant Blue/Green updates DNS changes, Downtime, in hours
Any cloud Specific cloud only
© Copyright 2015 Pivotal. All rights reserved.
15
Cloud Foundry &
Openstack
© Copyright 2015 Pivotal. All rights reserved.
16
…This Time Around
Cloud Foundry & Openstack
Timing Rapid push to launch and open source early
Business
Motivation
Create a new open community and build a
new company around it
License Apache 2, Industry standard
Self Interest
Leap of faith to make CF OSS bloom and find
the right business along the way--CF
Foundation
Collaboration Github, Dojo and Community Pairs…
Outcome Looking bright …
© Copyright 2015 Pivotal. All rights reserved.
17
Cloud Foundry는 Openstack을 강력히 지원합니다
Cloud Foundry & Openstack
© Copyright 2015 Pivotal. All rights reserved.
18
Open
Source
AWSOpenStackVMWare
CUSTOM
SERVICES
CUSTOM
RUNTIMES
CPI, Buildpack, Service 구성요소로 PaaS 제공
Cloud Foundry & Openstack
특정 IaaS, 언어/프레임워크, Application Service에 대한 Lock-In 배제, 완벽한 개방성 제공.
개방성을 위하여 추가로 개발하여 통합 가능한 CPI, Buildpack, Service 라는 표준 매카니즘 제공.
출처: Pivotal
© Copyright 2015 Pivotal. All rights reserved.
19
Abstracting and Standardize
Cloud Foundry & Openstack
Runtime/Frameworks
Buildpacks Service Brokers
… and Custom Runtimes … and Custom Services
Cloud
Provider
Interface
(CPI)
App ServicesClouds
… and Custom Clouds
Open Source
© Copyright 2015 Pivotal. All rights reserved.
20
Largest Language support
Cloud Foundry & Openstack
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
24 37
C
Lisp
Dart
Elixir
Emacs
Erlang
Factor
Fakesu
Lua
.NET
Null
Perl
R
Sphinx
PhantoJS
© Copyright 2015 Pivotal. All rights reserved.
21
Cloud Foundry Architecture
Cloud Foundry & Openstack
components
Dynamic Router
Cloud Controller
UAA/Login Servers Health Manager
DEA PoolService Broker Node(s)
User Provided
Service Instances
Messaging (NATS)
Apps
Cloud Foundry BOSH
Build Packs
Logging
PaaS
Internet
Infrastructure
© Copyright 2015 Pivotal. All rights reserved.
22
Cloud Provider Interface
Cloud Foundry & Openstack
IaaS Neutral
...ETC
Dynamic Router
Cloud Controller
UAA/Login Servers Health Manager
DEA PoolService Broker Node(s)
User Provided
Service Instances
Messaging (NATS)
Apps
Cloud Foundry BOSH
Build Packs
Logging
DISK
VM
Binary
CPI
© Copyright 2015 Pivotal. All rights reserved.
23
Buildpacks
Cloud Foundry & Openstack
Runtimes FrameworksContainers
© Copyright 2015 Pivotal. All rights reserved.
24
Service Broker API
Cloud Foundry & Openstack
Architecture
Service Broker API ServiceCloud Foundry
© Copyright 2015 Pivotal. All rights reserved.
25
Management Productivity
Cloud Foundry & Openstack
target <my cloud>
push <my app>
create <my services>
bind <my services>
scale <my app> +100
Cloud Deployment: 2-4 hours App Deployment: 30-90 seconds
DeveloperOperator
cf-iaas.yml
provision <my cloud>
add_capacity <my cloud>
© Copyright 2015 Pivotal. All rights reserved.
26
Open Source PaaS
support Open Source
© Copyright 2015 Pivotal. All rights reserved.
27
OPEN SOURCE
IS THE NEW
OPEN STANDARD
© Copyright 2015 Pivotal. All rights reserved.
28
NO ONE WANTS
TO BE LOCKED IN
© Copyright 2015 Pivotal. All rights reserved.
29
STRATEGIC
OPEN SOURCE
© Copyright 2015 Pivotal. All rights reserved.
30
Open Source at Pivotal
Open Source PaaS support Open Source
© Copyright 2015 Pivotal. All rights reserved.
31
Cloud Foundry Open Source Dojo
Open Source PaaS support Open Source
Collaboration
 Pair programing with IBM,
SAP, Swisscom, Altoros,
Cloud Credo: all send
developers to San Francisco
HQ of Pivotal for intensive 8
week residencies
 Work directly on the CF OSS
engineering team and
innovate together with us
© Copyright 2015 Pivotal. All rights reserved.
32
Software is Eating the World: You need PaaS
Developer Agility: End-to-end platform where cloud
services enable them to build and update applications
easily
Operational Agility: Built-in operational benefits to de-
risk new projects: HA, logging, APM, auditability, ID
integration, etc..
Choice of Infrastructure: Optimize efficiency, cost,
geographic distribution, capacity planning and regulatory
compliance
Open Source PaaS support Open Source
© Copyright 2015 Pivotal. All rights reserved.
33
Linux Foundation 의 지원
Open Source PaaS support Open Source
Linux Foundation takes over operations of Cloud Foundry
Foundation. Dec 11, 2014
Linux Foundation의 공식지원 PaaS
파편화 현상 적극 통제등 Linux
Foundation Level 에서 관리됨
© Copyright 2015 Pivotal. All rights reserved.
34
Open Source PaaS support Open Source
Cloud Foundry Foundation - Largest Open PaaS Ecosystem
Cloud foundry is the linux of the PaaS
A NEW PLATFORM FOR A NEW ERA
A NEW PLATFORM FOR A NEW ERA

[OpenStack Day in Korea 2015] Track 2-2 - OpenStack for PaaS: Why it's Hot

  • 1.
    BUILT FOR THESPEED OF BUSINESS
  • 2.
    © Copyright 2015Pivotal. All rights reserved. Open Source for PaaS: Why it's Hot Cloud Foundry for Openstack Hakchin Kim, Pivotal Korea 2015.02.05
  • 3.
    © Copyright 2015Pivotal. All rights reserved. 3 Pivotal Overview Agenda 1. Open source 복습 2. PaaS 3. Cloud Foundry & Openstack 4. Open Source PaaS support Open Source
  • 4.
    © Copyright 2015Pivotal. All rights reserved. 4 Open Source 복습
  • 5.
    © Copyright 2015Pivotal. All rights reserved. 5 The Open Source Way From Redhat website,… – 자유롭게 코드보기 – 자유롭게 공부하기 – 자유롭게 질문하기 – 자유롭게 개선하기 Open Source 복습 오픈 소스(open source)는 제작자의 권리를 지키면서 원시 코드를 누구나 열람할 수 있도록 한 소프트웨어 혹은 오픈 소스 라이선스에 준하는 모든 통칭을 일컫는다.
  • 6.
    © Copyright 2015Pivotal. All rights reserved. 6 Open Source 가 기업에도 중요한 이유들 Cost Saving – 심지어는 Redhat, Suse, Pivotal,… 등으로 부터 Enterprise Model을 사용시에도. Quality – Open Source 코드의 품질은 수많은 개발자들의 기여, 검토, 테스트로 부터 완성되며, 매우 견고한 코드를 생산해 냅니다. – 공개된 표준에 맞추어 호환성을 유지 – 기술 공개 및 검증의 자유로움 Open source mitigates business risk – 상업용제품은 오직 비즈니스 논리에 따라 코드관리가 중단 될 수 있지만 Open source는 자발적 참여자와 Community 에 의하여 보다 지속적으로 지원된다. – Open source는 벤더 제품의 종속을 피할 수 있다. (No vendor lock-in) Open Source 복습
  • 7.
    © Copyright 2015Pivotal. All rights reserved. 7 PaaS
  • 8.
    © Copyright 2015Pivotal. All rights reserved. 8 Consumer Expectations drive New Software Patterns Changing development and release disciplines – Agile – DevOps – Continuous Delivery PaaS TIME EXPECTATIONS INNOVATION GAP IaaS Automation DevOps, CD, Agile Trad’l IT Startups Enterprise PaaS
  • 9.
    © Copyright 2015Pivotal. All rights reserved. 9 Traditional App Lifecycle: Results in Lost Revenue Release timeframes measured in months Typical deployment 75 steps, 9% automated* Lost Revenue Opportunity PaaS * Intel and Rakuten sponsored study Developer Operator Months Scale and Run WeeksWeeks Infrastructure MiddlewareApp Weeks
  • 10.
    © Copyright 2015Pivotal. All rights reserved. 10 Rapid Innovation Requires a Combined Approach PaaS  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
  • 11.
    © Copyright 2015Pivotal. All rights reserved. 11 The Power of PaaS (On Premise & Off Premise) PaaS Traditional IT Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime YouManage O/S IaaS Storage Servers Networking Middleware Virtualization Data Applications Runtime YouManage IaaS O/S PaaS Storage Servers Networking Middleware Virtualization Data Applications Runtime Cloud Foundry + Choice of IaaS Business Value, Agility & Cost Savings You Manage
  • 12.
    © Copyright 2015Pivotal. All rights reserved. 12 PaaS : Cloud Foundry IaaS : Any PaaS is the Operating System of the IaaS PaaS Cloud Provider Interface Your Apps Runtime Service
  • 13.
    © Copyright 2015Pivotal. All rights reserved. 13 PaaS 몇 가지 요건들 개방성과 지원 다양성 - PaaS 그 자체가 Open source 이자 Open source 를 적극 지원해야 한다. – 다양한 언어의 지원 – 최신 기술 수용 지속성 - PaaS는 IaaS의 OS 이다. 따라서 강력한 커뮤너티의 후원을 받아야 하며, 동시에 파편화 현상이 방지되어야 한다. – 초기 Linux는 파편화 현상이 많이 발생 독립성(범용성) - IaaS Independent, Java, .Net, Docker 등 모두 수용 Standard - 다양한 OSS 커뮤너티의 OSS Product이 활용되는 범용적 cloud consumption engine 이어야 한다. – No Lock-in PaaS
  • 14.
    © Copyright 2015Pivotal. All rights reserved. 14 PaaS 몇 가지 요건들 PaaS PaaS는 IaaS가 아니다. 적합한 PaaS의 Runtime 적절치 못한 PaaS의 Runtime Lightweight containers, seconds to thousands of instances Heavy VM overhead and waste, several minutes to change scale 12 Factor Compliant Bindings Some in-app configuration files Built-in logging Retrieve logs from each VM.. Instant Blue/Green updates DNS changes, Downtime, in hours Any cloud Specific cloud only
  • 15.
    © Copyright 2015Pivotal. All rights reserved. 15 Cloud Foundry & Openstack
  • 16.
    © Copyright 2015Pivotal. All rights reserved. 16 …This Time Around Cloud Foundry & Openstack Timing Rapid push to launch and open source early Business Motivation Create a new open community and build a new company around it License Apache 2, Industry standard Self Interest Leap of faith to make CF OSS bloom and find the right business along the way--CF Foundation Collaboration Github, Dojo and Community Pairs… Outcome Looking bright …
  • 17.
    © Copyright 2015Pivotal. All rights reserved. 17 Cloud Foundry는 Openstack을 강력히 지원합니다 Cloud Foundry & Openstack
  • 18.
    © Copyright 2015Pivotal. All rights reserved. 18 Open Source AWSOpenStackVMWare CUSTOM SERVICES CUSTOM RUNTIMES CPI, Buildpack, Service 구성요소로 PaaS 제공 Cloud Foundry & Openstack 특정 IaaS, 언어/프레임워크, Application Service에 대한 Lock-In 배제, 완벽한 개방성 제공. 개방성을 위하여 추가로 개발하여 통합 가능한 CPI, Buildpack, Service 라는 표준 매카니즘 제공. 출처: Pivotal
  • 19.
    © Copyright 2015Pivotal. All rights reserved. 19 Abstracting and Standardize Cloud Foundry & Openstack Runtime/Frameworks Buildpacks Service Brokers … and Custom Runtimes … and Custom Services Cloud Provider Interface (CPI) App ServicesClouds … and Custom Clouds Open Source
  • 20.
    © Copyright 2015Pivotal. All rights reserved. 20 Largest Language support Cloud Foundry & Openstack 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 24 37 C Lisp Dart Elixir Emacs Erlang Factor Fakesu Lua .NET Null Perl R Sphinx PhantoJS
  • 21.
    © Copyright 2015Pivotal. All rights reserved. 21 Cloud Foundry Architecture Cloud Foundry & Openstack components Dynamic Router Cloud Controller UAA/Login Servers Health Manager DEA PoolService Broker Node(s) User Provided Service Instances Messaging (NATS) Apps Cloud Foundry BOSH Build Packs Logging PaaS Internet Infrastructure
  • 22.
    © Copyright 2015Pivotal. All rights reserved. 22 Cloud Provider Interface Cloud Foundry & Openstack IaaS Neutral ...ETC Dynamic Router Cloud Controller UAA/Login Servers Health Manager DEA PoolService Broker Node(s) User Provided Service Instances Messaging (NATS) Apps Cloud Foundry BOSH Build Packs Logging DISK VM Binary CPI
  • 23.
    © Copyright 2015Pivotal. All rights reserved. 23 Buildpacks Cloud Foundry & Openstack Runtimes FrameworksContainers
  • 24.
    © Copyright 2015Pivotal. All rights reserved. 24 Service Broker API Cloud Foundry & Openstack Architecture Service Broker API ServiceCloud Foundry
  • 25.
    © Copyright 2015Pivotal. All rights reserved. 25 Management Productivity Cloud Foundry & Openstack target <my cloud> push <my app> create <my services> bind <my services> scale <my app> +100 Cloud Deployment: 2-4 hours App Deployment: 30-90 seconds DeveloperOperator cf-iaas.yml provision <my cloud> add_capacity <my cloud>
  • 26.
    © Copyright 2015Pivotal. All rights reserved. 26 Open Source PaaS support Open Source
  • 27.
    © Copyright 2015Pivotal. All rights reserved. 27 OPEN SOURCE IS THE NEW OPEN STANDARD
  • 28.
    © Copyright 2015Pivotal. All rights reserved. 28 NO ONE WANTS TO BE LOCKED IN
  • 29.
    © Copyright 2015Pivotal. All rights reserved. 29 STRATEGIC OPEN SOURCE
  • 30.
    © Copyright 2015Pivotal. All rights reserved. 30 Open Source at Pivotal Open Source PaaS support Open Source
  • 31.
    © Copyright 2015Pivotal. All rights reserved. 31 Cloud Foundry Open Source Dojo Open Source PaaS support Open Source Collaboration  Pair programing with IBM, SAP, Swisscom, Altoros, Cloud Credo: all send developers to San Francisco HQ of Pivotal for intensive 8 week residencies  Work directly on the CF OSS engineering team and innovate together with us
  • 32.
    © Copyright 2015Pivotal. All rights reserved. 32 Software is Eating the World: You need PaaS Developer Agility: End-to-end platform where cloud services enable them to build and update applications easily Operational Agility: Built-in operational benefits to de- risk new projects: HA, logging, APM, auditability, ID integration, etc.. Choice of Infrastructure: Optimize efficiency, cost, geographic distribution, capacity planning and regulatory compliance Open Source PaaS support Open Source
  • 33.
    © Copyright 2015Pivotal. All rights reserved. 33 Linux Foundation 의 지원 Open Source PaaS support Open Source Linux Foundation takes over operations of Cloud Foundry Foundation. Dec 11, 2014 Linux Foundation의 공식지원 PaaS 파편화 현상 적극 통제등 Linux Foundation Level 에서 관리됨
  • 34.
    © Copyright 2015Pivotal. All rights reserved. 34 Open Source PaaS support Open Source Cloud Foundry Foundation - Largest Open PaaS Ecosystem Cloud foundry is the linux of the PaaS
  • 35.
    A NEW PLATFORMFOR A NEW ERA A NEW PLATFORM FOR A NEW ERA