Azure API Management and Resource Group Setup

Introduction

In this article, we will focus on how to create an API management service and Azure resource group since it is a series of articles. Our prime focus is to generate the token from the Azure active directory and validate it with the Azure management service. In this article, we will learn what APIM and Resource groups and their use, and how to configure them. Azure provides these services as Platform as a service (PAAS).

Note. On every free account, Azure provides a $200 subscription.

API Management Services (APIM)

Deploy API gateways side-by-side with the APIs hosted in Azure, other clouds, and on-premises, optimizing API traffic flow. Meet security and compliance requirements while enjoying a unified management experience and full observability across all internal and external APIs.

Azure Resource Group

A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution or only those resources that you want to manage as a group. You decide how you want to allocate resources to resource groups based on what makes the most sense for your organization. Generally, add resources that share the same lifecycle to the same resource group so you can easily deploy, update, and delete them as a group.

Topics Covered

This article demonstrates how to build the following,

  1. Configure Azure Resource Group.
  2. Configure API Management Service.
  3. Clean up resources.

Pre-requisites

  1. An Active Azure Account.
  2. User with sufficient access to create Azure Resource Group
  3. User with sufficient access to create APIM.

Task 1. Create and configure a resource group

  1. Sign in to the Azure portal.
  2. Select Resource groups.
  3. Select Create.
    Microsoft Azure
  4. Select Create.
  5. Enter the following values:
    • Subscription: Select your Azure subscription.
    • Resource group: Enter a new resource group name.
    • Region: Select an Azure location, such as Central US.
      Create resource
  6. Select Review + Create
  7. Select Create. It takes a few seconds to create a resource group.
  8. Select Refresh from the top menu to refresh the resource group list, and then select the newly created resource group to open it. Or select Notification(the bell icon) from the top, and then select Go to resource group to open the newly created resource group
    Notifications

Task 2. Create and configure API management service

  1. From the Azure portal menu, select Create a resource. You can also select Create a Resource on the Azure Home page.
    Create a resource
  2. On the Create a Resource page, select Integration > API Management.
    API Management
  3. In the Create API Management page, enter settings.
  4. Select Review + Create.
    API Management Service
  5. It will take some time to create the resource.
    Deployment
  6. It will take some time to create the resource, and then it will be showcased in the APIM list.
    APIM Sample

Task 3. Clean up resources

Delete all the resources to ensure you're not charged for any services you aren't using.