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.
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)