SlideShare uma empresa Scribd logo
1 de 37
Baixar para ler offline
Transforming Your Business
Technical Point of View
Yitao Jiang
jiangyt.cn@gmail.com
Agenda
➢ Cloudfoundry Introduction
➢ Architecture
➢ Runtime
➢ Services
➢ Scaling
➢ Demo
2
PaaS发展经历的阶段
第一阶段: SaaS/IaaS的向下
/向上扩展,PaaS萌芽期
第二阶段: 基于容器技术、针
对原生云应用的PaaS平台快
速发展
第三阶段
❏ 2007年force.com发布
❏ 2008年4月 GAE Beta预览版发
布
❏ 2010 Heroku 被salesforce.com
收购
❏ 2010.2 Windows Azure发布
❏ 2011 Wmware 宣布
Cloudfoundry 开源项目
❏ 2011 Redhat 宣布openshift 开
源项目
❏ 2013.3 Netflix 发布 Netflix OSS
cloud Prize
❏ 2013.11Pivotal 发布企业版
❏ 2013.12 dotcloud改名为Docker
❏ 2014.2 Cloudfoundry 基金会成
立
❏ 2014.2 GAE 支持Managed VM
❏ 2014.4 IBM Bluemix 发布
❏ 与IaaS/SaaS的深度融合
❏ 企业应用, 混合云
3
传统的3层架构模型
3-Tier Shared Nothing Architecture
● Most Common Archiecture, widely deployed
4
Micro-service 架构
● All is API
● Build large systems
composed by small
services that encapsulate
the functionality
corresponding to a single
feature
● Simple
5
I Know them
but who cares
6
*-aaS
7
工作流程
● have a good idea
● request a server
● get a purchase order
● wait
● wait
● server arrives
● server get power and network
● server get OS
● start to config and deploy
Developer
I
a
a
S
8
工作流程
● keep systems running
● don’t care about your application
● not paid to care
● people waiting for their servers
● might have to worry about other
servers
● and emails
● and printers
The System Admin
9
为什么需要PaaS?
PaaS makes it easier to to develop,
run and scale applications.
A growing number of businesses:
● transitioning from packaged
software to cloud-based services
● adding analytics, db services and
multiple services to their products
PaaS technology supports a variety of
clouds, application styles and services.
10
PaaS ?
A PaaS provides ready-to-use-libraries,tools and
services, such as databases, security, user
management, monitoring and analytics, which can
be easily integrated with the applications you are
developing.
PaaS can support applications written different in
frameworks for a wide variety of programming
languages, such as Java, Python, Ruby, .NET,etc.
11
Architecture
12
Components
13
Router
● Proxy
● All traffic
● Access logs
● Load Balancing
● Routing Scheduler
14
Uaa
● Authentication/Authorization
● Oauth2
15
Loginserver
● standard JEE servlet application
● Just Login
● Easy Integration
● LDAP
● SAML
16
CC
The Cloud Controller is responsible for managing
the lifecycle of applications. When a developer
pushes an application to Cloud Foundry, she is
targeting the Cloud Controller. The Cloud Controller
then stores the raw application bits, creates a
record to track the application metadata, and directs
a DEA node to stage and run the application. The
Cloud Controller also maintains records of orgs,
spaces, services, service instances, user roles, and
more
17
Blobstore
The Cloud Controller manages a blob store for the
following:
Resources: Files that are uploaded to the Cloud Controller with a
unique SHA such that they can be reused without re-uploading the
file
App Packages: Unstaged files that represent an application
Droplets: Result of taking an app package, staging it by processing
a buildpack, and preparing it to run
18
DEA
● The Droplet Execution Agent manages application
instances, tracks started instances, and broadcasts
state messages.
● Application instances live inside Warden containers.
Containerization ensures that application instances
run in isolation, get their fair share of resources,
and are protected from noisy neighbors.
19
Runtime/Buildpack
● What you code run with
and depend on
● tomcat
● jdk
● weblogic
● python
● ...
20
How Application Run
● Container(Warden)
● Applications running in a stack with a prebuilt root filesystem (rootfs) which
works in tandem with a buildpack
● Code + Runtime + Dependency
21
Platform
Your
Push 流程
22
Services and Service Instances
Cloud Foundry offers a marketplace of services, from which users can provision
reserved resources on-demand. Examples of resources services provide
include databases on a shared or dedicated server. These resources are
known as Service Instances and the systems that deliver and operate these
resources are known as Services. Think of a service as a factory that delivers
service instances
23
How CF Work with Service
24
Mysql Service
25
Service 定义流程
Develop the broker program
● Push package to CF
cf push testbroker -p testbroker.war
url: http://testbroker.xxx.com
● Register the Broker
cf create-service-broker testbroker username password http://testbroker.xxx.com
● Enable the Broker
cf service-access
cf enable-service-access test-service -p small
26
如何使用?
cf push testapp -p HelloWorldJavaWeb.war
cf create-service MysqlService free testservice
cf bind-service testapp testservice
cf restage testapp
access the application
27
Scaling
Vertical Scaling
Vertical scaling is often referred to as scaling up. Vertical scaling increases the resources available
to an application by adding the capacity directly to the individual nodes.
28
Scaling
Horizontal Scaling
Horizontal scaling is often referred to as scaling out. The overall application resource capacity grows
by adding entire nodes.
29
Orgs, Spaces, Roles, and Permissions
Cloud Foundry uses role-based access control (RBAC), with each role granting permissions in
either an org or a space
Orgs
An org is a development account that an individual or multiple collaborators can own and use. All collaborators access an
org with user accounts. Collaborators in an org share a resource quota plan, applications, services availability, and custom
domains.
User Accounts
A user account represents an individual person within the context of a Cloud Foundry installation. A user can have different
roles in different spaces within an org, governing what level and type of access they have within that space.
Spaces
Every application and service is scoped to a space. Each org contains at least one space. A space provides a set of users
access to a shared location for application development, deployment, and maintenance. Each space role applies only to a
particular space.
30
Orgs, Spaces, Roles, and Permissions(Cont.)
Roles and Permissions
A user can have one or more roles. The combination of these roles defines the user’s overall permissions in the org and
within specific spaces in that org.
Org Roles and Permissions
Org Manager
Assign this role to managers or other users who need to administer the account.
An Org Manager can:
● Add and manage users
● View users and edit org roles
● View the org quota
● Create, view, edit, and delete spaces
● Invite and manage users in spaces
● View the status, number of instances, service bindings, and resource use of each application in every space in the
org
● Add domains
31
Orgs, Spaces, Roles, and Permissions(Cont.)
Note: An Org Manager needs explicit administrator permissions to perform certain actions. Refer to the Creating and
Managing Users with the UAA CLI (UAAC) topic to learn how to create a user with admin rights.
Org Auditor
Assign this role to people who need to view but not edit user information and org quota usage information.
An Org Auditor can:
● View users and org roles
● View the org quota
Space Roles and Permissions
Space Manager
Assign this role to managers or other users who need to administer a space.
A Space Manager can:
● Add and manage users in the space
● View the status, number of instances, service bindings, and resource use of each application in the space
32
Orgs, Spaces, Roles, and Permissions(Cont.)
Space Developer
Assign this role to application developers or other users who need to manage applications and services in a space.
A Space Developer can:
● Deploy an application
● Start or stop an application
● Rename an application
● Delete an application
● Create, view, edit, and delete services in a space
● Bind or unbind a service to an application
● Rename a space
● View the status, number of instances, service bindings, and resource use of each application in the space
● Change the number of instances, memory allocation, and disk limit of each application in the space
● Associate an internal or external URL with an application
Space Auditor
Assign this role to people who need to view but not edit the space.
A Space Auditor can:
● View the status, number of instances, service bindings, and resource use of each application in the space 33
Security
➢ IaaS
○ security group
○ FWaaS
➢ CF
○ security group
■ dea iptable rules
34
Perspective on DevOps
DevOps is all about:
➢ Automating complex IT
processes
➢ With Full visibility and control
35
PaaS on vmware
All components run in vm
2 compute servers (minimum)
N+1 compute servers to support single compute node failure
Active environment consumption: (128GB application pool)
● Total physical Cores: 32 @2.0+ GHZ each (need more cores on OpenStack vs VMware ~2x)
● Total physical RAM: 512GB
● Total datastore size: 3.5TB (when using multiple datastores, use an identical prefix)
● Networking (similar configuration…….different details)
● Minimum: One port group with outbound internet access and inbound access from the customer network.
Will need 10 customer network IP’s
● Preferred: One additional port group that is private, only the ESXi’s in the cluster are able to communicate
across it.
36
37

