Edit

Share via


Create a zone-redundant container app

In this article, you learn how create a zone-redundant container app inside a virtual network. You will create an Azure Container Apps Environment, enable it for zone redundancy, and configure with a new or preexisting virtual network that has an infrastructure subnet.

For more information on how Container Apps supports zone redundancy, see Reliability in Container Apps.

Prerequisites

Zone redundancy is available in all regions that support Container Apps and availability zones.

To see which regions support availability zones, see Azure regions with availability zone support.

To see which regions support Container Apps, see Product Availability by Region.

Create a zone-redundant container app

Use Azure Portal, Azure CLI, or PowerShell to create a zone-redundant container app.

  1. Go to Azure portal.
  2. Search for Container Apps in the top search box.
  3. Select Container Apps.
  4. Select Create New in the Container Apps Environment field to open the Create Container Apps Environment panel.
  5. Enter the environment name.
  6. Select Enabled for the Zone redundancy field.

Zone redundancy requires a virtual network with an infrastructure subnet. You can choose an existing virtual network or create a new one. When creating a new virtual network, you can accept the values provided for you or customize the settings.

  1. Select the Networking tab.
  2. To assign a custom virtual network name, select Create New in the Virtual Network field.
  3. To assign a custom infrastructure subnet name, select Create New in the Infrastructure subnet field.
  4. You can select Internal or External for the Virtual IP.
  5. Select Create.

Screenshot of Networking tab in Create Container Apps Environment page.

Verify zone redundancy

To verify that zone redundancy is enabled for your Container Apps environment:

  1. Go to Azure portal.

  2. Search for Container Apps Environments in the top search box.

  3. Select Container Apps Environments.

  4. Select your environment.

  5. Select JSON View: Screenshot of the Azure portal that shows the environment, with the JSON View button highlighted.

  6. Verify that the response contains "zoneRedundant": true: Screenshot of the Azure portal that shows the JSON view of the environment, with the zoneRedundant property highlighted.