cloud foundry - a lightning introduction

25
© 2012 VMware, Inc. All rights reserved Cloud Foundry: a Lightning Overview! London Realtime Hackathon Andy Piper, Developer Advocate based on material by Chris Richardson

Upload: andy-piper

Post on 07-May-2015

4.360 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Cloud Foundry - A Lightning Introduction

© 2012 VMware, Inc. All rights reserved

Cloud Foundry: a Lightning Overview!

London Realtime Hackathon

Andy Piper, Developer Advocatebased on material by Chris Richardson

Page 2: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Andy Piper

2

social bridgebuilder, techie

Developer Advocate @ Cloud Foundry*

15 years in enterprise middleware & messaging

social web enthusiast

OSS supporter / contributor

excited by “what’s next”, Internet of Things, etc.

@andypiper

[email protected]* (the newest!)

Page 3: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Overview

3

Page 4: Cloud Foundry - A Lightning Introduction

Traditional web app architectureBrowser client

Monolithic WAR / other deployment artefact

RDBMS

Container (e.g. Tomcat)

CONFIDENTIAL4

Desktop Browser Apache

Web Application

MySQL Database

ShippingService

AccountingService

InventoryService

StoreFront

“easy” to...

develop

test

deploy

scale ...apart from: provisioning, setup, need to replicate, shard, scale to massive numbers of mobile clients, provide polyglot support, run multiple dev teams, collaborate...

Page 5: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL5

Platform-as-a-Service is the solution

Easy deployment

Application management

Easy scaling up and down

+

SQL databases

NoSQL databases

Message Broker

Deployment Services

Page 6: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL6

“Deploy and scale applications in seconds, without locking yourself into a single cloud or vendor”

Simple, Open, Flexible,

Scalable

The Open Platform as a Service

Page 7: Cloud Foundry - A Lightning Introduction

CONFIDENTIALApplication Service Interface

Data Services

Other Services

Msg Services

Cloud Foundry open PaaS - Choice of clouds

Private  Clouds  

PublicClouds

MicroClouds

Clou

d Pr

ovid

er In

terfa

ce (C

PI)

NEW! bosh: deploy to

alternate CPIs (AWS etc)

Page 8: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL8

cloudfoundry.com - Multi-tenant PaaS from VMware

Runtimes & Frameworks

Services

vCenter / vSphere

CloudFoundry.COM (beta)

Infrastructure

Page 9: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL9

Micro Cloud FoundryTM – an easy downloadable PaaS

Runtimes & Frameworks

Services

Your Laptop/PC

Micro Cloud Foundry

Single VM instance of Cloud Foundry that runs on developer’s machine (Linux, Mac, Win)

Page 10: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL10

CloudFoundry.ORG - Community open-source projectCloudFoundry.ORG

DownloadCode

Setup Environment

Deploy Behind Firewall

Setup Scripts

Apache2 license

Your Infrastructure

Page 11: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Cloud Foundry Resources

11

•Primary Site: cloudfoundry.com•Open Source Site: cloudfoundry.org

•Twitter: @cloudfoundry #cfoundry •Blog: blog.cloudfoundry.com•FB: facebook.com/cloudfoundry

•Documentation: start.cloudfoundry.com•Full “bootcamp” presentation: slidesha.re/cf-bootcamp

•Support : support.cloudfoundry.com•Knowledge Base•Q & A / Forums

Page 12: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

How-to (in brief)

12

Page 13: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL13

http://cloudfoundry.com/signup

Use promo code

LondonRealtime

Register!

Page 14: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Welcome email

14

Page 15: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Ways to use Cloud Foundry

15

command line...

IDE plugin...

toolchain plugin...

Cloud IDEs

Page 16: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Example vmc commands

16

$  gem  install  vmc

$  vmc  target  <any  cloud>

$  vmc  login  <credentials>

$  vmc  push  <my-­‐app>      >  bind  services?  Yes

$  vmc  update  <my-­‐app>

$  vmc  instances  <my-­‐app>  +100  

Page 17: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Logging into CloudFoundry.com

17

$  vmc  target  api.cloudfoundry.com

Successfully  targeted  to  

               [http://api.cloudfoundry.com]

$  vmc  login

Attempting  login  to  

   [http://api.cloudfoundry.com]

Email:  [email protected]

Password:  ********

Successfully  logged  into  

   [http://api.cloudfoundry.com]

Page 18: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Cloud Foundry Integration plugin for Eclipse

18

Page 19: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Micro Cloud Foundry

19

Page 20: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

What is in Micro Cloud Foundry?

20

Open source Platform as a Service project

App Instances Services

10.04

A cloud packaged as a VMware Virtual MachineUse as a developer sandbox• Use the services from Junit integration tests• Deploy your application for functional testing• Remote debugging from STS

Page 21: Cloud Foundry - A Lightning Introduction

Resources

Virtualization

Clients

CONFIDENTIAL

Pre-requisites for using Micro Cloud Foundry

21

Minimum 1 GB

RAM

Minimum 8 GB

Disk

Internet Connectivity

(w/DHCP is ideal)

VMC STS

Page 22: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL

Summary

22

Page 23: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL23

Cloud Foundry:a remarkably easy way to deploy your applications

Cloud Foundry =

choice

Page 24: Cloud Foundry - A Lightning Introduction

CONFIDENTIAL24

Cloud Foundry Open Tour

London May 1st 2012

http://lanyrd.com/cggxz