- Lab
- A Cloud Guru
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.
Path 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)
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.