hands-on lab

Building and Exposing Azure Function using Azure API Management

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 7
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Azure Function App is a serverless compute service that enables you to run event-driven code without having to manage infrastructure. Azure API Management, on the other hand, is a turnkey solution for publishing APIs to external and internal customers. By integrating these two services, you can create a powerful, scalable, and secure API ecosystem that leverages the best of both worlds.

Organizations leverage this integration to streamline their API development and management processes. By using Azure Function App, developers can focus on writing code to handle specific events without worrying about the underlying infrastructure. Azure API Management provides a robust platform for managing, securing, and monitoring these APIs, ensuring that they meet organizational standards and performance requirements. This integration allows organizations to quickly deploy and scale their APIs, reduce operational overhead, and improve overall efficiency.

In this hands-on lab, you will build and publish a function app code to an Azure Function app and then expose the function app using Azure API Management service without using any function keys.

Learning objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Use Function Core Tools to publish a function app code to an Azure Function app.
  • Add Function API to Azure API Management service.
  • Trigger API URL to access function app.

Intended audience

  • Candidates for Azure Developer Associate certification (AZ-204)
  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Machine Learning Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure Function App
  • Azure API Management Service

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Publishing Function Code to Azure Function App using Azure CLI
Setting up API Management for Function App