Mais conteúdo relacionado

Mais procurados

Cloud foundry architecture and deep dive
Cloud foundry architecture and deep diveCloud foundry architecture and deep dive
Cloud foundry architecture and deep diveAnimesh Singh
 
Cloud Foundry Introduction and Overview
Cloud Foundry Introduction and OverviewCloud Foundry Introduction and Overview
Cloud Foundry Introduction and OverviewAndy Piper
 
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...VMware Tanzu
 
Automated Lifecycle Management - CloudFoundry on OpenStack
Automated Lifecycle Management - CloudFoundry on OpenStackAutomated Lifecycle Management - CloudFoundry on OpenStack
Automated Lifecycle Management - CloudFoundry on OpenStackAnimesh Singh
 
Cloud foundry presentation
Cloud foundry presentation Cloud foundry presentation
Cloud foundry presentation Vivek Parihar
 
Cloud Foundry for PHP developers
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developersDaniel Krook
 
Cloud Foundry a Developer's Perspective
Cloud Foundry a Developer's PerspectiveCloud Foundry a Developer's Perspective
Cloud Foundry a Developer's PerspectiveDave McCrory
 
Pivotal cf for_devops_mkim_20141209
Pivotal cf for_devops_mkim_20141209Pivotal cf for_devops_mkim_20141209
Pivotal cf for_devops_mkim_20141209minseok kim
 
