Edit

Deploy an express container app using the Azure CLI (preview)

In this article, you use the Azure CLI to create an Azure Container Apps express environment and deploy your first express container app. Azure Container Apps express is a developer-first platform that gets your containerized web app running in the cloud with minimal configuration.

Important

Azure Container Apps express is currently in preview. Access is limited to Microsoft Entra ID accounts. Personal Microsoft accounts aren't supported.

Prerequisites

Update the Container Apps extension

Before you begin, upgrade the Azure Container Apps CLI extension to the required version.

  1. Upgrade the Azure CLI to the latest version.

    az upgrade
    
  2. Add the Container Apps extension.

    az extension add -n ContainerApp
    
  3. Update the extension to ensure you have the latest version.

    az extension update --name containerapp
    

Note

You need version 1.3.0b4 or later of the containerapp extension.

Create an express environment

Create a resource group and an express environment. Replace <ENVIRONMENT_NAME> and <RESOURCE_GROUP> with your own values.

az containerapp env create \
  --environment-mode express \
  --name <ENVIRONMENT_NAME> \
  --resource-group <RESOURCE_GROUP> \
  --logs-destination none

Note

During preview, express is available only in the West Central US and East Asia regions.

Deploy a container app

Deploy a container image to the express environment.

az containerapp up \
  --image docker.io/nginx \
  --name <APP_NAME> \
  --resource-group <RESOURCE_GROUP>

After the command completes, the CLI outputs the URL for your running app.