This repository contains a set of entry-level exercises, which cover the basics of building and managing serverless APIs in Microsoft Azure - with Azure Functions, Azure API Management, and Azure Application Insights.
After completing the workshop, you will be able to:
- Understand and articulate benefits of using API management and API gateway solutions in serverless architectures
- Expose serverless services as APIs
- Protect, accelerate, and transform APIs with runtime policies
- Observe the API traffic and identify problems across all layers of the stack
- Evolve your APIs with versions, without breaking client applications
- ... and more!
The image above illustrates the overall solution that will be created during the workshop.
Serverless computing enables developers to build applications faster by eliminating the need for them to manage infrastructure. With serverless applications, the cloud service provider automatically provisions, scales, and manages the infrastructure required to run the code.
Microsoft Azure offers a portfolio of serverless technologies, which can be used for building APIs. In this workshop, we will implement APIs end-to-end with Azure Functions and Azure API Management, realizing the benefits of serverless solutions:
- Automated scaling up and down, based on API traffic, to serve bursty payloads and handle explosive growth of services
- Architectural simplicity without no infrastructure management overhead, to spend resources on innovating and solving business problems rather than managing infrastructure
- Pay-per-consumption pricing model, to reduce the barrier of entry to the market
This repository contains source code of a sample serverless API implemented with Azure Functions as well as six exercises:
- Setting up the Azure environment
- Exposing Functions as APIs in API Management
- Packaging APIs with Products
- Applying API runtime policies
- Monitoring APIs with Application Insights
- Versioning APIs
The exercises require minimal knowledge of programming. Each exercise contains references to additional resources, such as documentation, blog posts, or conference session recordings.
Get started with Exercise 1: Provisioning Azure Resources.
- Benefits of API Management in microservices-based architectures
- Azure Functions: product overview, documentation
- Azure API Management: product overview, documentation
- Azure Serverless overview
- Serverless APIs module on Microsoft Learn
my first change
another change