Does AKS authorised ranges impacts the overall on-premise/internet connectivity?

Tanul 1,251 Reputation points
2022-05-23T17:24:22.523+00:00

Team,

If we add these authorized range in our AKS then to what level does it impacts our system.

  1. Do we always have to enable the organization's VPN to connect with AKS and custom applications running inside pods.
  2. If yes, then how to expose any specific web application(running inside pod) publicly, over internet, in such case
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,963 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vidya Narasimhan 2,126 Reputation points Microsoft Employee
    2022-05-24T18:21:35.167+00:00

    Hi @Tanul , By default, the API server of AKS is assigned a public IP address which is accessible over the Internet. You can limit access to authorized IP ranges as per the link you provided https://learn.microsoft.com/en-us/azure/aks/api-server-authorized-ip-ranges

    Answering your questions -

    1)Do we always have to enable the organization's VPN to connect with AKS and custom applications running inside pods?

    > No, in this scenario, you do not need VPN to connect to API Server (Control Plane) of AKS or custom services that are publicly exposed inside pods. Both can be accessed over Internet. To secure your AKS API server, you can deploy AKS private cluster which can be accessed only via VPN https://learn.microsoft.com/en-us/azure/aks/private-clusters

    2) how to expose any specific web application(running inside pod) publicly, over internet, in such case .

    > Irrespective of how your AKS control plane is secured, you can always expose your custom applications/services publicly over Internet by deploying the K8 Service as LoadBalancer Type. Details are here https://learn.microsoft.com/en-us/azure/aks/concepts-network#services