Secure Azure Logic Apps Using API Management with OAuth 2.0

Shawn 61 Reputation points
2023-01-23T09:21:55.9633333+00:00

In case we place APIM in front of Logic App, we will have to add Logic Apps to the APIM.

In case we have quite many Logic Apps to be added to ONE APIM gateway, I am afraid that we will have a performance issue either when validating JWT during inbound processing in APIM or when forwarding the API requests to the Backend App.

In this case, what is the best approach for the smooth communication?

(e.g., create another APIM, like APIM 1,2,3,4,5, etc., in Azure?)

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,819 questions
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,084 questions
No comments
{count} votes

Accepted answer
  1. Nitish Sharma 311 Reputation points
    2023-01-23T23:21:41.33+00:00

    One approach to mitigate this issue would be to create multiple APIM gateways and distribute the Logic Apps across them. This would help to reduce the number of Logic Apps that need to be added to a single APIM gateway and therefore reduce the load on that gateway.

    Another approach would be to use Azure Front Door service to handle the routing of the requests to the appropriate Logic App. Azure Front Door service provides a global HTTP(s) load balancer that allows you to distribute traffic across multiple backends based on rules that you define. This can help to distribute the load and improve the performance of your API management solution.

    Additionally, you can also use caching and rate limiting features in APIM to improve the performance. You may also want to consider using a Content Delivery Network (CDN) to cache static content and reduce the load on the APIM gateway and Logic App.

    Ultimately, the best approach will depend on the specific requirements of your API management solution and the resources available to you. It may be a good idea to test different approaches and monitor the performance of your solution to determine the best approach for your use case.

    No comments

0 additional answers

Sort by: Most helpful