the Rails Perspective - O'Reilly Media

2 downloads 209 Views 2MB Size Report
CTO & Chief Architect, Application Platform [email protected] ... Clouds. Public. Clouds. Micro. Clouds .js. Data
Cloud Foundry

the Rails Perspective

Derek Collison CTO & Chief Architect, Application Platform [email protected] @derekcollison

Cloud Foundry What is ??

The Open Platform as a Service

The Open Platform as a Service .js

io

at

In te

lic

rfa

ce

p Ap c fa

ud

r te In

Pr o

e vic

vid

r Se e

Other Services

Private Clouds

er

n Msg Services

Cl o

Data Services

Public Clouds

Micro Clouds

… .COM

A New Open Source Community www.cloudfoundry.org

Apache License v2

Signup: www.cloudfoundry.com Code: www.cloudfoundry.org Tutorial: http://bit.ly/cf_labs

All attendees will get an account today

Architecture

Architecture

CloudController  Handles all state transitions within the system  users, apps, services, bindings

 REST  JSON  Rails3  Ruby 1.9.2  Fibers/Asynch

Choice of Frameworks

Features & Limitations  Rails3  Appserver is Thin, selectable in the future  Runtime support  MRI 1.8.7  YARV 1.9.2

 Bundler/Gemfiles  Currently limited to Rubygems.org sources

 MySQL, Redis, and MongoDB Services  Limited Data import and export today

VMC CLI  Controls all aspects of apps and services  [sudo] gem install vmc  HTTP and JSON  git://github.com/cloudfoundry/vmc.git  vmc help  vmc help options

Debugging your app  vmc crashlogs  vmc files      

logs/staging.log logs/migration.log logs/error.log logs/stderr.log logs/stdout.log app/log/production.log

Demo App  vmc push  vmc update  Errors and vmc crashlogs and vmc files  Rolling Production Service  Scaling

Cloud Foundry

Demo Application

Cloud Foundry Questions?

Cloud Foundry Thanks!