- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Azure Container Instances - Deploying and Running a Container
In this lab you’ll learn how to deploy an Azure Container Instance hosting a simple web server and then perform modifications to it using YAML files and Azure CLI. You will also learn how to replace a container when updates are required.

Lab Info
Table of Contents
-
Challenge
Create an ACI with a sample Web Server that is publicly accessible
With the YAML file, use the Azure CLI in Cloud Shell to create the Container Instance.
-
Challenge
Update the DNS Name Label to a new one and validate that the web application is accessible
Change the Domain Name from where the application is accessible by changing this property in the YAML file.
-
Challenge
Prepare for “Black Friday” by replacing the container with a new one with more resources
Increase the number of resources of the container to 1 CPU and 1.5GiB Memory. Some properties of container instances cannot be updated, instead you'll have to recreate it entirely.
-
Challenge
Prepare the Azure Cloud Shell
Open up the Azure Cloud Shell using Bash and create the YAML file you'll be using throughout the lab. (YAML file located in the Additional Resources section)
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.