Cloudfoundry architecture
Cloudfoundry architectureCloudfoundry architecture
Cloudfoundry architectureRamnivas Laddad
 
Pivotal cloud foundry introduction
Pivotal cloud foundry introductionPivotal cloud foundry introduction
Pivotal cloud foundry introductionGaurav Shukla
 
V mware white paper virtualizing business-critical applications with confidence
V mware white paper  virtualizing business-critical applications with confidenceV mware white paper  virtualizing business-critical applications with confidence
V mware white paper virtualizing business-critical applications with confidenceReadWrite
 
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamicsMonitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamicsNima Badiey
 
Multi-Cloud Micro-Services with CloudFoundry
Multi-Cloud Micro-Services with CloudFoundryMulti-Cloud Micro-Services with CloudFoundry
Multi-Cloud Micro-Services with CloudFoundrygeekclub888
 
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Cloud Foundry and Microservices: A Mutualistic Symbiotic RelationshipCloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Cloud Foundry and Microservices: A Mutualistic Symbiotic RelationshipMatt Stine
 
Cloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopCloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopManuel Garcia
 
Migrate Heroku & OpenShift Applications to IBM BlueMix
Migrate Heroku & OpenShift Applications to IBM BlueMixMigrate Heroku & OpenShift Applications to IBM BlueMix
Migrate Heroku & OpenShift Applications to IBM BlueMixRohit Kelapure
 
What's new in Pivotal Cloud Foundry 1.6
What's new in Pivotal Cloud Foundry 1.6What's new in Pivotal Cloud Foundry 1.6
What's new in Pivotal Cloud Foundry 1.6dektlong
 
Cloud Foundry Anniversary: Technical Slides
Cloud Foundry Anniversary: Technical Slides Cloud Foundry Anniversary: Technical Slides
Cloud Foundry Anniversary: Technical Slides marklucovsky
 

Mais procurados (20)

Cloud foundry
Cloud foundryCloud foundry
Cloud foundry
 
Cloud foundry architecture and deep dive
Cloud foundry architecture and deep diveCloud foundry architecture and deep dive
Cloud foundry architecture and deep dive
 
