6.8 Securing Access to Advanced Edition

You can configure to allow access to the administration REST API only for the requests coming from a machine with the specified IP addresses. This configuration prevents unauthorized and malicious access attempts.

Perform the following steps to restrict access based on the IP address:

  1. Log in to the Azure portal.

  2. Select Resource groups.

  3. In the resource groups list, find the relevant resource group in the following format:

    MC_<your-resource-group-name>_<aks-cluster-name>_<geo location>

  4. In the selected resource group, select Network Security Group. A list of inbound security rules is displayed.

  5. Edit the security rule with port 443.

  6. Change the Source to IP addresses.

  7. Specify the comma-delimited list of IP addresses or IP range in Source IP addresses. For example:

    192.168.0.101

    192.168.0.101, 192.168.0.156 (two IP addresses)

  8. Click Save. Changes might take 1 or 2 minutes to take effect.