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.
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.
-
In a browser, open the kubernetes playground and log in using either a Docker Hub id or a GitHub id. Then click on Start.
-
Click on ADD NEW INSTANCE to set up your first node.
# -*- 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 |
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 |
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.
-
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.
-
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.
-
In both cases, you
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.
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.
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.
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