Deploy applications to Azure Container Apps
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Developing AI Cloud Solutions on Azure premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- What the environment gives you before your app runs
- Template or configuration: what a change actually does
- Getting the image in without a stored password
- Secrets and the environment variables that read them
- Ingress: one container port in, one setting for all revisions
- Choosing which revision serves the request
- Workload profiles, and what each plan bills
- Exam-pattern recognition
Three ways to put a new revision in front of users
| Consideration | Single revision mode | Multiple revisions with traffic weights | Revision label URL |
|---|---|---|---|
| What a caller reaches | All traffic moves to the new revision once it is ready | Each active revision receives the percentage of requests you assigned it | Only requests sent to the label's own URL reach that revision |
| How you set it up | Nothing to set; it is the default mode, so deploying a revision-scope change is enough | az containerapp revision set-mode --mode multiple, then az containerapp ingress traffic set --revision-weight | az containerapp revision label add --revision <name> --label <label> |
| Percentages involved | None; the platform switches over for you | The combined weight of all rules must equal 100, and latest is a reserved name for the newest revision | None; labels work independently of traffic splitting |
| Rolling back | Deploy the previous configuration again, or reactivate the earlier revision | Move the weight back to the known-good revision | Move the label to another revision; testers keep the same URL |
| What happens to the old revision | Deprovisioned automatically | Stays active at its assigned weight, including at 0 percent, until it is deactivated | Stays active and reachable through its own URL |
| Best suited to | Ordinary rollouts where an automatic, downtime-free switch is enough | Canary and blue-green releases where you control the pace | Handing testers a stable address for one specific build |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- Quickstart: build and deploy your app from your local file system to Container Apps
- Integrate a virtual network with an Azure Container Apps environment
- Azure Container Apps environments
- Create a Container Apps environment with the Azure CLI (workload profiles)
- Jobs in Azure Container Apps
- Update and deploy changes in Azure Container Apps
- Manage revisions in Azure Container Apps
- Application lifecycle management in Azure Container Apps
- Containers in Azure Container Apps
- Azure Container Apps image pull from Azure Container Registry with managed identity
- Manage secrets in Azure Container Apps
- Ingress in Azure Container Apps
- Configure ingress for your app in Azure Container Apps
- Scaling in Azure Container Apps
- Traffic splitting in Azure Container Apps
- az containerapp ingress traffic (Azure CLI reference)
- Billing in Azure Container Apps
- Workload profiles in Azure Container Apps
- Azure Container Apps plan types