Skip to content

Instantly share code, notes, and snippets.

@ahgittin
Created May 21, 2012 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ahgittin/2763265 to your computer and use it in GitHub Desktop.
Save ahgittin/2763265 to your computer and use it in GitHub Desktop.
Gluecon setup

USB stick

  • maven repo
  • brooklyn repository (jboss, etc)
  • git projects (anonymous http, with history; and showing URL - jclouds-examples, brooklyn, whirr)
  • binaries
  • whirr
  • brooklyn
  • this doc

GISTs

  • install instructions - env vars
  • maven repo
  • brooklyn home
  • brooklyn cloud setup
  • install instruction - projects
  • key projects - links
  • command to git clone without history
  • sample brooklyn pom (for new)

CATEGORIES

  • jclouds
  • 1000 - blobstore @ gits/jclouds-examples/blobstore-basics/ src/main/java/org/jclouds/examples/blobstore/basics/MainApp.java
  • 2000 - compute @ gits/jclouds-examples/compute-basics/ src/main/java/org/jclouds/examples/compute/basics/MainApp.java
  • 5000 - minecraft @ gits/jclouds-examples/minecraft-compute/ src/main/java/org/jclouds/examples/minecraft/MainApp.java
  • webapps
  • 1000 - brooklyn single web server and scalable cluster @ gits/brooklyn/examples/simple-web-cluster/src/main/java/brooklyn/demo/ {SingleWebServerExample,WebClusterExample}.groovy
  • 2000 - build policy and fabric of webapps @ gits/brooklyn/examples/global-web-fabric/src/main/java/brooklyn/demo/ GlobalWebFabricExample.groovy
  • 5000 - brooklyn portable cloud foundry @ gits/brooklyn/examples/portable-cloudfoundry/src/main/java/brooklyn/example/cloudfoundry/ MovableCloudFoundryClusterExample.groovy
  • big data
  • 1000 - build cluster with whirr, and with brooklyn @ gits/whirr/recipes/hadoop.properties and gits/brooklyn/examples/hadoop-and-whirr/src/main/java/brooklyn/extras/whirr/ WhirrHadoopExample.groovy
  • 2000 - build webapp with sql @ gits/brooklyn/examples/simple-web-cluster/src/main/java/brooklyn/demo/ WebClusterDatabaseExample.groovy
  • 5000 - build webapp cluster using hadoop @ gits/brooklyn/examples/hadoop-and-whirr/src/main/java/brooklyn/extras/whirr/ WhirrClusterWithHadoopExample.groovy

TALK OUTLINE

  • 20m showing big app, then deconstructing it
  • extra 10m for setup
  • 3x questions at (10 to 30m)
  • 20m break
  • 3x questions at (10 to 30m)
  • 15m final jeopardy -- the big app we started with

PROCESS

For each question:

  • type the command to copy from usb stick and to git clone it, into console
  • (could also put it into a gist)
  • import the project into an editor (eclipse, intellij, textpad, vi, as you like)
  • talk about the relevant class(es), either
  • creating new (but referring to a source file)
  • copying from an existing
  • just talking through an existing, possibly editting
  • run, with relevant run configuration
  • something fun after it has been run (e.g. ssh to box, show running, show in web console, etc)
  • questions welcome during the session

PREP

  • make USB stick
  • make slides
  • prepare bitly link
@jclouds
Copy link

jclouds commented May 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment