Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Azure Serverless Computing Cookbook. - Third Edition

You're reading from  Azure Serverless Computing Cookbook. - Third Edition

Product type Book
Published in Jun 2020
Publisher Packt
ISBN-13 9781800206601
Pages 458 pages
Edition 3rd Edition
Languages
Concepts
Author (1):
Praveen Kumar Sreeram Praveen Kumar Sreeram
Profile icon Praveen Kumar Sreeram

Table of Contents (14) Chapters

Preface 1. Accelerating cloud app development using Azure Functions 2. Working with notifications using the SendGrid and Twilio services 3. Seamless integration of Azure Functions with Azure Services 4. Developing Azure Functions using Visual Studio 5. Exploring testing tools for Azure functions 6. Troubleshooting and monitoring Azure Functions 7. Developing reliable serverless applications using durable functions 8. Bulk import of data using Azure Durable Functions and Cosmos DB 9. Configuring security for Azure Functions 10. Implementing best practices for Azure Functions 11. Configuring serverless applications in the production environment 12. Implementing and deploying continuous integration using Azure DevOps Index

Throttling Azure Functions using API Management

You have already learned in previous chapters that we can use Azure Functions' HTTP triggers as a back-end web API. To restrict the number of requests by client applications to, let's say, 10 requests per second, we would usually have to develop a lot of logic. Thanks to Azure API Management, we don't need to write any custom logic if we integrate Azure Functions with API Management.

In this recipe, you'll learn how to restrict clients to only one API request per minute for a given IP address. The following are the high-level steps that we'll follow:

  1. Creating an Azure API Management service
  2. Integrating Azure Functions with API Management
  3. Configuring request throttling using inbound policies
  4. Testing the rate limit inbound policy configuration

Getting ready

To get started, you need to create an Azure API Management service by performing the following steps:

  1. Search for API...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}