Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cloud Foundry & Cloud on a Stick

gzimmer
August 03, 2012

Cloud Foundry & Cloud on a Stick

Cloud Foundry is an open PaaS project that has been gaining in popularity. One of the cool Cloud Foundry related tools is called Micro Cloud Foundry (AKA “cloud on a stick”). It allows developers to run a lightweight Cloud Foundry environment on their development machine. This session will give a quick introduction to the Cloud Foundry platform and highlight the benefits (and limitations) of using Micro Cloud Foundry in the development of cloud based applications. The examples will primarily be shown in Java, but Micro Cloud Foundry can be used for Scala, Node.js, and Ruby as well.

gzimmer

August 03, 2012
Tweet

Other Decks in Technology

Transcript

  1. • Open Platform as a Service project – www.cloudfoundry.org –

    Apache License 2.0 – https://github.com/cloudfoundry/ Cloud Foundry
  2. • CloudFoundry.com – Public instance of Cloud Foundry – Operated

    by VMware – Running on vSphere infrastructure – Currently in public beta Cloud Foundry
  3. • classic.cloudfoundry.com – Previous VMware project – Focused on deploying

    and managing Java apps on Amazon Web Services Cloud Foundry
  4. • Languages – Java, Ruby, JavaScript, Scala, Groovy – PHP

    *, Python *, Erlang * • * not available in Micro Cloud Foundry or CloudFoundry.com Supported Technologies
  5. • Framework integration – Spring, Rails, Sinatra, Node.js, Grails, Lift,

    … – Extensible to support any framework – Latest code also supports worker processes Supported Technologies
  6. • Spring Tool Suite / Eclipse • Maven • Scriptable

    Command Line Interface • Client libraries for Java, Ruby, & Node.js • REST API Tool Integration
  7. – Relational Databases • * vFabric Postgres – NOSQL Databases

    * not included in Micro Cloud Foundry or CloudFoundry.com – Messaging Service Available Services
  8. • Infrastructure Support – Any recent Ubuntu instance – Amazon

    Web Services – VMware vSphere – OpenStack Cloud Providers
  9. • Cloud Foundry based Public PaaS – CloudFoundry.com – AppFog.com

    – Tier3 Cloud Providers – Uhuru – Iron Foundry
  10. Built on Cloud Foundry • Iron Foundry • Stackato •

    Piston Enterprise OS • Uhuru, AppFog, etc.
  11. Cloud Foundry Architecture • Client Layer • Core components –

    Implemented in Ruby – Using Async Rails 3 & NATS pub / sub – “self healing” • Execution Agents & Services
  12. Side Note… BOSH • Tool chain for – release engineering

    – deployment – lifecycle management …of large scale distributed services • https://github.com/cloudfoundry/bosh • “BOSH: What, How, When” by Dr Nic
  13. Cloud on a Stick • Micro Cloud Foundry • Downloadable

    Virtual Machine running an instance of Cloud Foundry • Fits on a thumb drive • Fastest route to a local instance
  14. • Same language and framework support as CloudFoundry.com • Available

    services • Integration with Spring Tool Suite • Integrated dynamic DNS • Offline mode Cloud on a Stick - Features
  15. • Single Node Cloud instance – VM: 1GB RAM, 16

    GB disk – 16 Services, 16 Apps • Does not include additional languages, frameworks, or services – PHP, Python, Erlang, Neo4J, etc • Does not support worker processes (yet) • Requires CloudDevelop.com account Cloud on a Stick - Limitations
  16. 1. vmc push 2. create app 3. Create droplet 4.

    Find DEA 5. Deploy droplet 6. Start app 7. Update routes