Implement an API Management Instance

Learn On Demand
Learn On Demand Pro Series

This IT Pro Challenge hands-on lab gives you an understanding of how Azure API Management (APIM) acts as a central hub, where you can publish and manage APIs in one place. You will learn how to host web APIs by using an APIM Instance, import and test a backend API using the Open API specification backend API, and publish that API.

45 minutes
Join over 3 million cybersecurity professionals advancing their career
Sign up with

Already have an account? Sign In »


In this IT Pro Challenge lab, you will learn about the benefits of end-to-end API management using Azure API Management (APIM), which provides a central interface for provisioning and managing APIs for web and other applications. Using APIM, you will create an Azure APIM Instance, import and test Open API specification backend API, publish that API, and use metrics to monitor the API's performance. The skills acquired in this lab are useful for a career as an Azure administrator or system administrator.


The scenario for this hands-on lab is that you are an Azure administrator, and your company is migrating its primary web application from an on-premise datacenter to Azure. You are tasked with creating an Azure API Management (APIM) Instance to host the company's APIs. You will import and test a backend API and then publish that API.

APIM is a secure and scalable means of publishing, consuming, and managing APIs running on Microsoft Azure. Azure API Management is mainly used to provide a central interface to provision, and manage API for web and cloud applications and services. It gives you all the tools you need for end-to-end API management in one place.

Create an Azure API Management Instance

To start the lab, you will sign in to the Azure portal, navigate to the API Management service blade, and create a new API Management Instance (apim12780171) using the provided Azure resource group. You need to wait for the new API Management Instance to be activated before moving on to the next step.

NOTE: API Management Instance activation can take 20-30 minutes to complete. If you select Pin to dashboard, it makes finding a newly created service easier.

Import and test a backend API

Now, on the API Management Instance blade of the Azure portal, you need to create a new API using the Open API specification backend API ( and the Full form view. The Open API specification backend API is the service implementing the API. APIM will forward requests to this address.

To verify the new API settings, select the API you just created (apim12780171) and the Settings tab. To test the API, select the Test tab and then GetSpeakers. This page displays headers, one of Ocp-Apim-Subscription-Key, the subscription key of the product associated with this API. When you're finished, click Send, and the backend will respond with 200 OK and some data.

Publish and monitor an API

Now on the Products page in the Azure portal, you need to add a product (Cloudslice product) and then add an API (Demo Conference API) to the product. Then you will navigate to the Metrics blade for the API and click the Add metric and Time range buttons to select the Capacity and Successful Gateway Requests metrics over the last 30 minutes.

Summary and Conclusion

By taking this hands-on lab, you will learn how to use the Azure portal to create an Azure API Management Instance, import and test a backend API, and then publish and monitor that API. You will learn how to use the APIM to create and publish web APIs, collect usage statistics, and use performance reporting.