Create Microsoft Azure Resource Locks on a WebApp

IT Pro Challenges, Create Microsoft Azure Resource Locks on a WebApp virtual lab, allows learners to implement a WebApp in Azure, release using a Docker image, and lock the web configurations from changes. Developers, System Administrators, and many other IT professions benefit from the skills taught within this lab.

45 minutes
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *

Already have an account? Sign In »


This 45-minute hands-on virtual lab, for the beginner in Azure, teaches how to initiate an Azure Linux Web App, implement a Docker Hub container image, and turn-on resource locks. Upon completion, learners know how to move a web app on a database center or a database system to be managed through Azure. Hint links guide the learner throughout the lab and provide a means to check work. The user has to select the hint link for a solution to be displayed.

Many developers, database administrators, and system administrators, as well as other IT professionals, rely on Docker container deployment to simultaneously upload applications within a known and consistent computing environment, to a large scale of machines. Docker package, distribute, and manage the computing resources in a container or a multitude of containers as specified by the Docker user.

In general, Docker containers are less stateful, meaning they do not contain data about past changes to the image, including who altered it and how. So, if someone added an updated data system or removed a file for the web site and redeployed the image, Docker does not alert you that the container has changed. Therefore putting a Microsoft Azure resource lock on a web app, deployed via a Docker Hub Container object, makes sense as a way to prevent unintended changes to this package.

Create an Azure Linux Web App:

Lab participants create and verify a Linux Web App by using Azure’s web services. Learners familiarize themselves with app services available and using the URL, listed in the resource overview, to check for a successful web app build.

Deploy a Docker Hub Container Image:

This section of the lab teaches how to create and release a Docker Hub Container image through the Azure container settings services. Participants see logs describing when the Docker image has run, and the web app is ready for use.

Continuous deployment releases updated Docker Hub images in a time period set by the user.

Enable Resource Locks:

In this exercise, learners add a read-only lock to the web app resource. Now, changes cannot occur for the container settings. Azure users may add multiple locks and specify in the notes, how long the lock should stay and for what circumstances. The learner checks his or her work by trying to modify the container settings. A warning appears that the web app cannot be modified through Azure. A learner will also see that Docker deployment logs remain hidden and cannot be retrieved.

Locks appear under the property services in the web app service resource. They can be set for removal by an authority given access.


Learners understand how to deploy a web app consistently and securely using Azure’s services and resources and Docker’s capabilities. The user completes three steps in this challenge.

    • Create an Azure Linux Web App.
    • Deploy a Docker Hub Container Image.
    • Enable Resource Locks.

Upon completion, users may wish to advance their skills through additional virtual labs.

  • ADVANCED CHALLENGE: Can You Configure Multi-scope Network Security?

  • EXPERT CHALLENGE: Can You Configure Multi-scope Resource Permissions?