Interview Prep/Azure/AKS and ACR

How do you restrict access to a public AKS API server?

IntermediateConceptAKS and ACR
Answer

Authorized IP ranges limit which source IPs can reach the API server:

az aks update -g rg -n aks --api-server-authorized-ip-ranges 203.0.113.0/24,198.51.100.10/32

Combine with Entra-only auth (--disable-local-accounts) and Azure RBAC. Remember the cluster's egress IP if workloads call the API server via its public FQDN, and that GitHub-hosted runners have changing IPs (use self-hosted or private agents, or command invoke).

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR