Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Deploying OpenShift Resources to Azure

In this lab you will be deploying resources for your OpenShift installation using an Azure Resource Manager (ARM) template from the git repo for this lab. You will need to deploy using the Azure CLI tools, so you will need to configure your cloud shell and use the bash terminal for this lab. After you have deployed your resources, you should have all the resources necessary for your OpenShift installation.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Sep 27, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Configure Cloud Shell

    Set up Cloud Shell by clicking the Cloud Shell button in the top-right corner of the screen:

    "Azure Cloud Shell"

    1. When prompted to choose an environment, click Bash to begin configuring the Cloud Shell.
    2. On the "You have no storage mounted" window, click Show advanced settings.
    3. Use the same location as your lab provided resource group.
    4. Use the lab provided subscription.
    5. Use the existing resource group.
    6. Under Storage account, click the radio button for Use existing. If not available, choose create new and put in a valid unique name.
    7. Under File share, choose the radio button for Create new and specify 123okd as the new file share name. Click Create storage.
  2. Challenge

    Download SSH Keys for the Lab

    You will need to pull down the SSH keys to connect to the VMs using SSH. First, make the .ssh directory, if it isn't already there, with the mkdir command.

    Then cd into the .ssh directory.

    Now, use wget to pull down the SSH keys using these links:

    https://raw.githubusercontent.com/linuxacademy/content-openshift-origin-azure/master/ssh/id_rsa https://raw.githubusercontent.com/linuxacademy/content-openshift-origin-azure/master/ssh/id_rsa.pub

    Change the permission to the files to 600.

  3. Challenge

    Deploy OpenShift Resources

    Deploy the resources for the OpenShift installation using an ARM template from the lab's Git repo. The URL to use is:

    https://raw.githubusercontent.com/linuxacademy/content-openshift-origin-azure/master/ccDeploy.json

    You will need to use Azure CLI to deploy the template.

    Once the resources have been deployed, connect to the bastion host using SSH confirm it is working.

  4. Challenge

    Reset SSH public key for each VM

    Reset the SSH public key by going to the VM and going to the "Reset password" section of Support + Troubleshooting. Select Reset SSH public key. Next enter the username azureuserand the contents of your id_rsa.pub file you downloaded in Task 2.

    "Reset SSH public key"

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans