Azure Basics

Azure APIM in Bullet Points

  • Azure APIM is a platform to manage APIs.
  • API Management allow organizations, publish APIs to external, partner, and internal developers.
  • Azure APIM allow us to decouple request validation from APIs.
  • You can secure your APIs

API Management service has 3 main components -

  • Management plane/Azure Portal [Manage admin tasks]
  • API Gateway [Manage API calls]
  • Developer portal [Interface for developers to interact with APIs]

There are two API Gateway Options available currently -

  • Managed — indicates the gateway built into the API Management service and hosted by Microsoft in Azure
  • Self-hosted — With the self-hosted gateway, customers have the flexibility to deploy a containerized version of the API Management gateway component to the same environments where they host their APIs. The self-hosted gateway is available as a Linux-based Docker container from the Microsoft Container Registry.

API Management can be run in three modes as of now

  • Off
    1/ This is the default.
    2/ API Management is not deployed into a virtual network.
  • External
    1/ The APIM gateway and dev portal are accessible from the public internet via an external load balancer.
    2/ It uses external load balancer. Service endpoints are registered on the public DNS server.
    3/ The gateway can access resources within the virtual network.
  • Internal
    1/ The APIM gateway and dev portal are accessible only from within the virtual network
    2/ It uses internal load balancer.
    3/ The gateway can access resources within the virtual network.
    4/ None of the service endpoints are registered on the public DNS server.

Important Use case

What if we have deployed APIM as internal to protect APIs, wanted to keep traffic inside Azure backbone etc and wanted to provide access someone from internet ?

In that case we can use Application Gateway to route connections !

Application Gateway and APIM

Let’s take a quick walk around APIM-

You can add APIs via Azure Portal. You can have multiple options to add APIs even deployed as part of app services, function app etc

To test this I have deployed API in Azure App service.

You can add product to club APIs.

Default Layout for Developer Portal. You can customise it as per your convenience.

Update Portal details and publish.

You can access updated portal from anywhere once you publish it !

You can use this portal to provide documentation, test APIs etc as well.

More Details:

White Paper on APIM in Self Hosted - https://azure.microsoft.com/mediahandler/files/resourcefiles/api-management-in-a-hybrid-and-multi-cloud-world/API%20management%20in%20a%20hybrid%20and%20multi-cloud%20world.pdf

In quest of understanding How Systems Work !

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store