Cloud Foundry Introduction and Overview
Cloud Foundry Introduction and OverviewCloud Foundry Introduction and Overview
Cloud Foundry Introduction and Overview
 
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
 
Automated Lifecycle Management - CloudFoundry on OpenStack
Automated Lifecycle Management - CloudFoundry on OpenStackAutomated Lifecycle Management - CloudFoundry on OpenStack
Automated Lifecycle Management - CloudFoundry on OpenStack
 
Cloud foundry presentation
Cloud foundry presentation Cloud foundry presentation
Cloud foundry presentation
 
Cloud Foundry for PHP developers
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developers
 
Cloud Foundry a Developer's Perspective
Cloud Foundry a Developer's PerspectiveCloud Foundry a Developer's Perspective
Cloud Foundry a Developer's Perspective
 
Pivotal cf for_devops_mkim_20141209
Pivotal cf for_devops_mkim_20141209Pivotal cf for_devops_mkim_20141209
Pivotal cf for_devops_mkim_20141209
 
Cloudfoundry architecture
Cloudfoundry architectureCloudfoundry architecture
Cloudfoundry architecture
 
Pivotal cloud foundry introduction
Pivotal cloud foundry introductionPivotal cloud foundry introduction
Pivotal cloud foundry introduction
 
V mware white paper virtualizing business-critical applications with confidence
V mware white paper  virtualizing business-critical applications with confidenceV mware white paper  virtualizing business-critical applications with confidence
V mware white paper virtualizing business-critical applications with confidence
 
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamicsMonitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
 
Multi-Cloud Micro-Services with CloudFoundry
Multi-Cloud Micro-Services with CloudFoundryMulti-Cloud Micro-Services with CloudFoundry
Multi-Cloud Micro-Services with CloudFoundry
 
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Cloud Foundry and Microservices: A Mutualistic Symbiotic RelationshipCloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
 
Cloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopCloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment Workshop
 
Migrate Heroku & OpenShift Applications to IBM BlueMix
Migrate Heroku & OpenShift Applications to IBM BlueMixMigrate Heroku & OpenShift Applications to IBM BlueMix
Migrate Heroku & OpenShift Applications to IBM BlueMix
 
What's new in Pivotal Cloud Foundry 1.6
What's new in Pivotal Cloud Foundry 1.6What's new in Pivotal Cloud Foundry 1.6
What's new in Pivotal Cloud Foundry 1.6
 
Cloud Foundry Overview
Cloud Foundry OverviewCloud Foundry Overview
Cloud Foundry Overview
 
Cloud Foundry Anniversary: Technical Slides
Cloud Foundry Anniversary: Technical Slides Cloud Foundry Anniversary: Technical Slides
Cloud Foundry Anniversary: Technical Slides
 

Semelhante a Cloudfoundry Introduction

Docker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityDocker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityLudovic Piot
 
Red Hat OpenShift Container Platform Overview
Red Hat OpenShift Container Platform OverviewRed Hat OpenShift Container Platform Overview
Red Hat OpenShift Container Platform OverviewJames Falkner
 
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)QAware GmbH
 
Red Hat OpenShift V3 Overview and Deep Dive
Red Hat OpenShift V3 Overview and Deep DiveRed Hat OpenShift V3 Overview and Deep Dive
Red Hat OpenShift V3 Overview and Deep DiveGreg Hoelzer
 
8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the boxKangaroot
 
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius SchumacherOSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius SchumacherNETWAYS
 
vRO Training Document
vRO Training DocumentvRO Training Document
vRO Training DocumentMayank Goyal
 
Spring boot microservice metrics monitoring
Spring boot   microservice metrics monitoringSpring boot   microservice metrics monitoring
Spring boot microservice metrics monitoringOracle Korea
 
Spring Boot - Microservice Metrics Monitoring
Spring Boot - Microservice Metrics MonitoringSpring Boot - Microservice Metrics Monitoring
Spring Boot - Microservice Metrics MonitoringDonghuKIM2
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017Patrick Chanezon
 
Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021NeerajKumar1965
 
