Creating Cloud Native Applications with Cloud Pak for Applications on OpenShift

Welcome to our workshop! In this workshop we'll be using the Cloud Pak for Applications platform to create Cloud Native Applications that run on OpenShift. The goals of this workshop are:

  • Use Appsody and Codewind to create a cloud native application

  • Create a custom Collection

  • Use Tekton CI to continuously deploy to OpenShift

Tools used in the workshop

About this workshop

The introductory page of the workshop is broken down into the following sections:


Day 1: Kabanero and Appsody for Developers and Operators

In this first day we'll learn how to use Appsody to run the inner loop of the development and test cycle for a developer, and how these tools can be integrated into your favorite IDE. We'll also explore how to deploy an application to OpenShift, first manually with Appsody for dev/test purposes, and then using the standard Kabanero Tekton piplines with GitOps as part of a continual test/production cycle.

Lecture 1: What is Cloud Native?

Learn about the technologies that underpin Cloud Native applications

Lecture 2: Kabanero Overview

Learn about Kabanero. An open source project to rapidly create Cloud Native applications

Exercise 1: Introduction to Appsody and Codewind

Install the Appsody component of Kabanero into the IDE with Codewind, Learn about the developer flow, building your first application with Appsody

Exercise 2: Using Appsody CLI to develop, test, and debug applications

Use the Appsody CLI to quickly create frontend and backend applications for a sample application using two different technologies (Spring and nodejs express)

Exercise 3: Deploying to OpenShift with Appsody

Deploy the built applications to IBM Managed OpenShift with Appsody for dev/test purposes

Lecture 3: Adding value with IBM Cloud Pak for Applications

Learn about how IBM Cloud Pak for Applications bundles everything together

Exercise 4: Use Tekton and Kabanero Pipelines to continuously deploy

Deploy the built applications to IBM Managed OpenShift using GitOps to trigger a Tekton pipeline

Day 2: Customizing Stacks, Pipelines in Collections

In the second day we'll learn about the Kabanero open source project and how to productionize our applications with custom Appsody Stacks, custom Collections, and custom Tekton pipelines.

Lecture 4: Customizing Appsody and Kabanero

Learn all about the stacks and repos

Exercise 6: Building a custom Collection

Create a collection that will contain custom appsody stacks and pipelines

Exercise 5: Customizing an existing Appsody Stack

Create a custom stack, to be hosted in our custom repository

Exercise 7: Using a custom Collection with Appsody

Learn how to manage these custom stacks and how to make them available to developers

Lecture 5: Tekton Overview

Learn all Tekton CI/CD and how Kabanero uses it

Exercise 8: Create a custom Tekton Task and Pipleline

Build a pipeline that will fit into a custom Collection

Exercise 9: Deploy an application with a custom Stack, custom Collection, and custom Pipeline

Build and deploy an application using the custom stack, collection and pipelines built by the Architects' and Operators' tracks


This workshop has been tested on the following platforms:

  • macOS: Mojave (10.14), Catalina (10.15)

  • Windows Windows 10 (with enterprise AAD and git bash)

About Cloud Pak for Applications

IBM Cloud Pak for Applications is an enterprise-ready, containerized software solution for modernizing existing applications and developing new cloud-native apps that run on Red Hat® OpenShift®. Built on IBM WebSphere offerings and Red Hat OpenShift Container Platform with the Kabanero open source project, Cloud Pak for Applications provides a long-term solution to help you transition between public, private, and hybrid clouds, and create new business applications.

A few other noteworthy mentions

Cloud Pak for Applications:

  • ... includes

    • the Kabanero open source project

    • WebSphere

    • Mobile Foundation

    • IBM Cloud Private

    • Transformation Advisory

    • ...and more

  • ... can be deployed on any major cloud provider supporting OpenShift (IBM Cloud, AWS, Azure, GCP)

Cloud Pak for Application Stack


This workshop was primarily written by Henry Nash and Steve Martinelli. Many other IBMers have contributed to help shape, test, and contribute to the workshop.