Azure Functions
Execute event-driven serverless code with an end-to-end development experience
Design serverless apps in the language of your choice while focusing on business logic.
Overview
Build and deploy serverless apps at scale
-
Use the language of your choice to connect functions to Azure services with triggers and bindings.
-
Get built-in serverless elasticity with enterprise-grade networking to rapidly scale your app from zero to wherever your needs take you—and back.
-
Opt for the hosting plan that works for your scenario, with a pay-per-use model.
-
Maximize the potential of the Azure data and AI platform to develop your serverless apps with built-in DevOps tools, streamlining the development, deployment, and management lifecycle.
Use cases
Apply serverless functions to a variety of use cases
Intelligent apps
Develop retrieval augmented generation (RAG) apps, chatbots, and text completion with generative AI, as well as other models or frameworks.
Workflow orchestration
Simplify complex orchestration needs with built-in fault tolerance using Durable Functions, including long-running functions.
Security
Built-in security and compliance
Microsoft has committed to
investing $20 billion in cybersecurity
over five years.
We employ more than
8,500 security and threat intelligence experts
across 77 countries.
Azure has one of the largest
compliance certification portfolios
in the industry.
Pricing
Flexible pricing options to fit your needs
- Flex Consumption plan: Get fast elastic scale with private networking, always-ready instances, and high concurrency control.
- Azure Container Apps plan: Use Functions with Microsoft Azure Container Apps plans for multitype microservices, consistent network, observability, and billing configuration.
- Start for free: Monthly free grant of up to 1,000,000 executions.
RELATED PRODUCTS
Azure products work better together
Use Azure Functions with other Azure products to build advanced and comprehensive solutions.
Serverless containers
Azure Container Apps
Deploy modern apps and microservices using serverless containers.
Generative AI
Azure AI Foundry
Build without boundaries.
Managed Kubernetes
Azure Kubernetes Service (AKS)
Deploy and scale containers on managed Kubernetes.
Platform as a service
Azure App Service
Quickly and easily create powerful cloud apps for web and mobile.
AI developer tool
GitHub Copilot
Suggest code and entire functions in real time, right from your editor, powered by Azure OpenAI Service.
Databases
Azure databases
Build AI-ready apps with intelligent cloud databases.
Developer platform
GitHub
Accelerate development with the world’s most widely adopted AI-powered developer platform.
Messaging
Messaging services on Azure
Connect your modern applications—written in different languages and hosted anywhere—with a comprehensive set of messaging services on Azure.
Learning journey
Build intelligent serverless apps
Develop adaptive, responsive, and personalized experiences by building and modernizing apps with Azure.
CUSTOMER STORIES
See how customers are innovating with Azure Functions
“…we thought it would be more meaningful to focus on functions that would allow everyone in the company to utilize their own data and gain insights from it.”
Daisuke Goto, Group Manager of Modular Design Group, DPI Department, Digital Innovation Division, Mitsubishi Heavy Industries, Ltd.
“The solution proposed taking these data, centralizing them digitally, so we could use them for decision-making and making them available to physicians."
Igor de Paula, IT Coordinator, Dataside (Microsoft Partner)
"Azure, unlike other clouds, doesn’t force isolation. So, that matches with blockchain, where not everything has to be behind private networks. That works perfectly for us, because blockchain is public.”
David Lebee, Chief Software Architect, Gluwa
"Working with Azure makes everything we’re doing quicker. Instead of running one experiment, we can run many, training the model with much bigger datasets.”
Nicole McNally, AI Scientist, Mars
RESOURCES
Learn how to get started
Learn how to build intelligent apps
Azure Functions for developers
Discover new learning paths
Learn how to create serverless applications
Get started with Azure Functions
Azure Functions developer guide
Supported languages in Azure Functions
Azure Functions GitHub repo
Code samples gallery
Azure AI scenarios
Follow Azure Functions on X
Stack Overflow questions and support
Discover samples and repositories
Build your first function using Node.js
Build your first function using Python
Build your first function using Java
Build your first function using PowerShell
Build your first function using .NET
Frequently asked questions
-
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.
You focus on the code that matters most to you, in the most productive language for you, and Azure Functions handles the rest.
-
Azure Functions allows you to implement your system's logic as event-driven, readily available blocks of code. These code blocks are called "functions". You write your function code in your preferred language using your favorite development tools and then deploy your code to the Azure cloud. Functions provides native support for developing in C#, Java, JavaScript, PowerShell, Python, plus the ability to use more languages, such as Rust and Go.
-
Functions provides varying levels of support for languages including C#, JavaScript, F#, Java, and Python.
See Supported languages in Azure Functions for details. -
Functions apps on the Flex Consumption plan or the App Service plan will run or be available 99.95% of the time.
See the complete SLA for Functions . -
Functions can run on the Flex Consumption plan, Azure App Service plan, Premium plan, or Azure Container Apps plan.
See Azure Functions scale and hosting plans for details. -
Avoid hard-coding access to other services like Azure Blob 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 triggers and bindings Functions supports for details. -
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 for more. -
Running Functions on Container Apps is a good fit for multitype microservices architecture in a centralized environment. This gives you consistent network, observability, and billing configurations.
NEXT STEPS
Choose the Azure account that’s right for you
Pay as you go or try Azure free for up to 30 days.
Azure Solutions
Azure cloud solutions
Solve your business problems with proven combinations of Azure cloud services, as well as sample architectures and documentation.
Business Solution Hub
Find the right Microsoft Cloud solution
Browse the Microsoft Business Solutions Hub to find the products and solutions that can help your organization reach its goals.