SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
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

Weitere Àhnliche Inhalte

Was ist angesagt?

Cloud foundry
Cloud foundryCloud foundry
Cloud foundryIsuru Perera
 
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 Overview
Cloud Foundry OverviewCloud Foundry Overview
Cloud Foundry OverviewPatrick Chanezon
 
Cloud Foundry Anniversary: Technical Slides
Cloud Foundry Anniversary: Technical Slides Cloud Foundry Anniversary: Technical Slides
Cloud Foundry Anniversary: Technical Slides marklucovsky
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

KĂŒrzlich hochgeladen

Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
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
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
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
 
%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
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 

KĂŒrzlich hochgeladen (20)

Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
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...
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
Abortion Pill Prices Tembisa [(+27832195400*)] đŸ„ Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] đŸ„ Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] đŸ„ Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] đŸ„ Women's Abortion Clinic in T...
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
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
 
%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
 
Abortion Pill Prices Boksburg [(+27832195400*)] đŸ„ Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] đŸ„ Women's Abortion Clinic in ...Abortion Pill Prices Boksburg [(+27832195400*)] đŸ„ Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] đŸ„ Women's Abortion Clinic in ...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 

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