Skip to main content

Running OpenShift on Microsoft Azure

Course

Intro Video

Photo of Jesse Hoch

Jesse Hoch

DevOps Training Architect II

Length

01:56:54

Difficulty

Intermediate

Videos

12

Hands-on Labs

6

Course Details

Microsoft loves Linux, and it shows with the growing relationship between Red Hat and Microsoft. As their bond strengthens, so does the relationship of two of their biggest products: OpenShift and Azure. This course covers how to deploy an OpenShift environment on Azure and set up the essentials, so our developers have an environment and the tools they need to start rapidly building their applications.

Syllabus

Running OpenShift on Microsoft Azure

Introduction

Course Introduction

00:01:27

Lesson Description:

Welcome to Linux Academy, and our Running OpenShift on Microsoft Azure course. It is amazing how far we have come! There was a time where Microsoft scoffed at Linux and didn't truly see what it's presence meant for the industry. Now they have embraced it. Currently, some of their biggest products run on Linux and other open-source technologies, for example, OpenShift runs on a wide array of platforms like Azure. Today we will examine a budding relationship between Microsoft and Red Hat plus two of their most prized products: Azure and OpenShift. In this course, we will discuss the configuration and deployment of OpenShift on Azure. We will also go through post-deployment tasks to begin our exploration of OpenShift, and then deploy our first app. This is an intermediate course so prior Linux and DevOps knowledge and concept familiarity is recommended along with Azure or other cloud administration experience. Thank you for taking this course. Let's start our adventure!

About the Training Architect

00:01:57

Lesson Description:

Hi, guys, my name is Jesse Hoch, and I am a DevOps Training Architect here at Linux Academy. I have over 15 years of IT experience across multiple roles. I am passionate about technology and how it impacts the world. I am a huge fan of horror and sci-fi movies, an avid comic book reader, and love sports. I like to spend quality time with my family, whether it be watching movies, playing video games with my kids, or just exploring the great outdoors. I am excited to be your captain on this journey through the wild world of DevOps. I hope you enjoy it!

Create an OpenShift Cluster on Azure

Prerequisites for Deploying OpenShift on Azure

00:10:07

Lesson Description:

Before we can deploy OpenShift on Azure, there are a few things we need to configure first. In this section, we will be going over the prerequisites like creating a resource group, setting up a key vault, generating SSH keys, storing our private key in the key vault and creating a service principal. All of these are essential to making sure you have a successful deployment of an OpenShift cluster.

Deploy OpenShift Resources on Azure

00:07:54

Lesson Description:

Now that we have the prerequisites out of the way, let's take a look at what an enterprise OpenShift cluster looks like in Azure, and then how to deploy the resources for it. We will look at each component and talk about how to deploy using an Azure Resource Manager template. Let's jump in!

Install and Connect

00:09:34

Lesson Description:

In this lesson, we will dive into what a bastion or "jump" host is and how to install OpenShift from it with Ansible. We will look at how we can connect to the cluster, and then how we can blow the whole thing away with a single command.

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

00:30:00

Hands-on Labs are real live environments that put you in a real scenario to practice what you have learned without any other extra charge or account to manage.

00:30:00

Post-Deployment Tasks

Configure Single Sign-On

00:04:02

Lesson Description:

In this lesson, we will talk about how to configure single sign-on for OpenShift — using an app registration with Azure AD for the OpenShift authentication.

Monitor OpenShift with Azure

00:03:22

Lesson Description:

This lesson describes how to set up and use the Container Monitoring solution in Azure Monitor with OpenShift. There are a couple of ways to add the Log Analytics agent to Red Hat OpenShift to start collecting container monitoring data. We will go over installing the Log Analytics agent for Linux directly on each OpenShift node, and then you will be shown an easier way by installing the agent as an OpenShift daemon-set.

Configure Metrics and Logging

00:04:12

Lesson Description:

In this lesson, you will be shown how to enable metrics and logging within OpenShift via Ansible playbooks. This will give users access to cluster metrics and allow you to use tools in the Elasticsearch, Logstash, and Kibana (EFK) stack for log aggregation and troubleshooting.

Install Open Service Broker for Azure

00:02:03

Lesson Description:

In this lesson, we will be talking about the Open Service Broker for Azure, or OSBA. We will go over what it is, what Azure Cloud Services are available, and how to deploy it to OpenShift.

Getting to Know OpenShift

Command Line Walkthrough

00:04:49

Lesson Description:

In this lesson, we will talk about the OpenShift command-line tools and how to use them. A demonstration will be provided on some of the commands, and you will be shown some of their uses.

Create Your First App

00:06:08

Lesson Description:

In this lesson, you will learn how to use the oc new-app command to create your first app. You will learn: how to create an application from different sources, how to specify variables when creating the app, how to check the status of the build, and how to scale your application manually.

Conclusion

Final Steps

Next Steps

00:01:13

Lesson Description:

In this video, we will take a look at where to go from here.