Azure Container Instances - Deploying and Running a Container

Azure Container Instances - Deploying and Running a Container

  • Last updated 6/2024
  • English
  • Published 2025-04-24
  • Location Online
  • Duration 15m
What you'll learn

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.

This course includes:

Table of Contents

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

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

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

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