Skip navigation

Azure functions

Process events with serverless code

Accelerate and simplify serverless application development

Develop more efficiently with an event-driven, serverless compute platform that helps solve complex orchestration problems. Build and debug locally without additional setup, deploy and operate at scale in the cloud, and integrate services using triggers and bindings.

Automated and flexible scaling

Keep your focus on adding value instead of managing infrastructure.

Integrated programming model

Respond to events and seamlessly connect to other services.

End-to-end development experience

Build, debug, deploy, and monitor with integrated tools and built-in DevOps capabilities.

Variety of programming languages and hosting options

Choose what's right for each scenario and quickly adjust to meet business needs.

Improve your end-to-end development experience

Get a complete serverless application development experience—from building and debugging locally to deploying and monitoring in the cloud. Use Functions extensions on Visual Studio and Visual Studio Code for a faster and more efficient development on your local machine, fully integrated with the whole Azure platform. Set up continuous integration and continuous delivery (CI/CD) with Azure Pipelines and get intelligent and proactive insights about the performance of serverless applications in production from Azure Monitor.

Simplify complex orchestration challenges resolution

Serverless functions are meant to be short-lived and stateless—until you need them to solve stateful problems. Remove this limitation using a fully managed service, without provisioning more resources, just by coding your workflow definition. Simplify complex, stateful coordination requirements programmatically in event-driven applications with the Durable Functions extension. Also, use your functions on declarative workflows that work with more than 250 connectors in Azure Logic Apps.

Learn more about durable functions

Connect other services without hard-coding integrations for faster solutions development

Only write the code that truly matters to your business. Save coding time with a programming model based on triggers and bindings that enable your serverless applications to respond to events and connect to other services seamlessly. Build more scalable and stable event-driven applications with a microservices-friendly approach using Functions.

Learn how to save time with triggers and bindings

Build once, deploy anywhere

Not all applications are the same, and one hosting plan won’t fit them all. Pick the Functions plan that matches your business needs, and deploy the same code to multiple targets – from pay-per-execution in the cloud to your Kubernetes cluster or IoT devices for edge computing.

Develop your way

Start coding straight away with the technology stack you already know and love, no new languages or frameworks to learn. Pick the programming languages you like best for each unique scenario – from web apps and APIs with .NET, Node.js or Java – to machine learning workflows with Python or cloud automation with PowerShell.

See supported languages

Create reliable serverless applications with built-in security and monitoring

  • Monitor and analyse code performance with Azure Application Insights. Spot bottlenecks and failure hotspots across all components of your application using application maps with distributed tracing from Azure Monitor.
  • Source application settings with full control over access policies and audit history –without making code changes – using Azure Key Vault.
  • Isolate networks through virtual network connectivity on the Functions Premium plan, enabling outbound traffic into a secured virtual network gating incoming traffic and defining app restrictions.
  • Configure managed identities at the service level to let applications easily access other resources protected by Azure Active Directory.
  • Grant access to your application using built-in authentication with Azure Active Directory, Microsoft account, and external providers such as Twitter, Facebook and Google.

Choose the hosting plan that fits your business needs

Consumption plan

Scale automatically and only pay for compute resources when your functions are running. On the Consumption plan, instances of the Functions host will be dynamically added and removed based on the number of incoming events.

Premium plan

While automatically scaling based on demand, use prewarmed workers to run applications with no delay after being idle, run on more powerful instances and connect to VNETs.

Azure App Service plan

Run Functions within an App Service plan at regular App Service plan rates. Good fit for long-running operations, as well as when more predictive scaling and costs are required.

Developer documentation, sample code and app development resources

Five-minute quickstarts

Build your first function on Windows or Linux using:

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

Start building serverless applications with Functions in three steps

Get 1 million requests for free per month by signing up for an Azure free account.

Create your first serverless function on .NET, JavaScript, Java or Python with a 5-minute quickstart guide.

Find inspiration and explore detailed Functions concepts in the documentation, code samples gallery and prebuilt components library.

See what customers are doing with Azure Functions

Increase development velocity

Zeiss chose Functions because of its simple programming model with declarative bindings, which allowed them to write fewer lines of code.

Zeiss

Improve processing times for complex business problems

FUJIFILM Software reduced processing time and enabled same-day tagging for an average of 3,000 photos per baseball game by using Azure Durable Functions.

Fuji Film

Achieve scale with no infrastructure management

PWC used Functions to create scalable API for its regulatory obligation knowledge mining solution.

PWC

Reduce service integration time

Hotailors can integrate three times as many new suppliers in the same amount of time using Functions.

Hotailors

Azure Functions updates, blogs and announcements

Frequently asked questions about 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 per cent of the time.

    See the full SLA for Functions
  • Functions can run in different modes: Consumption plan, Azure App Service plan and Premium plan.

    Compare hosting and scaling on different plans
  • Avoid hard-coding access to other services such as 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 favourite 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

Get one million free Functions executions each month with an Azure free account.