A Linux-based serverless plan that extends the classic Consumption model with: VNet integration, configurable instance memory sizes (512 MB / 2048 MB / 4096 MB), always-ready instances for reduced cold starts, per-function scaling, up to 1,000 scale-out instances, and Azure Files mounts. Pay only for what you use, scales to zero.
Supported Languages
| Language | Versions |
| C# (isolated worker) | .NET 8, 9, 10 |
| Java | 8, 11, 17, 21, 25 |
| Node.js | 22, 24 |
| Python | 3.10 – 3.14 |
| PowerShell | 7.4 |
| Go / Custom Handlers | 1.0 |
⚠️ C# in-process model is not supported. Migrate to isolated worker model.
Prerequisites
- Azure account with an active subscription
- Azure CLI v2.60.0+ (or Azure Cloud Shell)
- A local function project (HTTP-triggered is easiest for testing)
Step 1: Set Up Your Azure Account
- Create an Azure Account: If you don’t already have one, sign up for Azure.
- Log In to Azure Portal: Go to the Azure Portal and log in with your credentials.
Step 2: Create a Resource Group
- In the Azure Portal, click on Resource groups in the left-hand menu.
- Click + Add to create a new resource group.
- Enter a name for your resource group (e.g.,
myResourceGroup). - Select a region for your resource group.
- Click Review + create and then Create.
Step 3: Create a Storage Account
- In the Azure Portal, click on Create a resource.
- Search for Storage Account and select it.
- Click Create.
- Choose your subscription and the resource group you created.
- Provide a unique name for your storage account.
- Select the region, performance, redundancy, and other settings as per your requirements.
- Click Review + create and then Create.
Step 4: Create an Azure Function App
- In the Azure Portal, click on Create a resource.
- Search for Function App and select it.
- Click Create.
- Fill in the basics:
- Subscription: Choose your subscription.
- Resource Group: Select the resource group you created.
- Function App name: Provide a unique name.
- Publish: Select Code.
- Runtime stack: Choose your preferred runtime (e.g.,.NET, JavaScript, Python).
- Version: Choose the version that matches your runtime stack.
- Region: Select the region that is closest to you or your users.
- Go to the Hosting tab:
- Operating System: Choose your OS (Windows or Linux).
- Plan: Select Consumption (Elastic). This is the Flexible Consumption plan.
- Storage: Select the storage account you created.
- Click
Step 1: Check Supported Regions Step 2: Create a Resource Group Step 3: Create a Storage Account Step 4: Create the Function App (Flex Consumption) Step 5: Deploy Your Code Step 6: Configure Instance Memory (Optional) Step 7: Set Always-Ready Instances (Optional) Step 8: Configure VNet Integration (Optional) Step 9: Set HTTP Concurrency (Optional)
Certainly! Here’s a more detailed step-by-step guide that includes all the steps you’ve listed:
Step 1: Check Supported Regions
- Verify Supported Regions: Ensure that the region you want to use supports the Flexible Consumption plan. You can check this in the Azure documentation or by contacting Azure support.
Step 2: Create a Resource Group
- In the Azure Portal, click on Resource groups in the left-hand menu.
- Click + Add to create a new resource group.
- Enter a name for your resource group (e.g.,
myResourceGroup). - Select a region for your resource group.
- Click Review + create and then Create.
Step 3: Create a Storage Account
- In the Azure Portal, click on Create a resource.
- Search for Storage Account and select it.
- Click Create.
- Choose your subscription and the resource group you created.
- Provide a unique name for your storage account.
- Select the region, performance, redundancy, and other settings as per your requirements.
- Click Review + create and then Create.
Step 4: Create the Function App (Flex Consumption)
- In the Azure Portal, click on Create a resource.
- Search for Function App and select it.
- Click Create.
- Fill in the basics:
- Subscription: Choose your subscription.
- Resource Group: Select the resource group you created.
- Function App name: Provide a unique name.
- Publish: Select Code.
- Runtime stack: Choose your preferred runtime (e.g.,.NET, JavaScript, Python).
- Version: Choose the version that matches your runtime stack.
- Region: Select the region that is closest to you or your users.
- Go to the Hosting tab:
- Operating System: Choose your OS (Windows or Linux).
- Plan: Select Consumption (Elastic). This is the Flexible Consumption plan.
- Storage: Select the storage account you created.
- Click Review + create and then Create.
Step 5: Deploy Your Code
- Local Development: Develop your function locally using Visual Studio Code, Visual
Key Constraints
- One app per plan (but you can have many plans)
- Linux only (no Windows)
- App initialization times out after 30 seconds
- Regional quota: 250 cores shared across all Flex Consumption apps in a subscription/region (can request increase)
Start with the default 2048 MB instance, no always-ready, and scale from there once you see real traffic patterns. Full docs: Microsoft Learn