Lesson 3 of 6 Compute Solutions

Choosing a Container Platform

This lesson compares AKS, Azure Container Apps and Azure Container Instances.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain why organizations use containers.
  • Describe AKS experiences and pricing tiers.
  • Choose a container platform from stated requirements.

Why containers

A container image includes an application and everything it needs to run, except the operating system kernel. Images behave consistently across environments, start in seconds, and can be run densely on shared hosts. Containers suit microservices, where small teams release independently, and they offer portability between clouds and on-premises environments. Azure Container Registry stores images privately, and it supports geo-replication in its Premium tier, along with private endpoints.

Azure Kubernetes Service

Azure Kubernetes Service (AKS) is a managed Kubernetes service. Microsoft runs the control plane, and customers deploy workloads to nodes grouped in node pools. Kubernetes provides a huge ecosystem, covering service meshes, GitOps and operators, along with direct access to the Kubernetes API. This power brings complexity, since teams must understand cluster upgrades, networking and security.

AKS offers two experiences. AKS Automatic is Microsoft's recommended default for most production workloads: it preconfigures best practices and manages node provisioning and scaling. AKS Standard gives finer control. Separately, pricing tiers apply. The Free tier has no financially backed SLA and suits test clusters of up to 1,000 nodes. The Standard tier adds an uptime SLA, 99.95% with availability zones, and supports up to 5,000 nodes. The Premium tier adds 24-month long-term support.

AKS scaling operates at two levels. The horizontal pod autoscaler changes the number of pods, while the cluster autoscaler or node auto provisioning changes the number of nodes. KEDA scales on events, such as queue length. Application Gateway for Containers provides layer 7 load balancing for Kubernetes traffic.

True or false

AKS design facts

Exam skills 4.1.3

Check the AKS experiences, scaling and features.

Log in to try this activity Interactive activities are free with an account.

Azure Container Apps

Azure Container Apps is a serverless platform for containers, built on Kubernetes and on open-source projects such as Dapr, KEDA and Envoy, although the Kubernetes API itself is not exposed. A team deploys a container and sets scaling rules, and the platform runs it, scaling to zero if allowed. Revisions are immutable versions of an application, and traffic can be split between them for blue-green or canary releases. Container Apps jobs run on-demand, scheduled and event-driven tasks that finish.

Container Apps is often the best answer for microservices when the team does not need direct Kubernetes access, as it delivers most of the benefit with a fraction of the operational effort.

Other container options

Azure Container Instances (ACI) runs a single pod of Hyper-V isolated containers on demand, with no orchestration, and suits simple, short-lived tasks. It can also act as a burst target for AKS. Azure App Service can run a containerized web application, and it adds platform features such as deployment slots, which suits a team already using App Service. Azure Red Hat OpenShift offers a jointly managed OpenShift service, chosen when an organization has standardized on OpenShift.

Azure Spring Apps entered its retirement period on 17 March 2025, so it should not be used for new Java workloads. Container Apps or App Service are suitable alternatives.

Comparing the options

The following comparison recaps the main container services.

Azure Kubernetes Service
Kubernetes API accessYes
Scale to zeroWith KEDA and node scaling
Operational effortHighest
Traffic splittingThrough ingress or a mesh
Choose when Full Kubernetes control
Azure Container Apps
Kubernetes API accessNo
Scale to zeroYes
Operational effortLow
Traffic splittingBuilt in, through revisions
Choose when Microservices without cluster management
Azure Container Instances
Kubernetes API accessNo
Scale to zeroRuns on demand
Operational effortLowest
Traffic splittingNo
Choose when Single, short-lived containers

The following diagram matches each team to a container platform.

Matching three teams to container platforms. The platform team's admission controllers, service mesh and operators depend on the Kubernetes API, so AKS on the Standard tier; the marketing API that idles at night suits Container Apps, which scales to zero; and the daily script suits a Container Apps job or Azure Container Instances.
ACI stands for Azure Container Instances.
Sort into groups

Which container platform?

Exam skills 4.1.3

Choose the container platform for each team.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing a container platform

A financial services company has a platform team with deep Kubernetes experience. It needs custom admission controllers, a service mesh and third-party operators for 200 services. Meanwhile, a small marketing team wants to run a containerized campaign API that is idle at night, and has no platform skills. A data team needs to run a containerized script once a day. What should you recommend?

The platform team's requirements depend on the Kubernetes API, so AKS is the correct choice, on the Standard tier for an uptime SLA. The marketing API suits Azure Container Apps, which scales to zero at night and needs no cluster skills.

The daily script could use a Container Apps job, or Azure Container Instances, because both run a container to completion. Using AKS for all three would force small teams to take on unnecessary complexity, while ACI would not give the platform team the orchestration it needs.

Check yourself

Which AKS pricing tier has no financially backed uptime SLA?

Show answer

The Free tier. The Standard and Premium tiers provide one.

Exam Tips

Remember for the exam

  • AKS when the Kubernetes API or ecosystem is required; AKS Automatic is the recommended default.
  • Container Apps: serverless containers, KEDA scaling, revisions and traffic splitting.
  • ACI: single, short-lived containers with no orchestration.
  • AKS Free has no financially backed SLA; Standard adds one.