Is it recommended to use Azure API Management Service for exposing APIs

Vivek Shankar 95 Reputation points Microsoft Employee
2023-06-20T16:03:09.4966667+00:00

I am planning to expose an API to an external customer. The API is very simple and could be exposed via Azure Functions. The scale is extremely low (number of users is less than 10).

Are there any downsides of exposing the API directly from Azure Functions instead of a using an API management layer? Is API Management Service recommended for this implementation?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,455 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,932 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,966 questions
0 comments No comments
{count} votes

Accepted answer
  1. AirGordon 7,150 Reputation points
    2023-06-20T16:22:18.64+00:00

    Azure API Management offers additional capabilities out of the box primarily for rate limiting, security and caching.

    As long as you've met the security requirements for your API in your code in Azure Functions then the risk is simply your API being overused or attacked. APIM's rate limiting capability would stop the traffic from reaching your API. The other consequence of Azure Functions receiving too much traffic is that on the consumption plan your bill will be directly affected.

    API Management does generally feature in reference architectures when exposing API's for the reasons mentioned.

    https://learn.microsoft.com/en-us/azure/api-management/api-management-features

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.