You are on page 1of 37

APP-CAP2177

Cloud Foundry Bootcamp

Josh Long @starbuxman jolong@vmware.com Dekel Tankel @dekt. dekel@vmware.com Cloud Foundry, VMware, Inc

#vmworldapps

Disclaimer

This session may contain product features that are


currently under development.

This session/overview of the new technology represents


no commitment from VMware to deliver these features in any generally available product.

Features are subject to change, and must not be included in


contracts, purchase orders, or sales agreements of any kind.

Technical feasibility and market demand will affect final delivery. Pricing and packaging for any new technologies or features
discussed or presented have not been determined.

The complexity IT and developers face today


An Idea for a cool app Configure ACLs and LBs Spec a server config

Wait for more HW

Justify server costs

Justify more server for scale testing

Procurement process

Central IT Architectural approval

Wait for HW to arrive

LOB Architecture approval Install a Database

Wait for IT ops to Image the server

The complexity IT and developers face today

* An actual application provisioning/update flow in a large enterprise. Image is blurred for privacy reasons
4

The value of Platform as a Service (PaaS)

target <any cloud> push <my app> bind <my services> instances <my app> +100

Cloud Foundry The Open Platform as a Service

Target a choice of deployment clouds

Provide a choice of development frameworks

Bind a choice of application services

github.com/cloudfoundry
6

Why should I care?


Let developers focus on code IT as a service provider

Boost application velocity

Friction-free deployment No machines or middleware to manage Latest high productivity frameworks Choice of application services Cloud portability

More responsive to developers Elastic and dynamically scalable Improved efficiency Digest future cloud advances Cloud portability

Broad Industry Investment

Cloud Foundry: Making Multi-Cloud a Reality


Private Cloud Distributions Management and Deployment Public Cloud Operators

.COM

Bare metal

Getting started with Cloud Foundry...

10

CONFIDENTIAL

Register
http://cloudfoundry.com/signup

Use promo code CFVMworld2012

11

CONFIDENTIAL

Welcome email

12

CONFIDENTIAL

Ways to use Cloud Foundry

13

Installing vmc on Windows

Install the vmc gem

14

Installing vmc on Mac OSX

Use Ruby Version Manager http://beginrescueend.com/

$ bash -s stable <<(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) $ rvm install 1.9.2 $ rvm use 1.9.2 $ gem install vmc

15

Cloud Foundry: Multi Cloud

16

Main Risk: Lock In


Welcome to the hotel california Such a lovely place Such a lovely face Plenty of room at the hotel california Any time of year, you can find it here Last thing I remember, I was Running for the door I had to find the passage back To the place I was before relax, said the night man, We are programmed to receive. You can checkout any time you like, But you can never leave!

-the Eagles

17

Open Source Advantage

18

CONFIDENTIAL

Open Source Advantage

19

CONFIDENTIAL

20

CONFIDENTIAL

21

Cloud Foundry Open Source Momentum


160% growth in downloads in 2012

4,500+ forks and followers to the Cloud Foundry OSS repositories More than 20 major framework and services bug-fixes, documentation contributions, deployment configurations and tools enhancements BOSH has more than 30+ forks (AWS, OpenStack, etc.) a very active mailing lists (hundreds of threads)

22

Micro Cloud Foundry

23

CONFIDENTIAL

Cloud Foundry: Choice of Runtimes

24

Frameworks and Runtimes Supported Out of the Box Java Spring Grails Scala (Lift, Play!) Ruby (Rails, Sinatra, etc.) Node.js Ecosystem Partners .NET (Uhuru, Tier3) Python, PHP (AppFog) Haskell Erlang Clojure JRuby

25

Demo: logging in, asking questions, & deploying from the CLI

28

Using Cloud Foundry from Eclipse & STS

29

Demo: developing with Eclipse & STS

30

Cloud Foundry: Services

31

Cloud Foundry: Services

Services are one of the extensibility planes in Cloud Foundry


there are more services being contributed by the community daily!

MySQL, Redis, MongoDB, RabbitMQ, PostgreSQL Services may be shared across applications Cloud Foundry abstracts the provisioning aspect of services
through a uniform API hosted in the cloud controller

Its very easy to take an app and add a service to the app in a
uniform way
Cassandra? COBOL / CICS, Oracle

32

Cloud Foundry: Services

Take Advantage of Services


they cost nothing to setup they deliver value

They Encourage Better Architectures


Need a fast read-write cache? Redis is ready to go! Need to store long-tail documents? Give MongoDB a try Need to decouple what applications do from when they do it?
Use messaging and RabbitMQ

33

Cloud Foundry: Services

34

Cloud Foundry: Services

35

Accessing Your Services

Debugging and accessing the data locally


Caldecott --> Service tunneling. Access your Cloud Foundry service as if it was local.

36

CONFIDENTIAL

Demo: Using the tunnel to talk to your services

37

CONFIDENTIAL

Let your team try it!

Free Signup: www.cloudfoundry.com


Use promo code: CFVMworld2012

Learn more on the blog: blog.cloudfoundry.com Follow us: @cloudfoundry Watch us: www.youtube.com/cloudfoundry

38

APP-CAP2177

Cloud Foundry Bootcamp

Josh Long @starbuxman jolong@vmware.com Dekel Tankel @dekt. dekel@vmware.com Cloud Foundry, VMware, Inc

#vmworldapps

You might also like