hands-on lab

Deploying Custom App Image to Container Apps using Azure Container Registry

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 1,631
Rating: 4.7/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Azure Container App enables you to run container-based web applications and microservices using a managed serverless platform. It allows you to run multiple container revisions. Container Apps are useful for an organization looking to offload the management of the hosting and security of the container application. The system fully supports the Distributed Application Runtime which makes it easier to cross-communicate between multiple container applications.

The container app lets you manage and publish a new release to the environment using CI/CD mechanism that enables the DevOps team to achieve their goals for continuous release. The apps can scale automatically based on the demand. Although it's easier to upload a docker image to run the app, the integration with Azure Container Registry enables the environment to be fully automated where new releases to the registry automatically update the container app accordingly.

In this hands-on lab, you will learn how to deploy custom container images to Container Apps referencing Azure Container Registry using the Azure Portal.

Learning Objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Understand Container App Custom Image deployment method
  • Upload custom image to Azure Container Registry
  • Create Container App revision using a custom registry image

Intended Audience

  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure Container Apps
  • Azure Container Registry

The following content can be used to fulfill the prerequisite:

Updates

March 15th, 2024 - Resolved Container App issue

September 13th, 2023 - Updated the instructions and screenshots to reflect the latest UI

July 3rd, 2023 - Resolved deployment issue

Environment before

Environment after

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Logging into Azure using Azure CLI
Adding Custom Image to Azure Container Registry
Using Azure Container Registry Image in Container App Instance