0) Before you start (important)
Because your subscription is low quota, do this first:
- Go to Virtual machines
- Stop any VM that is running (your D2s_v3 VM uses your vCPU quota)
- Select VM → Stop
If you don’t stop it, AKS creation will fail with “0 vCPUs remaining”.
1) Open AKS creation
- Azure Portal → search: Kubernetes services
- Open Kubernetes services
- Click Create
- Choose Kubernetes cluster
2) Basics tab
Fill exactly like this:
- Subscription: your subscription
-
Resource group: select existing (example:
devops-azure-lab) or create new - Cluster preset / configuration (if shown): choose Dev/Test
- Kubernetes version: leave default
-
Cluster name:
aks-lab-1 - Region: pick the one where you have quota (you tested: Central US / East US / West US 2).
- If one region fails quota, switch region.
- Availability zones: None (important for small quotas)
Click Next: Node pools
3) Node pools tab (most important)
You must choose a size that is allowed + fits your quota.
- Enable node auto-provisioning: OFF
- In the
agentpoolrow click (change) next to Node size - In “Select a VM size” window:
- set filter vCPUs = 2
-
pick one of these if available:
- Standard_D2s_v5 (best if quota exists)
- Standard_D2s_v4
- Standard_D2s_v3 (older but usually available)
- Standard_DS2_v2 (common fallback)
-
Click the row → Select
- Scale method:
-
choose Manual
- Node count: set to 1
- Enable virtual nodes: OFF
If you still see “0 vCPUs remaining for DSv5 family”, that means:
- you must change node size to another family (v3/v4/DS2v2), OR
- you must request quota increase, OR
- you must stop more running resources.
Click Next: Networking
4) Networking tab (simple defaults)
For first lab, keep defaults:
- Network configuration: default
- Network plugin: leave default
-
DNS name prefix: auto or
aks-lab-1 - Outbound type: default
Click Next (Integrations)
5) Integrations tab
Keep defaults.
- (Optional later: enable Container Registry integration, Key Vault, etc.)
Click Next: Monitoring
6) Monitoring tab
For beginner lab:
- Enable Container insights: optional (cost). You can keep OFF to save money.
Click Next: Security
7) Security tab
Keep defaults.
- RBAC usually ON by default (good)
Click Next: Advanced → Next: Tags → Next: Review + create
8) Review + create
- Fix any red validation errors.
- Click Create
- Wait until deployment finishes.
9) Connect to AKS (UI method)
After AKS is created:
- Open your cluster → Overview
- Click Connect
- Choose:
-
Azure CLI
- Copy the commands Azure shows (usually):
az loginaz aks get-credentials ...kubectl get nodes
On Mac, you run those in Terminal (Azure CLI + kubectl must be installed).
Top comments (0)