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,
- Configure Azure Resource Group.
- Configure API Management Service.
- Clean up resources.
Pre-requisites
- An Active Azure Account.
- User with sufficient access to create Azure Resource Group
- User with sufficient access to create APIM.
Task 1. Create and configure a resource group
- Sign in to the Azure portal.
- Select Resource groups.
- Select Create.
- Select Create.
- 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.
- Select Review + Create
- Select Create. It takes a few seconds to create a resource group.
- 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
Task 2. Create and configure API management service
- From the Azure portal menu, select Create a resource. You can also select Create a Resource on the Azure Home page.
- On the Create a Resource page, select Integration > API Management.
- In the Create API Management page, enter settings.
- Select Review + Create.
- It will take some time to create the resource.
- It will take some time to create the resource, and then it will be showcased in the APIM list.
Task 3. Clean up resources
Delete all the resources to ensure you're not charged for any services you aren't using.