Government of British ColumbiaGovernment of British Columbia

DevHub

beta

Journey

Beginner Guide to Developing on the Platform

A Guide to Developing for Gov What Is Openshift? ExchangeLab Course: Openshift 101 ExchangeLab Course: Openshift 201 Leveraging Rocket.Chat Best Practices for Building Apps on Openshift Where to find helpful resources as a developer Best Practices for Publishing npm Packages Considerations for App Security in the Public Sector

What Is Openshift?

You've been hearing words like 'Openshift', 'Cluster', 'Cloud' and 'Cloud Native' in and around different parts of Goverment (with a strong concentration located at the Exchange Lab). What does this all mean? Are these just buzz words or are they a new way of doing app development in Gov?

This document was inspired by you, a user of the Devhub. We found that although Openshift is leveraged as a platform for over 100+ production, government applications. There is still a lot of mystery of what it actually is and how it works. This small document will attempt to de-mystify Openshift and explain it in non-technical terms. (not all of us are Developers 😏)

A Tale of Two Infrastructures

Taken from Openshift's learning portal, Openshift is a Hybrid Cloud Enterprise Kubernetes Platform.

This is very different in comparison to traditional infrastructure that we find leveraged in most Government Applications.

So to start understanding what Openshift is, we will first define what it is not. It is not like traditional Government IT infrastructure for standing up and hosting applications.

So What is Openshift?

Let's breakup the term Hybrid Cloud Enterprise Kubernetes Platform

Hybrid Cloud

Definition of Cloud Computing: the practice of using a network of remote servers hosted on the Internet to store, manage, and process data, rather than a local server or a personal computer.

source dictionary.com

In a nutshell, the Cloud is just someone else's computer. Our computers are all in the Kamloops Data Center.

Definition of Hybrid Cloud: Hybrid cloud is a cloud computing environment that uses a mix of on-premises, private cloud and third-party, public cloud services with orchestration between the two platforms.

Openshift, as a platform solution, is able to leverage Clouds from different environments. For our cluster, we are completely on premise within the Kamloops Data Center.

Enterprise

Openshift has several built in features that make it useful to run at an enterprise level.

  • It has very good security practices built in by default
  • The user access model allows managment of applications and teams
  • It is very focused on the Developer Experience. All the dependancies that are required for an application (storage, databases, network rules, security, patching) are essentially in one box that can easily accessed by the Developer with minimal barriers.

Kubernetes

Kubernetes is a open source application that is the foundation of Openshift. In reality, there are several different 'versions' of kubernetes, Openshift is one of these 'versions' that we decided to work with.

As described by Kimoon Kim, senior architect at Pepperdata: “Kubernetes is software that manages many server computers and runs a large number of programs across those computers. On Kubernetes, all programs run in containers so that they can be isolated from each other, and be easy to develop and deploy.”

Platform

The Openshift Container platform provides several different layers of control and access to allow applications to be developed, built, and deployed securely.

From the administrative perspective, it is highly configuirable. Anything from user access, to custom roles, to resource allocation, storage allocation, and even the provisioning of new servers is modifiable and scalable.

From the devops/developers perspective, it provides the ability to self serve your way to appliciation success. This means a development team can be allocated a project (a room in the Openshift mansion) to work in without having other applications interfere. Provision their own storage and configure their application as needed to get it up and running.

There are several other features that are apart of Openshift which can be found here.

Summary

Openshift is a platform that allows development teams to work in a self-service manner to build and deploy applications. A side affect of developing applications in a Cloud platform is that they are typically designed to be Cloud Native. This means they are scalable, lightweight, fault-tolerant, transportable, and in otherwords designed to meet the demands of the Modern IT ecosystem.

  • Create an Issue