Documentos de Académico
Documentos de Profesional
Documentos de Cultura
of Applied Sciences
School of
Engineering
InIT Institute of Applied
Information Technology
CloudFoundry
on
OpenStack
Outline
CloudFoundry
Installa=on
op=ons
BOSH
BOSH
Components
BOSH
Bootstrap
19.02.13
ICCLab - www.cloudcomp.ch
Frameworks / Run=mes
19.02.13
ICCLab - www.cloudcomp.ch
CloudFoundry Architecture
19.02.13
ICCLab - www.cloudcomp.ch
CloudFoundry
Architecture
Highly
redundant
(distributed
state,
self-
healing,
horizontally
scalable)
Scaling
in
Number
of
VMs
from
one
Micro-CloudFoundry
(no
redundancy)
over
hundreds
Private
PaaS
to
thousands
Public
PaaS
Provider
cloudfoundry.com,
Ac=veState,
AppFog,
Joyent,
...
19.02.13
ICCLab - www.cloudcomp.ch
Installa=on
Op=ons
manual
installa=on
possible,
but
really,
really
not
recommended
ICCLab - www.cloudcomp.ch
What
is
BOSH
Bosh
Outer
Shell
(don't
ask
me
where
it
exactly
comes
from)
ICCLab - www.cloudcomp.ch
Source: hgp://de.slideshare.net/ramnivas2/cloudfoundry-architecture
19.02.13
ICCLab - www.cloudcomp.ch
community
19.02.13
by Piston
ICCLab - www.cloudcomp.ch
BOSH
Architecture
simple
BS
server
S3
Atmos
(EMC)
Source:
hgp://cloudfoundry.github.com/docs/running/deploying-cf/components/
19.02.13
10
BOSH
Components
Manifest
Deployment
Manifest
Deployment
Manifest
Deployment
Manifest
Release
name
&
version
Release
nname
ame
&&
v
ersion
version
Release
Stemcells
t
o
u
se
Stemcells
to
to
use
se
Stemcells
Number
oof
f
VuVMs
Ms
for
for
each
ach
Job
Job
Number
Number
of
VMs
for
eeach
Job
Descrip=on
of
environment
Network
Service
congura=ons
Specic
to
the
infrastructure
(e.g.
dierent
zones/areas
like
development,
qa,
stress,
staging,
produc=on)
Environments
Congura=on
Congura=on
Congura=on
Sobware
Packages
Sobware
Packages
Sobware
Packages
Stemcell
Stemcell
Stemcell
DB
&
Blobstore
Releases
Stemcells
Stemcell
Stemcell
Stemcell
containing
VM
Image
VM
Image
Image
containing
containing
VM
Base
O
Base
OOS
S
S
Base
BOSH
AAgent
gent
BOSH
BOSH
Agent
BOSH
CPI
Deployments
Running
VMs
with
installed,
Running
VMs
with
installed,
Running
VMs
w
ith
installed,
congured
packages
&
services
congured
packages
&
services
congured
packages
&
services
Release
Release
Release
Descrip7on
Name
Name
Name
Version
Version
Version
So.ware
PPackages
ackages
So.ware
So.ware
P
ackages
External/Internal
External/Internal
External/Internal
Dependencies
Dependencies
Dependencies
Jobs
Jobs
Jobs
List
of
Instruc=ons
to
List
of
Instruc=ons
to
List
of
Instruc=ons
build,
install
and
to
build,
install
and
build,
install
paackages
nd
congure
congure
packages
congure
packages
Sobware
Packages
Sobware
Packages
Sobware
Packages
Congura=on
Templates
Congura=on
Templates
Congura=on
T
emplates
Scripts
Scripts
Scripts
For
the
public
CF
Release
descrip=ons
are
provided,
but
can
extended
to
include
addi=onal
services
19.02.13
ICCLab - www.cloudcomp.ch
11
ICCLab - www.cloudcomp.ch
12
....
cc:
descrip=on:
"VMware's
Micro
Cloud
Applica=on
Plaporm"
srv_api_uri:
hgp://api.vcap.me
password:
token:
allow_debug:
true
allow_registra=on:
true
admins:
-
admin@vcap.me
admin_account_capacity:
memory:
2048
app_uris:
32
services:
16
apps:
16
default_account_capacity:
memory:
2048
app_uris:
32
services:
16
apps:
16
new_stager_percent:
100
staging_upload_user:
staging_upload_password:
....
hgps://github.com/cloudfoundry/cf-release/blob/master/micro/manifest.yml
19.02.13
ICCLab - www.cloudcomp.ch
13
2.
Install
MicroBOSH
BOSH
(DB,
Blobstore,
Director
+
Worker
Nodes)
5..
VMs
3.
Install
CloudFoundry
CloudFoundry
(Services
+
DEA
VMs)
100-5000VMs
ICCLab - www.cloudcomp.ch
14
#
use
special
"cf
deploy"
to
install
VMC
&
create
ini=al
VMC
user
bosh
cf
deploy
#
now
we
can
grow
our
single
VM
deployment
bosh
cf
change
deas
100
bosh
cf
add
service
postgresql
bosh
deploy
hgps://github.com/StarkAndWayne/bosh-cloudfoundry
19.02.13
ICCLab - www.cloudcomp.ch
15
Ques=ons
We
are
hiring!!!
ICCLab - www.cloudcomp.ch
16