Provision a Serverless Container-Based Environment

In this IT Pro Challenge virtual lab, you will get hands-on experience using Microsoft Azure’s serverless container-based environment. This lab will provide you with the skills required to migrate an on-prem service and web app to Microsoft Azure. You will learn how to provision an Azure Container Registry, Instance, and Container-based Web App.

Time
1 hour
Difficulty
Intermediate
1.0
Share
NEED TO TRAIN YOUR TEAM? LEARN MORE
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Overview

Lab Overview:

This hands-on lab provides an Azure administrator with an understanding of how to migrate an on-premise system to a serverless container-based environment in Microsoft Azure. This is an advanced challenge, requires familiarity with Azure administration, and is part of a series. It is recommended that you review the other challenges in this series before attempting this lab. You will learn how to perform the following tasks:

  • Provision an Azure Container Registry
  • Provision an Azure Container Instance
  • Provision an Azure Container-based Web App

These skills are essential for a System Administrator or Developer operating in a Microsoft Azure environment.

Understand the scenario

You are a system administrator of a company that is migrating its document processing system from its data center to Microsoft Azure. The system is container-based and consists of a service and a web application. You need to provision a container-based environment in Azure to host the system. First, you will provision a container registry and load the service and web application images to the registry. Then, you will provision a container instance to host the service. Finally, you will provide a web app to host the user interface and configure it to use it.

Provision an Azure Container Registry:

The Microsoft Azure Container Registry is a managed, private Docker registry service. You will first provision an Azure Container Registry, which allows you to build, store, and manage container images in a private registry for all types of container deployments. For this task, you will learn how to use the Azure Cloud Shell command-line interface to pull, tag, and push your docker images.

Provision an Azure Container Instance:

The Azure container Instance service enables you to deploy containers on the Microsoft Azure cloud without having to manage any underlying infrastructure. In this section, you will provision a Linux-based Container Instance, providing it with the CPU cores, memory, and port configurations required for it to function. You will also learn how to use Cloud Shell with a pre-configured python script to simulate a load in the container-hosted service.

Provision a container-based web app:

In this section, you will deploy your web app and manage the Azure Web App Service Plan usage through the implementation of scale-out functionality. This allows you to control (or throttle) the number of resources dedicated to the web app, based on usage. As for usage increases, more resources (e.g., CPU) can be added, and vice versa for a decrease in usage. Finally, you’ll learn how to manage application logging so that you can monitor the web app for operational or security purposes.

Lab Summary Conclusion:

In this hands-on virtual lab, you will learn how to perform the Microsoft Azure administrative tasks required to migrate an on-prem service and web application to Azure’s serverless container-based environment. You will get hands-on experience with using Azure’s Cloud Shell command-line interface to perform tasks, such as provisioning a container instance, a container registry, and a container-based web application. These skills are essential for Azure Administrators and Developers.

Other Challenges in this series

  • GUIDED CHALLENGE: Provision an Azure Container Instance
  • GUIDED CHALLENGE: Provision an Azure Container Registry
  • GUIDED CHALLENGE: Provision an Azure Container-based Web App