Provision a Container-Based Web App
In this IT Pro Challenge virtual lab, you will get hands-on experience using Microsoft Azure to manage, monitor, and control a container-based web application. You’ll learn how to deploy a web app, manage a web app service plan, and configure your web app for logging. These are essential skills for an Azure Cloud Engineer and System Administrator.
This hands-on lab provides an Azure administrator with an understanding of how to provision and manage container-based web applications. You will configure the storage container, 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 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.
Understand the scenario
You are a system administrator for a company that is migrating its document processing application from its data center to Microsoft Azure. You need to provision a container-based Azure Web App to support a custom Linux-based application used for processing documents. You will first provision an Azure Web App with a custom container. You will then test the web app. Finally, you will manage settings for the web app.
Provision a container-based web app:
In this section, you will use Azure’s Cloud Shell command-line interface to set up a Linux-based App Service Plan and provision a container-based Web Application. It is important to note that you cannot provide a Linux-based App Service plan in a resource group containing a Windows-based App Service plan. Through this lesson, you will become familiar with the Windows PowerShell based syntax for completing these administrative tasks.
Test the web app:
The container-based web application has a functional test front end. You will browse to the public-facing front-end and perform a function test, to ensure that the web app loads in a browser and that the web app can connect to the container-based service. This primarily tests the API functionality, ensuring the browser can interact with the container.
Configure the web app:
For this task, you will manage the Web App Service Plan’s configuration to ensure ample resources are allocated to your web app when needed. The provisioned resources are decreased if utilization decreases. This capability within Azure allows you to optimize your subscription and ensure you’re not over-spending, yet have scalability, based on demand. Finally, you will configure the application log settings so that your system logs are retained for the required amount of time and are available for operational or security monitoring.
Lab Summary Conclusion:
In this hands-on virtual lab, you will learn how to provision and manage a container-based web application in Microsoft Azure. You will become familiar with the types of App Service Plans available and how to configure one that meets your needs. These skills are important for an Azure Cloud Engineer or a System Administrator migrating to or managing container-based services.
Other Challenges in this series
- GUIDED CHALLENGE: Provision an Azure Container Instance
- ADVANCED CHALLENGE: Can you Provision a Managed Environment for Container Execution?
LEARN MORE. ACHIEVE MORE.
Completing a Learn On Demand Pro Series is one thing, mastering the skill is another.
Master the skill and take this learn on demand pro series in an expertly designed Course.