How To Add API gateway for your Java APIs Running on Azure Functions

A step by step guide with an example project

Bhargav Bachina
Bachina Labs

--

When you deploy your web apps or APIs on Azure Functions you can either expose them directly from the Azure function endpoint or you can serve through Azure APIM. Using APIM has several advantages such as routing to different apps based on the context path, implementing microservices, adding OAuth, caching layer, sharing your APIs through the Developer portal, etc.

In this post, we will see how to configure APIM for the Java APIs running on the Azure functions.

  • Prerequisites
  • Example Project
  • Running the API
  • Creating APIM Gateway
  • Importing Azure Functions
  • Running API with APIM
  • Summary
  • Conclusion

Prerequisites

You need to know a lot of things as prerequisites if you want to write serverless NodeJS REST API. First, you need to create two accounts: a Github account to store the source code and Microsoft Account to deploy that code using Function App Service. Let’s create these accounts by following the below links. You can start both for free.

--

--