# Lab 09c: Implement Azure Container Apps

**Objective:** This lab guides you through deploying a simple containerized application to Azure Container Apps (ACA).

**Scenario:** Your organization is migrating an on-premises web application to the cloud and wants to minimize server management. You'll evaluate Azure Container Apps as a serverless container solution.

**Key Concepts:**

* **Azure Container Apps (ACA):** A fully managed, serverless container platform built on Kubernetes. It allows you to run containerized applications without managing the underlying infrastructure (VMs or Kubernetes clusters directly).
    
* **Container App Environment:** A secure boundary around a group of container apps. All container apps within an environment share the same virtual network and write logs to the same Log Analytics workspace.
    
* **Container App:** A single application deployed to ACA, which can consist of one or more *revisions*. Each revision is an immutable snapshot of the app's configuration.
    
* **Revision:** A version of your container app's configuration. Changes to the container image, environment variables, or scaling rules create a new revision.
    
* **Ingress:** Controls how external traffic reaches your container app. ACA automatically configures HTTP ingress for you.
    

## Job skills

* Task 1: Create and configure an Azure Container App and environment.
    
* Task 2: Test and verify deployment of the Azure Container App.
    

![Diagram of the tasks.](https://raw.githubusercontent.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator/master/Instructions/media/az104-lab09b-aca-architecture.png align="left")

## **Task 1: Create and Configure an Azure Container App and Environment**

* **Sign In:** Log in to the Azure portal ([https://portal.azure.com](https://portal.azure.com/)).
    
* **Create Container App:** Search for and select "Container Apps" and click "Create."
    
    * **Basics tab:**
        
        * Container app name: `my-app` (or a unique name)
            
        * Container Apps Environment: Click "Create new."
            
            * Environment name: `my-environment`
                
            * Click "Create".
                
    * **Container tab:**
        
        * Ensure "Use quickstart image" is enabled.
            
        * The quick start image should be set to "Simple hello world container".
            
* **Review + create:** Verify the settings, and click "Create."
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1741107568385/57b19dc5-0a3f-4201-9c64-5f32cb52c8e7.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1741107612283/a83e66f6-89cf-48a9-bc94-73716c9267a9.png align="center")

## **Task 2: Test and Verify Deployment**

![Screenshot of the ACA overview page in the portal.](https://raw.githubusercontent.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator/master/Instructions/media/az104-lab09b-aca-overview.png align="left")

1. **Go to Resource:** Once deployed, click "Go to resource."
    
2. **Access the Application:**
    
    * On the "Overview" blade, find the "Application URL."  *This is the public endpoint for your container app.*
        
    * Click the "Application URL" link. A new browser tab will open.
        
3. **Verify Application:** You should see a page with the message "Your Azure Container Apps app is live!". This confirms that your container app is running and accessible.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1741108766046/93f29424-1068-454a-a412-9644dcd8b64d.png align="center")

**Cleanup (Crucial):**

* Delete the `az104-rg9` resource group (or the resource group you used) to remove all lab resources. This prevents unnecessary charges.
