About the private endpoint function.

양민열 21 Reputation points
2022-11-07T01:17:25.643+00:00

Without giving the subnet to APIM, is it possible to access AKS in our Vnet using a private endpoint from APIM?

We know it's best to have API Management inside the Vnet, but premium skus are too expensive for us. So, I am trying to implement the architecture with the API Management Basic sku by using Private Endpoint. Is there any good way?

257731-architecture03.png

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,457 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
550 questions
Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,457 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bas Pruijn 956 Reputation points
    2022-11-10T09:54:41.403+00:00

    Your conclusion is correct. APIM cannot access any resource within the VNET.

    You have the option to work around this though. Let the external callers connect to APIM first. Then let APIM connect to the AKS API's via the application gateway. You can restrict the application gateway to only accept calls from APIM. So, the flow would look like this:

    external caller --> API Management --> Application Gateway --> AKS

    We have set this up for one of our customers. In our situation, we were not using AKS, but Azure Functions.

    This setup provides you with a secure access to your AKS environement, without the costs of APIM premium.


1 additional answer

Sort by: Most helpful
  1. msrini-MSFT 9,291 Reputation points Microsoft Employee
    2022-11-07T09:41:23.513+00:00

    Hi,
    Yes, your ask is possible. But the Private endpoint to APIM is in preview.

    Reference: https://learn.microsoft.com/en-us/azure/api-management/private-endpoint

    Regards,
    Karthik Srinivas


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.