cloudcamp ghent - cloud foundry-20111121

43

Upload: lode-vermeiren

Post on 10-May-2015

1.375 views

Category:

Technology


5 download

DESCRIPTION

Talk given at Cloud Camp Ghent around Cloud Foundry, VMware's Open Platform As A Services

TRANSCRIPT

Page 1: Cloudcamp Ghent - Cloud foundry-20111121
Page 2: Cloudcamp Ghent - Cloud foundry-20111121

a practical introduction to

Page 3: Cloudcamp Ghent - Cloud foundry-20111121

a practical introduction to

Lode Vermeiren@[email protected]

Page 4: Cloudcamp Ghent - Cloud foundry-20111121
Page 5: Cloudcamp Ghent - Cloud foundry-20111121

...but f irst some theory

Page 6: Cloudcamp Ghent - Cloud foundry-20111121

MOVING APPS INTO THE CLOUD ERA

Build a Data

Fabric

Modernize Applications

Deploy & Scale w/PaaS

& other frameworks

vFabric 5 tc Server, RabbitMQ, ERS, Hyperic, EM4J

vFabric 5 GemFire, SQLFire (beta), Postgres, Data Driector

Page 7: Cloudcamp Ghent - Cloud foundry-20111121

WHAT’S NEW FOR APPS?

Page 8: Cloudcamp Ghent - Cloud foundry-20111121

WHAT’S NEW FOR APPS?

New frameworks & languages• Increase developer productivity

•Reduce time to market

Page 9: Cloudcamp Ghent - Cloud foundry-20111121

WHAT’S NEW FOR APPS?

New frameworks & languages• Increase developer productivity

•Reduce time to market

New devices and domains•Mobile, social, and SaaS integration

Page 10: Cloudcamp Ghent - Cloud foundry-20111121

WHAT’S NEW FOR APPS?

New frameworks & languages• Increase developer productivity

•Reduce time to market

New devices and domains•Mobile, social, and SaaS integration

New data types and requirements•Data deluge driving data tier elasticity

•Flexible NoSQL data solutions

•Realtime data

Page 11: Cloudcamp Ghent - Cloud foundry-20111121

WHAT’S NEW FOR APPS?

New frameworks & languages• Increase developer productivity

•Reduce time to market

New devices and domains•Mobile, social, and SaaS integration

New data types and requirements•Data deluge driving data tier elasticity

•Flexible NoSQL data solutions

•Realtime data

New infrastructures•Virtualization, Cloud, PaaS

Page 12: Cloudcamp Ghent - Cloud foundry-20111121

Deploy

model

CHALLENGES DEVELOPING & OPERATING APPS

cachedatabasemessaging

appserver appserver appserver

load balancer

worker

load balancer

Manage

Virtual Datacenter / IaaS infrastructure

Page 13: Cloudcamp Ghent - Cloud foundry-20111121

WHAT DO DEVELOPERS & OPERATIONS WANT?

Virtual Datacenter / IaaS infrastructure

$ vmc push my_front_end$ vmc push my_back_end$ bind services? Yes

Cloud Foundry

Friction free application deployment/mgmt

•Self service end-to-end•Deploy, manage, update, scale up/down•Integrated health, management, policy enforcement

•Simple API, CLI, DSL that expresses intent

•System automatically creates and maintains all connections

•Services are easy to consume, provided “aaS”

• Integrated elasticity: $ vmc instances my-app +4

Maximize developer productivity, minimize opex

Page 14: Cloudcamp Ghent - Cloud foundry-20111121

CLOUD FOUNDRY OPEN PAAS

It’s all about Choice

Choice of clouds for deployment

Choice of industry-standard frameworks

Choice of application infrastructure services

Extensible architecture to “digest” future cloud innovation

Available as open source

Page 15: Cloudcamp Ghent - Cloud foundry-20111121

CHOICE OF FRAMEWORKS

Page 16: Cloudcamp Ghent - Cloud foundry-20111121

Application Service Interface

Data Services

Other Services

Msg Services

vFabric Postgres

CHOICE OF APPLICATION SERVICES

Page 17: Cloudcamp Ghent - Cloud foundry-20111121

Clo

ud P

rovi

der

Inte

rfac

e

Private Clouds

PublicClouds

MicroClouds

Application Service Interface

Data Services

Other Services

Msg Services

vFabric Postgres

CHOICE OF CLOUDS

Page 18: Cloudcamp Ghent - Cloud foundry-20111121

Clo

ud P

rovi

der

Inte

