Cloud Foundry - A Lightning Introduction
-
Upload
andy-piper -
Category
Technology
-
view
4.360 -
download
3
Transcript of 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
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!)
CONFIDENTIAL
Overview
3
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...
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
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
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)
CONFIDENTIAL8
cloudfoundry.com - Multi-tenant PaaS from VMware
Runtimes & Frameworks
Services
vCenter / vSphere
CloudFoundry.COM (beta)
Infrastructure
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)
CONFIDENTIAL10
CloudFoundry.ORG - Community open-source projectCloudFoundry.ORG
DownloadCode
Setup Environment
Deploy Behind Firewall
Setup Scripts
Apache2 license
Your Infrastructure
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
CONFIDENTIAL
How-to (in brief)
12
CONFIDENTIAL13
http://cloudfoundry.com/signup
Use promo code
LondonRealtime
Register!
CONFIDENTIAL
Welcome email
14
CONFIDENTIAL
Ways to use Cloud Foundry
15
command line...
IDE plugin...
toolchain plugin...
Cloud IDEs
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
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]
CONFIDENTIAL
Cloud Foundry Integration plugin for Eclipse
18
CONFIDENTIAL
Micro Cloud Foundry
19
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
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
CONFIDENTIAL
Summary
22
CONFIDENTIAL23
Cloud Foundry:a remarkably easy way to deploy your applications
Cloud Foundry =
choice
CONFIDENTIAL24
Cloud Foundry Open Tour
London May 1st 2012
http://lanyrd.com/cggxz
© 2012 VMware, Inc. All rights reserved
Thank You#ldnrealtime Getting Started:http://www.rabbitmq.com/blog/londonrealtime/
CloudFoundry Source Samples: http://bit.ly/cloudfoundry-samples
http://cloudfoundry.comQuestions: @cloudfoundry@andypiper / [email protected]