Functions

Build apps faster with a serverless architecture

Accelerate your development with an event-driven, serverless compute experience. Scale on demand and pay only for the resources you consume.

Take advantage of serverless compute with Functions

Easily build the apps you need using simple, serverless functions that scale to meet demand. Use the programming language of your choice, and don’t worry about servers or infrastructure.

Manage your apps instead of infrastructure

Focus on building great apps. Don’t worry about provisioning and maintaining servers, especially when your workload grows. Azure Functions provides a fully managed compute platform with high reliability and security. With scale on demand, you get the resources you need, when you need them.

Develop your way

Create Functions in the language you choose, such as JavaScript, C# and Java, with scripting options such as Python, PHP, Bash, Batch and PowerShell. Write code in an easy-to-use web-based interface, or upload pre-compiled code built with your favourite development tool. Take advantage of continuous deployment to integrate with your DevOps pipeline and use monitoring tools to troubleshoot.

Bind into services

Build rich, serverless scenarios by capitalising on a range of Azure and external services. Easily interact with Azure Cosmos DB, Storage and more, along with external services including Twilio, SendGrid and others, by adding input/output bindings to Functions. Save costs with less code to maintain.

Customers building serverless applications with Functions

What you can do with Functions

Timer-based processing

Functions supports an event based on a timer using Cron job syntax. For example, execute code that runs every 15 minutes and clean up a database table based on customised business logic.

Azure Functions timer-based processing

Azure service event processing

Functions supports triggering an event based on an activity in an Azure service. For example, execute serverless code that reads newly discovered test log files in a Blob storage container, and transform this into a row in a SQL Database table.

Azure Functions event processing

SaaS event processing

Functions supports triggers based on activity in a Software as a service (SaaS)-based application. For example, save a file in OneDrive, which triggers a function that uses the Microsoft Graph API to modify the spreadsheet, and creates additional charts and calculated data.

SaaS event processing and serverless code functions

Serverless web application architectures

Functions can power a single-page app. The app calls functions using the WebHook URL, saves user data and decides what data to display. Or, do simple customisations, such as changing advert targeting by calling a function and passing it user profile information.

Serverless architecture in Azure Functions

Serverless mobile back-ends

A mobile back-end can be a set of HTTP APIs that are called from a mobile client using the WebHook URL. For example, a mobile application can capture an image, and then call a function to get an access token for uploading to blob storage. A second function is triggered by the blob upload and resizes the image to be mobile friendly.

Serverless mobile back-ends

Real-time stream processing

For example, Internet of Things devices send messages to Azure Stream Analytics, which then calls a function to transform the message. This function processes the data and creates a new record in an SQL database.

Real-time stream processing

Real-time bot messaging

Use Functions to customise the behaviour of a bot using a WebHook. For example, create a Function that processes a message using Cortana Analytics, and call this function using Microsoft Bot Framework.

Real-time bot messaging in Azure Functions

Analyst report

Economics of serverless cloud computing

Read the report

Webinar

Go serverless

Watch the webinar

Video

Build apps faster with Azure serverless

Watch now

E-book

Get step-by-step guidance with the Azure Serverless Computing Cookbook

Read the e-book

Related products and services

Logic Apps

Automate the access and use of data across clouds without writing code

Azure Cosmos DB

Globally distributed, multi-model database for any scale

Event Grid

Get reliable event delivery at massive scale

Executing code is about to get a whole lot easier

Get 1,000,000 Functions requests each month for free with your account