More Related Content
Similar to Development on cloud_paa_s_sddc_mkim_20141216_final (20)
More from minseok kim (7)
Development on cloud_paa_s_sddc_mkim_20141216_final
- 1. Development on Cloud, PaaS and
SDDC
Kim Min Seok
Sr, Field Engineer
Pivotal Korea
2014.12.18
© 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.
- 2. Agenda
Pivotal’s Vision on SDDC
DevOps and PaaS
PaaS characteristics
Conclusion
© Copyright 2014 Pivotal. All rights reserved.
- 3. PaaS on SDDC
최종 사용자 컴퓨팅!
정책 기반 관리 & 자동화!
© Copyright 2014 Pivotal. All rights reserved.
소프트웨어 정의 데이터센터(Software-Defined Data Center)!
클라우드 자동화 ! 클라우드 운영! 클라우드 비즈니스!
하이브리드 클라우드!
프라이빗
클라우드 !
퍼블릭
클라우드 !
VMware 및
vCloud Data Center 파트너"
가상화 인프라 !
추상화 & 풀링!
!
컴퓨팅 추상화 = "
서버 가상화"
네트워크 추상화 =
가상 네트워킹 "
스토리지 추상화 ="
소프트웨어 정의 스토리지"
애플리케이션!
데스크톱 ! 모바일!
가상 작업공간!
전통적! 현대적! SaaS! Pivotal
3
- 4. Linux for the cloud
New platform for the new era
“We'll see the development and open-source
© Copyright 2014 Pivotal. All rights reserved.
community essentially come up
with Linux for the cloud”
http://www.informationweek.com/cloud/infrastructure-as-a-service/pivotal-ceo-maritz-teases-linux-
for-the-cloud/d/d-id/1111474?
- 5. Pivotal’s Vision
APPS
Speed"
ANALYTICS DATA
The New Middleware The New Database
© Copyright 2014 Pivotal. All rights reserved.
App Fabric!
New user experiences
New business models
New business value
Services
Analy7cs
Language
&
Framework
Data Fabric!
Ingest
&
Query:
in-‐memory
Scale-‐out
storage:
HDFS
Cloud Fabric!
Automa7on:
App
provisioning
&
life-‐cycle
The New Cloud OS
Service
Registry
Cloud
Abstrac7on
...ETC"
SDDC"
Warehouse scale computer"
5
- 6. Agenda
Pivotal’s Vision on SDDC
DevOps and PaaS
PaaS characteristics:
- Orchestration
- Cross-Cloud Portability
- Cluster application
- True Agile Development
Conclusion
© Copyright 2014 Pivotal. All rights reserved.
- 7. 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
© Copyright 2014 Pivotal. All rights reserved. 7
- 8. 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**"
8
- 10. 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
10
- 12. Cloud Foundry Project
Public
Clouds
Open
Source
Private
Clouds
CUSTOM
SERVICES
http://www.cloudfoundry.org
© Copyright 2014 Pivotal. All rights reserved. 12
- 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
Collec7on
Apps
Elastic Runtime
13
- 14. Agenda
Pivotal’s Vision on SDDC
DevOps and PaaS
PaaS characteristics:
Conclusion
© Copyright 2014 Pivotal. All rights reserved.
- 15. New OS and Middleware for cloud
• Cloud Orchestration
• Container orchestration
• Cross-cloud Portability
• Write once, run everywhere
• Cluster application support
• Scale-out architecture
• cluster app development
• Scaling/health-check
• True Agile Development
• DevOps, Parallel activity
• Multiple language support
© Copyright 2014 Pivotal. All rights reserved.
Applications
Pivotal
Software Defined Data Centers
On-Premise
Data Centers
Public Clouds
15
- 16. Cloud timeline
2004
Puppet
2006
AWS 2009
© Copyright 2014 Pivotal. All rights reserved.
DevOps
2010
Cloud Foundry
2010
OpenStack
2008
Chef
2010
Continuous
Delivery
2012
Timeline
2007
Heroku
2008
App Engine
2014
Foundation
16
- 17. Puppet Automates
tool for automating system administration
doesn’t enforce cloud native architecture
© Copyright 2014 Pivotal. All rights reserved.
17
- 20. Agenda
Pivotal’s Vision on SDDC
DevOps and PaaS
PaaS characteristics:
- Orchestration
- Cross-Cloud Portability
- Cluster application
- True Agile Development
Conclusion
© Copyright 2014 Pivotal. All rights reserved.
- 21. Write Once, Run Everywhere
http://www.devmanuals.com/images/images1/6java-cod.gif
http://i.imgur.com/lU30MCv.jpg
© Copyright 2014 Pivotal. All rights reserved.
21
- 22. Write Once, Run Every CLOUD
http://blog.cloudfoundry.com/wp-content/uploads/2012/01/PreviousVsNextGen.png
© Copyright 2014 Pivotal. All rights reserved.
22
- 23. Cross-cloud portability
Deploy App
© Copyright 2014 Pivotal. All rights reserved.
Applications
Open Cloud Platform!
Cross-Cloud Provider Cloud
Interface" Software Defined Data Centers
Portability
Service
Provider
XYZ"
AWS" SP X"
OpenStack" VMWare"
“Bare
Metal” +"
Containers"
On-Premise Data Centers Public Clouds
• Single codebase
• No configuration change
• Cloud agnostics
23
- 24. Agenda
Pivotal’s Vision on SDDC
DevOps and PaaS
PaaS characteristics:
- Orchestration
- Cross-Cloud Portability
- Cluster application
- True Agile Development
Conclusion
© Copyright 2014 Pivotal. All rights reserved.
- 25. Traditional Cluster Application
Needs to consider
• Configuration synchronization
• Health check
• Load balancing
• Scaling
• Monitoring
http://mibuso.com/blogs/mandyk/2009/06/11/how-to-configure-ssl-for-biztalk-https-
receive-port-adapter/
© Copyright 2014 Pivotal. All rights reserved.
25
- 26. Pivotal CF supports
IaaS
Install the
platform
Target multiple
clouds
Handle live upgrades
and updates
Security
Install and manage
services
Scale and
plan capacity
© Copyright 2014 Pivotal. All rights reserved. 26
- 27. Architecture for Cluster application
Cloud
Controller
© Copyright 2014 Pivotal. All rights reserved.
Health
Manager
Routers
Messaging
(NATS)
Software Defined Data Centers
Service
clusters
Service
Pivotal
HD
Service
Jenkins
Service
MySql
DEA
app
app
app
DEA
app
app
app
DEA
app
app
app
app
DEA
app
app
app
DEA
app
app
… …
DEA
Pool
clusters
Cloud
Foundry
BOSH
27
- 28. Built-in Fast App 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
28
- 29. Load Balancing
© Copyright 2014 Pivotal. All rights reserved.
29
myapp.<mycfdomain.com>
Load
Balancer
Router
Router
DEA! DEA! DEA!
Router
Access
App"
DNS!
Pivotal
CF
Elas7c
Run7me
(PaaS)
Load
Balancer
Resolve
app
and
system
domain
names
to
LB
IP
- 30. Built-in 4 Level HA
App Fail"
PCF
A" B" C"
B"
© Copyright 2014 Pivotal. All rights reserved.
Process Fail"
PCF
A" B" C"
Process"
VM1 VM2
VM Fail" Rack Fail"
PCF
A" B" C"
VM1 VM2
3. Resurrector
restarts failed
VMs
OS,"
Mware"
VM3
OS,"
Mware"
OS,"
Mware"
Zone 1
Zone 2
Zone 3
30
- 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. 31
- 33. 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
Ÿ Application Profiling
Spring-insight
Image credit: http://imgarcade.com/1/fire-hose-spraying-fire/
© Copyright 2014 Pivotal. All rights reserved.
33
- 34. Agenda
Pivotal’s Vision on SDDC
DevOps and PaaS
PaaS characteristics:
- Orchestration
- Cross-Cloud Portability
- Cluster application
- True Agile Development
Conclusion
© Copyright 2014 Pivotal. All rights reserved.
- 35. 10x Increase in Speed"
Deploy App
Cloud
Controller
Health
Manager
NATS
(message
bus)
Router
App Deployed
Application Zone
© Copyright 2014 Pivotal. All rights reserved. 35
- 36. Pivotal CF: From 50 touch points to 1
1 2 4 4 40 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
36
- 37. Governance App Development Framework
app dev in large organizations has a tendency to be all over the place;
PaaS enables you to enforce the same app dev policies and procedures
across languages and frameworks
Your application
App Server
Runtime
Operating System
© Copyright 2014 Pivotal. All rights reserved.
Libraries
Buildpack
IAAS!
App Servers Frameworks
JREs
Java Buildpack
http://intelmicrosite.idg.co.uk/cmsdata/features/3401344/
Internet_istock_thumb300.jpg
37
- 38. Large Buildpack Community
Built-in Community
6"
24" 37"
Jetty
Virgo
Clojure
Haskell
Mono
Jboss
Websphere
Erlang
nginx
https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks
Third party
C
Lisp
Dart
Elixir
Emacs
Erlang
Factor
Fakesu
Lua
.NET
Null
Perl
R
Sphinx
PhantoJS
© Copyright 2014 Pivotal. All rights reserved. 38
- 40. Cloud Foundry Plugin
© Copyright 2014 Pivotal. All rights reserved.
Pivotal CF
Cloud
Contro
ller
Health
Manage
r
NATS
(message
bus)
Router
Developer support
40
- 41. 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
Notifications
41
- 42. Simple & Fast Service creation"
Cloud
Controller
Health
Manager
NATS
(message
bus)
Router
Application Zone
Service Zone
$ cf create-service p-mysql .. mydb
$ cf bind-service myapp mydb
$ cf restage myapp
© Copyright 2014 Pivotal. All rights reserved. 42
- 44. Agile Development requires Lots of VMs
requires separate Clusters for each Build and test
http://www.infoq.com/news/2012/04/Branching-Guide
© Copyright 2014 Pivotal. All rights reserved.
Dev team1
Dev team2,3
(shared)
Staging
(shared)
Release
debug
Release
build
Release
debug
44
- 45. True Parallel Development
Turns Agile development into true Parallel activity
http://www.infoq.com/news/2012/04/Branching-Guide
© Copyright 2014 Pivotal. All rights reserved.
Dev
DEA
Pool
clusters
Service
clusters
Stage
DEA
Pool
clusters
Service
clusters
45
- 46. Application patterns are changing
Decomposing by functionality
Micro Services increase/support
• Availability
• Polyglot: Multiple language
• Parallel development
• Easy to understand services
• Easy to maintain services
http://microservices.io/patterns/microservices.html
© Copyright 2014 Pivotal. All rights reserved.
46
- 47. Micro Services
Decomposing by functionality
PaaS supports deployment complexity of services
Monolithic/Layered
© Copyright 2014 Pivotal. All rights reserved.
Micro
services
47
- 48. Agenda
Pivotal’s Vision on SDDC
DevOps and PaaS
PaaS characteristics:
- Orchestration
- Cross-Cloud Portability
- Cluster application
- True Agile Development
Conclusion
© Copyright 2014 Pivotal. All rights reserved.
- 49. How to Get There With Cloud+ PaaS
Cloud PaaS Dev PaaS 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
49
- 50. Agile Enterprise with Pivotal CF
© Copyright 2014 Pivotal. All rights reserved.
APPS
Speed"
ANALYTICS DATA
DevOps Continuous Delivery
New user experiences
New Cluster business enabled Application
models
New business value
The New Cloud OS Pivotal
...ETC"
SDDC"
Warehouse scale computer"
50
- 51. Pivotal Web Services for developer
© Copyright 2014 Pivotal. All rights reserved.
http://run.pivotal.io
https://github.com/cloudfoundry-samples
- 52. © Copyright 2014 Pivotal. © Copyright 2014 Pivotal. AAllll rriigghhttss rreesseerrvveedd..
A NEW PLATFORM FOR A NEW ERA