#Cloud Foundry Hands-On Lab for JavaOne 2015
##Prerequisites
Needless to say you'll need a laptop! Any OS is fine, but make sure to install the following prior to the session:
- Git or "brew install git"
- [The
cf
CLI] (https://github.com/cloudfoundry/cli#downloads) - download the latest version that is appropriate for your laptop and follow the instructions in README.txt. OR the [thecf
CLI] (http://docs.cloudfoundry.org/devguide/installcf/install-go-cli.html) - A Cloud Foundry instance, either running on your laptop (16GB of laptop RAM recommended) or a hosted instance
During a live HOL, we will help you with a sandbox environment (the details are below). If you are trying these exercises by yourself, we want to provide you choices for deployment. We've tested the exercises on multiple instances.
- [https://console.ng.bluemix.net/] (https://console.ng.bluemix.net/)
- [http://www.activestate.com/stackato/sandbox] (http://www.activestate.com/stackato/sandbox)
- https://run.pivotal.io/
##Samples and General Directions
Each directory is in a separate sub-directory. Ensure that you're in the sub-directory when you're working on a particular exercise and you're issuing the CLI commands from the subdirectory pertaining to the exercise.
We've also provided a choice of samples. The instructions will refer to the PCF-demo sample application but they can be applied to the Node app. or other apps as well.
##Recommended Exercises - User Related
It is recommended that you run through these exercises sequentially since they are progressive with some dependencies. Each exercise should take about 5-10 mins. to complete.
- Exercise 1: Target the Cloud Foundry Instance
- Exercise 2: [Push your application] (ex2)
- Exercise 3: [manifest.yml and more CLI commands] (ex3)
- Exercise 4: [Connect to a service] (ex4)
- Exercise 5: [Scale your application] (ex5)
- Exercise 6: [Health Monitoring] (ex6)
- Exercise 7: [Draining logs] (ex7)
- Exercise 8: [Blue/Green Deploy] (ex8) [Advanced]
- Exercise 9: Jenkins Integration [Advanced]
- Exercise 10: Using the Eclipse IDE Plugin [Advanced]
- Exercise 11: Cloud Foundry Interoperability [Advanced]
- Exercise 12: [Polyglot Adventures] (exc) [Advanced]
##More Resources
Plenty of samples in multiple languages at [https://github.com/cloudfoundry-samples] (https://github.com/cloudfoundry-samples)
More samples at [https://github.com/Stackato-Apps] (https://github.com/Stackato-Apps)
##Contact
Please contact us on Twitter @ragss or @bcferrycoder.