Free GitOps Workshop (with Intro to Kubernetes & GitOps)
Free GitOps Workshop (with Intro to Kubernetes & GitOps)Free GitOps Workshop (with Intro to Kubernetes & GitOps)
Free GitOps Workshop (with Intro to Kubernetes & GitOps)Weaveworks
 
Patna MuleSoft Meetup Anypoint Cloudhub 2.0
Patna MuleSoft Meetup Anypoint Cloudhub 2.0Patna MuleSoft Meetup Anypoint Cloudhub 2.0
Patna MuleSoft Meetup Anypoint Cloudhub 2.0shyamraj55
 
Operator Framework Overview
Operator Framework OverviewOperator Framework Overview
Operator Framework OverviewRob Szumski
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatAmazon Web Services
 
Free GitOps Workshop
Free GitOps WorkshopFree GitOps Workshop
Free GitOps WorkshopWeaveworks
 
Docker Roadshow 2016
Docker Roadshow 2016Docker Roadshow 2016
Docker Roadshow 2016Docker, Inc.
 
Build cloud native solution using open source
Build cloud native solution using open source Build cloud native solution using open source
Build cloud native solution using open source Nitesh Jadhav
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerIRJET Journal
 
Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Microsoft
 

Semelhante a Cloudfoundry Introduction (20)

Docker meetup - PaaS interoperability
Docker meetup - PaaS interoperabilityDocker meetup - PaaS interoperability
Docker meetup - PaaS interoperability
 
Red Hat OpenShift Container Platform Overview
Red Hat OpenShift Container Platform OverviewRed Hat OpenShift Container Platform Overview
Red Hat OpenShift Container Platform Overview
 
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
 
Red Hat OpenShift V3 Overview and Deep Dive
Red Hat OpenShift V3 Overview and Deep DiveRed Hat OpenShift V3 Overview and Deep Dive
Red Hat OpenShift V3 Overview and Deep Dive
 
8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box8 - OpenShift - A look at a container platform: what's in the box
8 - OpenShift - A look at a container platform: what's in the box
 
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius SchumacherOSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
 
vRO Training Document
vRO Training DocumentvRO Training Document
vRO Training Document
 
Spring boot microservice metrics monitoring
Spring boot   microservice metrics monitoringSpring boot   microservice metrics monitoring
Spring boot microservice metrics monitoring
 
Spring Boot - Microservice Metrics Monitoring
Spring Boot - Microservice Metrics MonitoringSpring Boot - Microservice Metrics Monitoring
Spring Boot - Microservice Metrics Monitoring
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
 
Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021Nyc mule soft_meetup_13_march_2021
Nyc mule soft_meetup_13_march_2021
 
Free GitOps Workshop (with Intro to Kubernetes & GitOps)
Free GitOps Workshop (with Intro to Kubernetes & GitOps)Free GitOps Workshop (with Intro to Kubernetes & GitOps)
Free GitOps Workshop (with Intro to Kubernetes & GitOps)
 
Patna MuleSoft Meetup Anypoint Cloudhub 2.0
Patna MuleSoft Meetup Anypoint Cloudhub 2.0Patna MuleSoft Meetup Anypoint Cloudhub 2.0
Patna MuleSoft Meetup Anypoint Cloudhub 2.0
 
Operator Framework Overview
Operator Framework OverviewOperator Framework Overview
Operator Framework Overview
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red Hat
 
Free GitOps Workshop
Free GitOps WorkshopFree GitOps Workshop
Free GitOps Workshop
 
Docker Roadshow 2016
Docker Roadshow 2016Docker Roadshow 2016
Docker Roadshow 2016
 
Build cloud native solution using open source
Build cloud native solution using open source Build cloud native solution using open source
Build cloud native solution using open source
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using Docker
 
Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015
 

Último

Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 

Último (20)

Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 

