0% found this document useful (0 votes)
68 views

02 - Deploy Azure Container Instances Task 1: Create A Container Instance

This document provides instructions for deploying a Docker container using Azure Container Instances (ACI) in the Azure Portal. The steps include creating a container instance for a "Welcome to ACI" web application, configuring networking settings, monitoring deployment, and verifying the container is running by accessing the application URL.

Uploaded by

Mangesh Abnave
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

02 - Deploy Azure Container Instances Task 1: Create A Container Instance

This document provides instructions for deploying a Docker container using Azure Container Instances (ACI) in the Azure Portal. The steps include creating a container instance for a "Welcome to ACI" web application, configuring networking settings, monitoring deployment, and verifying the container is running by accessing the application URL.

Uploaded by

Mangesh Abnave
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

4/18/2020 AZ-900T0x-MicrosoftAzureFundamentals

02 - Deploy Azure Container Instances


In this walkthrough we create, configure, and deploy a Docker container by using Azure Container Instances
(ACI) in the Azure Portal. The container is a Welcome to ACI web application that displays a static HTML page.

Task 1: Create a container instance


In this task, we will create a new container instance for the web application.

1. Sign in to the Azure portal.

2. From the All services blade, search for and select Container instances and then click + Add.

3. Provide the following Basic details for the new container instance (leave the defaults for everything else)):

Setting Value

Subscription Choose your subscription

Resource group myRGContainer (create new)

Container name mycontainer

Region (US) East US

Image source Docker Hub or other registry

Image type Public

Image microsoft/aci-helloworld

OS type Linux

Size Leave at the default

   

4. Configure the Networking tab (replace xxxx with letters and digits such that the name is globally unique).
Leave all other settings at their default values .

Setting Value

DNS name label mycontainerdnsxxxx

   

Note: Your container will be publicly reachable at dns-name-label.region.azurecontainer.io. If you receive a


DNS name label not available error message following the deployment, specify a different DNS name
label and re-deploy.

https://microsoftlearning.github.io/AZ-900T0x-MicrosoftAzureFundamentals/Instructions/Walkthroughs/02-Deploy Azure Container Instances.html 1/3


4/18/2020 AZ-900T0x-MicrosoftAzureFundamentals

5. Click Review and Create to start the automatic validation process.

6. Click Create to create the container instance.

7. Monitor the deployment page and the Notifications page.

8. While you wait you may be interested in viewing the sample code behind this simple application. Browse
the \app folder.

Task 2: Verify deployment of the container


instance
In this task, we verify that the container instance is running by ensuring that the welcome page displays.

1. After the deployment is complete, click the Go to resource link the deployment blade or the link to the
resource in the Notification area.

2. On the Overview blade of mycontainer, ensure your container Status is Running.

3. Locate the Fully Qualified Domain Name (FQDN).

4. Copy the container’s FQDN into the URL text box web browser and press Enter. The Welcome page should
display.

Note: You could also use the container IP address in your browser.
https://microsoftlearning.github.io/AZ-900T0x-MicrosoftAzureFundamentals/Instructions/Walkthroughs/02-Deploy Azure Container Instances.html 2/3
4/18/2020 AZ-900T0x-MicrosoftAzureFundamentals

Congratulations! You have used Azure Portal to successfully deploy an application to a container in Azure
Container Instance.

Note: To avoid additional costs, you can remove this resource group. Search for resource groups, click your
resource group, and then click Delete resource group. Verify the name of the resource group and then click
Delete. Monitor the Notifications to see how the delete is proceeding.

https://microsoftlearning.github.io/AZ-900T0x-MicrosoftAzureFundamentals/Instructions/Walkthroughs/02-Deploy Azure Container Instances.html 3/3

You might also like