Running OpenShift on Microsoft Azure
DevOps Training Architect II
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.
Running OpenShift on Microsoft Azure
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
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
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
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
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.
Configure Single Sign-On
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
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
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
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
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
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.
In this video, we will take a look at where to go from here.