Coder Social home page Coder Social logo

cfcontainershol's Introduction

#Containers and Cloud Foundry Hands-On Labs

##Prerequisites

Needless to say you'll need a laptop! Any OS is fine, but make sure to install the following software prior to the session:

Prerequisite 1: Install Git (or "brew install git").

Prerequisite 2: Registered for a Bluemix account that is still current (trial Bluemix accounts are available at http://console.ng.bluemix.net). Contact the instructor for a promotion code for a bump in the quota. Please note down the username (or email) and password which will be used to login via the cf CLI.

Prerequisite 3: Install the The cf CLI from [https://github.com/cloudfoundry/cli#downloads] (https://github.com/cloudfoundry/cli#downloads) - download the latest version that is appropriate for your laptop and follow the instructions in README.txt.

Prerequisite 4: Install the ic plugin for the cf CLI based on directions at https://www.ng.bluemix.net/docs/containers/container_cli_cfic.html

##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 at https://github.com/ragsns/PCF-demo but they can be applied to the NodeJS app. or other Java 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] (exercises/ex2)
  • Exercise 3: [manifest.yml and more CLI commands] (exercises/ex3)
  • Exercise 3c: [Containerize the Application] (exercises/ex3c)
  • Exercise 4: [Connect to a service] (exercises/ex4)
  • Exercise 4c: [Connect a Cloud Foundry Service to a Container] (exercises/ex4c)
  • Exercise 5: [Scale your application] (exercises/ex5)
  • Exercise 5c: [Scale Containers] (exercises/ex5c)
  • Exercise 6: [Health Monitoring] (exercises/ex6)
  • Exercise 6c: [Recoverability of Containers] (exercises/ex6c)
  • Exercise 7: [Draining logs] (exercises/ex7)
  • Exercise 7c: [Container logs] (exercises/ex7c)

##More Resources

Plenty of samples in multiple languages at [https://github.com/cloudfoundry-samples] (https://github.com/cloudfoundry-samples)

IBM Containers documentation at [https://www.ng.bluemix.net/docs/containers/container_index.html] (https://www.ng.bluemix.net/docs/containers/container_index.html)

IBM Containers CLI documentation at https://www.ng.bluemix.net/docs/containers/container_cli_reference_cfic.html

##Contact

Please contact me on Twitter @ragss.

cfcontainershol's People

Contributors

ragsns avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.