- Lab
- A Cloud Guru
Deploying and Running a Container on Azure Container Instances
In this hands-on lab, you will use the Azure portal to create and connect to a **Welcome to Azure Container Instances!** website running on Azure Container Instances. You will log in to the Azure portal and create a new container from a QuickStart image, then browse to the website in your web browser. Finally, you will use the Azure portal to stop the container. After completing this lab, you will have gained the experience required to create your first container in Azure Container Instances.
Path Info
Table of Contents
-
Challenge
Create a Container Instance
In the Azure portal, navigate to the Container instances dashboard and create a new container instance in the same region as the provisioned resource group. Name it whatever you'd like, use Quickstart images as the source and mcr.microsoft.com/azuredocs/aci-helloworld:latest (Linux) as the image, and leave everything else at the default selection.
For Networking, under DNS name label, give your container a DNS name between 5 and 63 characters. You can use the name of the container instance that you specified in the previous step.
-
Challenge
Log In to the Azure Portal
With a supported browser of your choice, log in to the Azure portal using the credentials provided on the lab page. We recommend that you use an incognito or private browsing window to ensure you're using the lab account, rather than your own.
-
Challenge
Test in Your Browser
In a web browser, use the the FQDN of your container instance to navigate to the instance and verify that you see Welcome to Azure Container Instances! displayed on the web page.
-
Challenge
Stop the Container
In the Azure portal, stop the container instance and verify that it has been stopped.
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.