rfac

e

Private Clouds

PublicClouds

MicroClouds

.COM

Partners

Application Service Interface

Data Services

Other Services

Msg Services

vFabric Postgres

CHOICE OF CLOUDS

Page 19: Cloudcamp Ghent - Cloud foundry-20111121

Bare metalProject “Bento”

Choice of Cloud Infrastructure

Choice of Private Cloud Distributions

Choice of Public Cloud Providers

.COM

MAKING MULTI-CLOUD A REALITY

Page 20: Cloudcamp Ghent - Cloud foundry-20111121

Runtimes & Frameworks

Services

vCenter / vSphere

Cloud Foundry

Infrastructure

CLOUDFOUNDRY.COM

Page 21: Cloudcamp Ghent - Cloud foundry-20111121

Runtimes & Frameworks

Services

Your Laptop

Cloud Foundry

MICRO CLOUD FOUNDRY™

Page 22: Cloudcamp Ghent - Cloud foundry-20111121

Runtimes & Frameworks

Services

Your Laptop

Cloud Foundry

MICRO CLOUD FOUNDRY™

(that’s it!)

Page 23: Cloudcamp Ghent - Cloud foundry-20111121

Your infrastructure

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

DownloadCode

Setup Environment

Deploy Behind Firewall

Apache 2 license

Page 24: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 25: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 26: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 27: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 28: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 29: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 30: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 31: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 32: Cloudcamp Ghent - Cloud foundry-20111121

Cloud Foundry

CLOUDFOUNDRY.ORG - COMMUNITY PROJECT

Page 33: Cloudcamp Ghent - Cloud foundry-20111121
Page 34: Cloudcamp Ghent - Cloud foundry-20111121

demo time!

Page 35: Cloudcamp Ghent - Cloud foundry-20111121

require ‘rubygems’

require ‘sinatra’

get ‘/’ do

host = ENV[‘VMC_APP_HOST’]

port = ENV[‘VMC_APP_PORT’]

“Hello from CCG MCF Demo – Node : #{host}:#{port}”

end

Page 36: Cloudcamp Ghent - Cloud foundry-20111121

1.unzip2.check NAT3.register dns4.vmc target5.vmc register6.vmc login7.vmc push8.change target9.vmc push require ‘rubygems’

require ‘sinatra’

get ‘/’ do

host = ENV[‘VMC_APP_HOST’]

port = ENV[‘VMC_APP_PORT’]

“Hello from CCG MCF Demo – Node : #{host}:#{port}”

end

Page 38: Cloudcamp Ghent - Cloud foundry-20111121

TRY IT OUT TODAY

1. MICRO CLOUD USB STICKS

2. CLOUDFOUNDRY.COM ACCOUNT:Use Promo Code “cloudcampgh” and skip the queue. (Code expires nov 26)

Page 39: Cloudcamp Ghent - Cloud foundry-20111121

TRY IT OUT TODAY

1. MICRO CLOUD USB STICKS

2. CLOUDFOUNDRY.COM ACCOUNT:Use Promo Code “cloudcampgh” and skip the queue. (Code expires nov 26)

write this down!

Page 40: Cloudcamp Ghent - Cloud foundry-20111121
Page 41: Cloudcamp Ghent - Cloud foundry-20111121

THX!

@lode

slideshare.net/lodev

cloudfoundry.com - cloudfoundry.orggithub.com/cloudfoundry

Page 42: Cloudcamp Ghent - Cloud foundry-20111121

THX!

@lode

slideshare.net/lodev

cloudfoundry.com - cloudfoundry.orggithub.com/cloudfoundry

slides with extra links

Page 43: Cloudcamp Ghent - Cloud foundry-20111121

LINKS• Getting started: http://support.cloudfoundry.com/home

• Background story: http://www.wired.com/wiredenterprise/2011/11/cloud-foundry/

• Code: http://github.com/cloudfoundry

• PaaS: http://cloudfoundry.com

• Project: http://cloudfoundry.org

• Twitter: #cfoundry

• Facebook: http://facebook.com/cloudfoundry

• Working offline with Micro Cloud Foundry: http://blog.cloudfoundry.com/post/9962996319/working-offline-with-micro-cloud-foundry

• Environment variables: http://hello-spring-cli.cloudfoundry.com/env

• Redis demo: http://support.cloudfoundry.com/entries/20320253-introduction-to-using-micro-cloud-foundry

• Other links: https://pinboard.in/u:lode/t:cloudfoundry/ (coming in the following days as I find them :))