Foundations of OpenShift

Learn the foundations of OpenShift through hands-on experience deploying and working with applications, using a no-cost OpenShift cluster through the Developer Sandbox for Red Hat OpenShift.

In this lesson, you will learn what Red Hat OpenShift is in relationship to Kubernetes and how to access the Developer Sandbox for Red Hat OpenShift to work with OpenShift.


What you need to know

In order to get the full benefit of taking this lesson, you need to know about Kubernetes as a container orchestration framework for managing applications on the internet. If you need to brush up on your understanding of Kubernetes, you can take a look at this article that describes what Kubernetes is and what it does. 

What you will learn

In this lesson you will learn:


OpenShift and Kubernetes

Installing a web application directly under Kubernetes involves a good deal of time-consuming, manual configuration. This type of manual configuration means you need to know a whole lot about each of the components that you’re installing under Kubernetes in order to actually get the application up and running.

OpenShift is a layer of Red Hat components that sit on top of a Kubernetes cluster (Figure 1). Using OpenShift makes it easier to install, configure, network and manage applications composed of containers.

The layers in the Red Hat OpenShift technology stack.
Figure 1: The layers in the Red Hat OpenShift technology stack.

For example, OpenShift lets you install a web application directly from source code or from a container image stored in an image repository by executing a few mouse clicks in the OpenShift web console. 

Once you get the hang of how OpenShift works, you will be able to configure and install applications using the oc CLI tool as well as the web console. In addition, as you move further along the learning curve toward OpenShift mastery, you will be able to incorporate features such as continuous integration and continuous delivery into your OpenShift development activities.

In short, anything you can do in Kubernetes, you can do in OpenShift. In many cases, you can do more.

As with any powerful technology, OpenShift takes time to learn. To reduce the learning curve, we provide access to a running instance of OpenShift to give you hands-on experience working with the technology. This interactive environment is called the Developer Sandbox for Red Hat OpenShift. The Developer Sandbox offers a free (no cost) 30-day OpenShift cluster. All that’s required to use it is that you create a Red Hat Developer account.

The following section shows you how to access an instance of the Developer Sandbox for Red Hat OpenShift dedicated to you. You will use the sandbox to learn about the various concepts, features, and techniques associated with OpenShift.

Get started with OpenShift in the Developer Sandbox

Here are the steps for accessing an OpenShift instance through the Developer Sandbox for Red Hat OpenShift.

Log in to the Developer Sandbox

  1. Use your web browser to navigate here (Figure 2, Callout 1)and select Start your sandbox for free (Figure 2, Callout 2).
  2. The entry point for access to the Developer Sandbox for Red Hat OpenShift
    Figure 2: The entry point for access to the Developer Sandbox for Red Hat OpenShift.
  3. Select Start your sandbox for free. You will be directed to log into your Red Hat Developer account.
  4. Provide your username and password for your Red Hat Developer account in the log in web page (Figure 3, Callout 1).
  5. If you don’t have a Red Hat account, click the Register icon at the upper right of the web page (Figure 3, Callout 2). From there, you can register with Red Hat to create an account.
Log into your Red Hat account to access the Developer Sandbox for Red Hat OpenShift.
Figure 3: Log into your Red Hat account to access the Developer Sandbox for Red Hat OpenShift.


You can return to your sandbox later using this method.

At this point, the process for creating your instance of an OpenShift cluster starts. Getting the sandbox up and running is an automated process that takes place within the Red Hat Cloud. In some cases, the process takes a few seconds. In other cases, it can take a few minutes. Once the installation process is complete, you will be notified (Figure 4).

The windows that appear when the process is complete for accessing an OpenShift Developer Sandbox
Figure 4: The windows that appear when the process is complete for accessing an OpenShift Developer Sandbox

When your instance of the OpenShift Developer Sandbox is available:

  1. Select Start using your sandbox. (Figure 4, Callout 1) 
  2. A second log in window will appear. Select DevSandbox to access the OpenShift web console in your instance of the Developer Sandbox (Figure 4, Callout 2).

View the OpenShift web console

The first time you enter the Developer Sandbox for Red Hat OpenShift, you will be presented with the option to take an interactive tour of the various features available in the OpenShift web console (Figure 5). The option will appear the first time you log in.

To take the interactive tour, select Get started. To navigate directly to the main page of the web console in the sandbox, select Skip tour.

Options for the web console once you log in.
Figure 5: Options for the web console once you log in.

Review

Congratulations! You’ve learned about the basic relationship between OpenShift and Kubernetes. You've also learned how to access the Developer Sandbox for Red Hat OpenShift and get hands-on experience working with OpenShift.

Next

In the next lesson, you will receive an overview of the OpenShift web console and learn about the Administrator and Developer Perspectives. Also, you will learn about the features you will use to create, configure, network, deploy, and maintain Kubernetes web applications running under OpenShift.

Previous resource
Overview: Foundations of OpenShift
Next resource
Overview of the web console