Cloudfoundry Introduction

  • 1. Transforming Your Business Technical Point of View Yitao Jiang jiangyt.cn@gmail.com
  • 2. Agenda ➢ Cloudfoundry Introduction ➢ Architecture ➢ Runtime ➢ Services ➢ Scaling ➢ Demo 2
  • 3. PaaS发展经历的阶段 第一阶段: SaaS/IaaS的向下 /向上扩展,PaaS萌芽期 第二阶段: 基于容器技术、针 对原生云应用的PaaS平台快 速发展 第三阶段 ❏ 2007年force.com发布 ❏ 2008年4月 GAE Beta预览版发 布 ❏ 2010 Heroku 被salesforce.com 收购 ❏ 2010.2 Windows Azure发布 ❏ 2011 Wmware 宣布 Cloudfoundry 开源项目 ❏ 2011 Redhat 宣布openshift 开 源项目 ❏ 2013.3 Netflix 发布 Netflix OSS cloud Prize ❏ 2013.11Pivotal 发布企业版 ❏ 2013.12 dotcloud改名为Docker ❏ 2014.2 Cloudfoundry 基金会成 立 ❏ 2014.2 GAE 支持Managed VM ❏ 2014.4 IBM Bluemix 发布 ❏ 与IaaS/SaaS的深度融合 ❏ 企业应用, 混合云 3
  • 4. 传统的3层架构模型 3-Tier Shared Nothing Architecture ● Most Common Archiecture, widely deployed 4
  • 5. Micro-service 架构 ● All is API ● Build large systems composed by small services that encapsulate the functionality corresponding to a single feature ● Simple 5
  • 6. I Know them but who cares 6
  • 8. 工作流程 ● have a good idea ● request a server ● get a purchase order ● wait ● wait ● server arrives ● server get power and network ● server get OS ● start to config and deploy Developer I a a S 8
  • 9. 工作流程 ● keep systems running ● don’t care about your application ● not paid to care ● people waiting for their servers ● might have to worry about other servers ● and emails ● and printers The System Admin 9
  • 10. 为什么需要PaaS? PaaS makes it easier to to develop, run and scale applications. A growing number of businesses: ● transitioning from packaged software to cloud-based services ● adding analytics, db services and multiple services to their products PaaS technology supports a variety of clouds, application styles and services. 10
  • 11. PaaS ? A PaaS provides ready-to-use-libraries,tools and services, such as databases, security, user management, monitoring and analytics, which can be easily integrated with the applications you are developing. PaaS can support applications written different in frameworks for a wide variety of programming languages, such as Java, Python, Ruby, .NET,etc. 11
  • 14. Router ● Proxy ● All traffic ● Access logs ● Load Balancing ● Routing Scheduler 14
  • 16. Loginserver ● standard JEE servlet application ● Just Login ● Easy Integration ● LDAP ● SAML 16
  • 17. CC The Cloud Controller is responsible for managing the lifecycle of applications. When a developer pushes an application to Cloud Foundry, she is targeting the Cloud Controller. The Cloud Controller then stores the raw application bits, creates a record to track the application metadata, and directs a DEA node to stage and run the application. The Cloud Controller also maintains records of orgs, spaces, services, service instances, user roles, and more 17
  • 18. Blobstore The Cloud Controller manages a blob store for the following: Resources: Files that are uploaded to the Cloud Controller with a unique SHA such that they can be reused without re-uploading the file App Packages: Unstaged files that represent an application Droplets: Result of taking an app package, staging it by processing a buildpack, and preparing it to run 18
  • 19. DEA ● The Droplet Execution Agent manages application instances, tracks started instances, and broadcasts state messages. ● Application instances live inside Warden containers. Containerization ensures that application instances run in isolation, get their fair share of resources, and are protected from noisy neighbors. 19
  • 20. Runtime/Buildpack ● What you code run with and depend on ● tomcat ● jdk ● weblogic ● python ● ... 20
  • 21. How Application Run ● Container(Warden) ● Applications running in a stack with a prebuilt root filesystem (rootfs) which works in tandem with a buildpack ● Code + Runtime + Dependency 21 Platform Your
  • 23. Services and Service Instances Cloud Foundry offers a marketplace of services, from which users can provision reserved resources on-demand. Examples of resources services provide include databases on a shared or dedicated server. These resources are known as Service Instances and the systems that deliver and operate these resources are known as Services. Think of a service as a factory that delivers service instances 23
  • 24. How CF Work with Service 24
  • 26. Service 定义流程 Develop the broker program ● Push package to CF cf push testbroker -p testbroker.war url: http://testbroker.xxx.com ● Register the Broker cf create-service-broker testbroker username password http://testbroker.xxx.com ● Enable the Broker cf service-access cf enable-service-access test-service -p small 26
  • 27. 如何使用? cf push testapp -p HelloWorldJavaWeb.war cf create-service MysqlService free testservice cf bind-service testapp testservice cf restage testapp access the application 27
  • 28. Scaling Vertical Scaling Vertical scaling is often referred to as scaling up. Vertical scaling increases the resources available to an application by adding the capacity directly to the individual nodes. 28
  • 29. Scaling Horizontal Scaling Horizontal scaling is often referred to as scaling out. The overall application resource capacity grows by adding entire nodes. 29
  • 30. Orgs, Spaces, Roles, and Permissions Cloud Foundry uses role-based access control (RBAC), with each role granting permissions in either an org or a space Orgs An org is a development account that an individual or multiple collaborators can own and use. All collaborators access an org with user accounts. Collaborators in an org share a resource quota plan, applications, services availability, and custom domains. User Accounts A user account represents an individual person within the context of a Cloud Foundry installation. A user can have different roles in different spaces within an org, governing what level and type of access they have within that space. Spaces Every application and service is scoped to a space. Each org contains at least one space. A space provides a set of users access to a shared location for application development, deployment, and maintenance. Each space role applies only to a particular space. 30
  • 31. Orgs, Spaces, Roles, and Permissions(Cont.) Roles and Permissions A user can have one or more roles. The combination of these roles defines the user’s overall permissions in the org and within specific spaces in that org. Org Roles and Permissions Org Manager Assign this role to managers or other users who need to administer the account. An Org Manager can: ● Add and manage users ● View users and edit org roles ● View the org quota ● Create, view, edit, and delete spaces ● Invite and manage users in spaces ● View the status, number of instances, service bindings, and resource use of each application in every space in the org ● Add domains 31
  • 32. Orgs, Spaces, Roles, and Permissions(Cont.) Note: An Org Manager needs explicit administrator permissions to perform certain actions. Refer to the Creating and Managing Users with the UAA CLI (UAAC) topic to learn how to create a user with admin rights. Org Auditor Assign this role to people who need to view but not edit user information and org quota usage information. An Org Auditor can: ● View users and org roles ● View the org quota Space Roles and Permissions Space Manager Assign this role to managers or other users who need to administer a space. A Space Manager can: ● Add and manage users in the space ● View the status, number of instances, service bindings, and resource use of each application in the space 32
  • 33. Orgs, Spaces, Roles, and Permissions(Cont.) Space Developer Assign this role to application developers or other users who need to manage applications and services in a space. A Space Developer can: ● Deploy an application ● Start or stop an application ● Rename an application ● Delete an application ● Create, view, edit, and delete services in a space ● Bind or unbind a service to an application ● Rename a space ● View the status, number of instances, service bindings, and resource use of each application in the space ● Change the number of instances, memory allocation, and disk limit of each application in the space ● Associate an internal or external URL with an application Space Auditor Assign this role to people who need to view but not edit the space. A Space Auditor can: ● View the status, number of instances, service bindings, and resource use of each application in the space 33
  • 34. Security ➢ IaaS ○ security group ○ FWaaS ➢ CF ○ security group ■ dea iptable rules 34
  • 35. Perspective on DevOps DevOps is all about: ➢ Automating complex IT processes ➢ With Full visibility and control 35
  • 36. PaaS on vmware All components run in vm 2 compute servers (minimum) N+1 compute servers to support single compute node failure Active environment consumption: (128GB application pool) ● Total physical Cores: 32 @2.0+ GHZ each (need more cores on OpenStack vs VMware ~2x) ● Total physical RAM: 512GB ● Total datastore size: 3.5TB (when using multiple datastores, use an identical prefix) ● Networking (similar configuration…….different details) ● Minimum: One port group with outbound internet access and inbound access from the customer network. Will need 10 customer network IP’s ● Preferred: One additional port group that is private, only the ESXi’s in the cluster are able to communicate across it. 36
  • 37. 37