---
# System prepended metadata

title: Azure Functions
tags: [azure, ' azure functions']

---

---
tags: azure, azure functions 
---

# Azure Functions

>**Azure Functions** is a serverless solution that allows you to write less code, maintain less infrastructure, and save on costs. Instead of worrying about deploying and maintaining servers, the cloud infrastructure provides all the up-to-date resources needed to keep your applications running.


## Azure Function Benefits

1. Azure Functions allows you to implement your system's logic into readily available blocks of code. These code blocks are called "functions". Different functions can run anytime you need to respond to critical events.
2. As requests increase, Azure Functions meets the demand with as many resources and function instances as necessary - but only while needed. As requests fall, any extra resources and application instances drop off automatically.


## Where should I use Azure Functions

 

| If you want to...           | then...                                                   | Service           |
| --------------------------- | --------------------------------------------------------- | ----------------- |
| Build a web API             | Implement an endpoint for your web applications using the | [HTTP trigger](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook)      |
| Process file uploads        | Run code when a file is uploaded or changed in            | [blob storage](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob)      |
|  Respond to database changes                           |  Run custom logic when a document is created or updated in                                                         |     [Cosmos DB](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb-v2)              |
| Build a serverless workflow|Chain a series of functions together using|[durable functions](https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview)|
|Run scheduled tasks|Execute code at|[set times](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer)|
|Create reliable message queue systems|Process message queues using |[Queue Storage](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue), [Service Bus](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus), or [Event Hubs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-hubs)|
|Analyze IoT data streams|Collect and process|[data from IoT devices](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-iot)|
|Process data in real time|to respond to data in the moment use|[Functions and SignalR](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-signalr-service)|


