Trace Id is missing
Skip to main content

Azure Functions

Execute event-driven serverless code with an end-to-end development experience.

Accelerate and simplify serverless application development

Azure Functions is an event-driven, serverless compute platform that helps you develop more efficiently using the programming language of your choice. Focus on core business logic with the highest level of hardware abstraction. Simplify complex orchestration challenges, build and debug locally, deploy at scale in the cloud, and connect functions to Azure services using triggers and bindings. Get started with the key scenarios.

Azure Functions now offers new capabilities, including fast scale via the Flex consumption plan. Learn more.

Integrated programming model with a variety of programming languages

Built-in serverless elasticity to build fast, secure, and reliable apps at scale

Flexible hosting options with a pay-per-use model for improved operational efficiency

Built-in DevOps tools for an end-to-end development experience

.NET, node.js, Java, Python and PowerShell logos

Develop your way

  • Optimize inner loop development on your local machine.
  • Accelerate development by using your existing programming language skills. With the integrated programming model, respond to events and seamlessly connect to other services with a rich set of triggers and bindings.

Use event-driven architecture with open-source components

Data monitoring app performance and usage such as active users, daily sessions per user, session duration and top devices.
Video container

Build cost-optimized portable serverless apps

  • Choose your target compute with flexible hosting options including pay as you go.
  • Leverage a centralized environment for consistent and secure network isolation, observability, and scaling.

Build and run apps anywhere

  • Build and debug apps locally with open-source runtime.
  • Deploy, monitor, and govern your applications with GitHub Actions, Azure DevOps, and more options
  • Build extensible deployment pipelines for your needs.

Comprehensive security and compliance, built in

Choose the hosting plan that fits your business needs

Consumption plan

Scale automatically and pay only for compute resources when your functions are running.

Premium plan

Scale on demand, use pre-warmed workers to run applications with no delay after idle, run on more powerful instances, and connect to virtual networks.

Azure App Service plan

Run Functions at regular App Service plan rates for long-running operations, and when more predictive scaling and costs are required.

Azure Container Apps (preview)

Use Functions with Container Apps plans for multitype microservices architecture, consistent network, observability, and billing configurations.

Get started with an Azure free account

1

Start free. Get USD200 credit to use within 30 days. While you have your credit, get free amounts of many of our most popular services, plus free amounts of 55+ other services that are always free.

2

After your credit, move to pay as you go to keep building with the same free services. Pay only if you use more than your free monthly amounts.

3

After 12 months, you'll keep getting 55+ always-free services—and still pay only for what you use beyond your free monthly amounts.

See what customers are doing with Azure Functions

BrainStorm uses Functions to achieve scalability

By moving to a service-oriented architecture based on Azure Kubernetes Service (AKS) and Azure Functions, BrainStorm achieved faster development, better functionality, stability, flexible costs, and scalability to deliver a better user experience.

BrainStorm

Yale School of Medicine makes every organ count

Yale School of Medicine is using Azure to digitally transform clinical research aimed at improving the viability of kidneys used in transplants. Using a novel big data platform on Azure, researchers now get insights in minutes instead of months.

Yale School of Medicine

Mr. Turing accelerates cognitive search with Azure

“When customers send us documents, we need to process them fast. Azure Functions and Azure Kubernetes Service both deliver great scalability, enabling us to process many documents in parallel to keep our customers happy—without paying for spare capacity when we don’t need it.”

Vinícius Oliveira, Research and Development Lead, Mr. Turing

Mr. Turing

EnBW automates its Virtual Power Plant with Azure

“By moving to a serverless architecture, we were able to achieve tremendous gains in speed. That’s what clinched it for us.”

Tobias Lindner, Head of IT, EnBW’s Virtual Power Plant

EnBW
Back to tabs

Azure Functions documentation, sample code, and resources

Five-minute quickstarts

Build your first function on Windows or Linux using:

Node.js

Python

Java

C#

PowerShell

.NET

Learning resources

Find inspiration and explore detailed Functions concepts in the documentation.

Build and monitor event-driven applications with the Azure Serverless Computing Cookbook.

Community and Azure Support

Follow Azure Functions on Twitter.

Ask questions and get support from Microsoft engineers and Azure community experts on Stack Overflow.

Find samples and repositories on GitHub.

Build these solutions with Functions

Serverless APIs with Node.js or Microsoft .NET.

Serverless web application for static websites and single-page applications.

Serverless microservices for event-driven scenarios.

Machine learning workflows with a serverless architecture.

Serverless data processing pipelines for files and real-time data.

Serverless cloud automation and hybrid resources management.

Serverless rapid application development for line of business apps.

Frequently asked questions about Azure Functions

  • Functions provides varying levels of support for languages including C#, JavaScript, F#, Java, and Python.

    See all supported languages

  • Functions apps on Consumption plans and App Service plans will run or be available 99.95 percent of the time.

    See the full SLA for Functions

  • Functions can run in different modes: Consumption plan, Azure App Service plan, Premium plan, and Azure Container Apps (preview).

    Compare hosting and scaling on different plans

  • Avoid hard-coding access to other services like Azure Blog storage and Azure Cosmos DB using triggers and bindings. Triggers are what cause a function to run, and bindings are declarations that connect the function to another resource.

    See all triggers and bindings Functions supports

  • Create and test functions on your local machine using your favorite code editor and development tools. Connect local functions to live Azure services and debug them on your local computer using the full Functions runtime. The requirements for developing functions on your local computer depend on the programming languages and tools you prefer.

    See local development environments

  • Running Functions on Container Apps (preview) is a good fit for multitype microservices architecture in a centralized environment. This gives you consistent network, observability, and billing configurations.

Ready when you are—let's set up your Azure free account

Try Azure free