Skip to content

Instantly share code, notes, and snippets.

@timroster
timroster / index-cncflab.md
Last active February 18, 2018 16:12
Rapidly Build Cloud Native Applications Using IBM Cloud Foundry

Workshop Overview

In this workshop, you'll learn the fundamental concepts of cloud native applications and how to use Cloud Foundry (CF) to deploy and manage them.

Agenda

  • Introductory Presentation PDF

  • Lab 1 - Create a CF app on IBM Cloud html PDF

  • Cloud Foundry Basics PDF

@timroster
timroster / kube101-on-pwk.md
Last active October 22, 2018 19:23
Setting up a Play With Kubernetes environment for the IBM Kube 101 lab

kube101

These instructions show how to deploy a very simple web application that uses a data backend using redis. You don't need to install any software, just point your browser at the kubernetes playground and follow along with the steps.

Initial set up

  1. In a browser, open the kubernetes playground and log in using either a Docker Hub id or a GitHub id. Then click on Start.

  2. Click on ADD NEW INSTANCE to set up your first node.

@timroster
timroster / Vagrantfile
Last active October 28, 2018 15:28
Configuring Cloud demonstration access to a Composer REST API server using the IBM Secure Gateway service
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@timroster
timroster / Dockerfile
Last active November 5, 2018 16:08
Developer Container for IBM Code Patterns
FROM ubuntu:16.04
# install python and curl
RUN apt-get update -y && \
apt-get install -y python python-pip && \
apt-get install -y curl
# install IBM Cloud development environment (includes git and kitchen sink)
RUN curl -sL https://ibm.biz/idt-installer | bash

Setting up your workstation for IBM Cloud and developing with IBM Developer Code Patterns

To use IBM Cloud in a development scenario, you will need to create an IBMid and install some local tools. At a minimum, you should install the IBM Cloud CLI and a developer text editor. To run code examples locally, you should also install a few development runtimes.

IBMid

  1. Create an IBMid and IBM Cloud public account all in one step. Go to https://console.bluemix.net/registration . Provide your email address. If you have entered in a personal email address or a business address that is not configured for identity federation with IBM, fields for your contact information and Cloud account password will appear. Complete these items and go to step 3.

  2. If your corporate email address corresponds to an enterprise that has identity federation, an IBMid login screen will appear. Select Log in with your company credentials (SSO) option and then provide your email and follow the prompts.

  3. In both cases, you

IBM Client Developer Advocacy App Modernization Series

Lab - Migrating Legacy JEE apps to IBM Cloud Private

Working with Helm

Overview

Helm is a package manager for Kubernetes. Package managers automate the process of installing, configuring, upgrading, and removing computer programs. Examples include the Red Hat Package Manager (RPM), Homebrew, and Windows® PackageManagement.

Kubernetes Hands-on Lab

Lab Pre-requisites

For the hands-on labs of this workshop, you will need to either have tools installed on your workstation or use the IBM-provided web terminal. The web terminal has all tools pre-installed. If you are on a Windows 7 platform, or have not yet installed the tools listed below, you should use the web terminal.

Obtaining and installing the lab tools on non-Windows 7 platform

Deploying Microservice Hands-on Lab

Lab Pre-requisites

For the hands-on labs of this workshop, you will need to either have tools installed on your workstation or use the IBM-provided web terminal. The web terminal has all tools pre-installed. If you are on a Windows 7 platform, or have not yet installed the tools listed below, you should use the web terminal.

Obtaining and installing the lab tools on non-Windows 7 platform

Deploying Legacy Java EE applications on IBM Cloud Private using helm

Workstation setup

Log in to your virtual machine in the LinuxONE Community Cloud. Next, configure environment variables to match the settings for this lab.

export CLUSTER_URL=https://148.100.92.103:8443
export REGISTRY_URL=cluster103.icp:8500

Automating updates to containerized applications from SCM commits

Workstation setup

Log in to your virtual machine in the LinuxONE Community Cloud. Next, configure environment variables to match the settings for this lab.

export CLUSTER_URL=https://148.100.92.103:8443