Create a small AKS cluster

Azure Portal, Hands On20 minutesCosts moneySteps checked 12 November 2026By Cloud Hands On

In this task you'll create an AKS cluster.

Azure Kubernetes Service (AKS) runs Kubernetes for you. Microsoft looks after the control plane (the brain of the cluster), and you choose the nodes: the VMs your containers run on.

Kubernetes keeps your apps running the way you describe them: how many copies, which image, how they're reached. If a container or a node fails, it starts a replacement by itself.

Example. Ironbridge Payments runs 40 small services on one AKS cluster with two node pools: a general pool for most services and a pool of memory-heavy nodes for its fraud-checking models.

Costs money. An AKS cluster keeps at least one VM node running the whole time it's switched on, plus a load balancer, a disk and a public IP. The small set-up here costs roughly 10 US cents an hour. Only create it when you have an hour to practise, and delete it straight after.

Before you start

You need: Contributor on the resource group, and enough vCPU quota in the region. Time: 20 minutes.

Where to look

  1. Home
  2. Kubernetes services
  3. + Create
  4. Kubernetes cluster

Steps

  1. Open Kubernetes services, select + Create, then Kubernetes cluster.
  2. Choose rg-portal-practice, check the preset configuration is Dev/Test (it usually is already), and name the cluster aks-practice.
  3. Pick your region, leave the Kubernetes version as the default, and check AKS pricing tier says Free (Dev/Test sets it).The Free tier means no charge for the control plane, but also no uptime guarantee. Fine for practice. If a Deployment recommendations box suggests another region or size, you can ignore it.
  4. On Node pools, open the default pool (agentpool), select Choose a size and pick a small D-series size such as Standard_D2as_v5. Set Scale method to Manual with a Node count of 1 (the default is Autoscale with 2 to 5 nodes), then Update.B-series sizes such as B2s are now refused for AKS nodes ("B-series node sizes cannot be scheduled"). The system pool needs at least 2 vCPUs and 4 GiB of memory. On a free trial, some regions (UK South for us) show every size as Size not available: try another region such as Sweden Central.
  5. On Monitoring (under the ... tab list), check Container Logs, Prometheus metrics, Grafana and alerts are off. With Dev/Test they usually are.Monitoring sends logs to Log Analytics, which is billed. In real clusters you'd keep it on.
  6. Select Review + create, check the estimated cost, then Create. It takes about 5 to 10 minutes.If Review says Unable to validate. Deployment options are unavailable, the size or region isn't offered to your subscription: go back and try another. The Azure CLI version below also works, and its error messages say more.
  7. When it's done, open Resource groups and find the extra MC_ group AKS created for the nodes.Don't change anything in that group directly. AKS manages it.

Commands

# A small single-node cluster on the Free tier (no monitoring)
az aks create --resource-group rg-portal-practice --name aks-practice \
  --tier free --node-count 1 --node-vm-size Standard_D2as_v5 --generate-ssh-keys

# Stop it to pause node charges, or delete it
az aks stop --resource-group rg-portal-practice --name aks-practice
az aks delete --resource-group rg-portal-practice --name aks-practice --yes --no-wait

Watch out for

Cost
You pay for the nodes, disks, load balancer and public IP for every hour the cluster is on. Stopping the cluster (Overview, Stop) stops the node charges; deleting it ends everything.
Security
Use Entra ID sign-in and Kubernetes role-based access for real clusters, and keep the API server's access limited. Never share the cluster's admin credentials.
Common mistakes
Running out of vCPU quota on a free account. Leaving monitoring on and paying for logs. Deleting the MC_ group by hand instead of deleting the cluster.

Clean up

  1. Kubernetes services
  2. aks-practice
  3. Delete

Keep the cluster for the next two tasks if you're doing them now. Otherwise delete it, or the whole resource group. Deleting the cluster also deletes its MC_ node resource group.

Words to know

Node
A VM in the cluster that runs containers.
Node pool
A group of nodes of the same size. A cluster has at least one system node pool.
Control plane
The managed part of Kubernetes that decides what runs where. On the Free tier you don't pay for it.
Node resource group
A second resource group, named MC_ followed by your names, where AKS puts the cluster's VMs, disks and load balancer.

Tick off each step and track your progress in the guide.

Open this task in Azure Portal, Hands On

Keep going