You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/functions-overview.md
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,30 +11,30 @@ ms.author: cshoe
11
11
12
12
# Azure Functions on Azure Container Apps overview
13
13
14
-
Azure Functions provides integrated support for developing, deploying, and managing containerized function apps on Azure Container Apps. Use Azure Container Apps for your Functions apps when you need to run in the same environment as other microservices, APIs, websites, workflows, or any container hosted programs.
14
+
Azure Functions provides integrated support for developing, deploying, and managing containerized Functions apps on Azure Container Apps. Use Azure Container Apps for your Functions apps when you need to run in the same environment as other microservices, APIs, websites, workflows, or any container hosted programs.
15
15
16
-
Container Apps hosting lets you run your functions in a fully supported and managed, container-based environment with built-in support for open-source monitoring, mTLS, Dapr, and Kubernetes Event-driven Autoscaling (KEDA).
16
+
Container Apps hosting lets you run your Functions in a fully supported and managed, container-based environment with built-in support for open-source monitoring, mTLS, Dapr, and Kubernetes Event-driven Autoscaling (KEDA).
17
17
18
18
As an integrated feature on Azure Container Apps, you can deploy Azure Functions images directly onto Azure Container Apps using the `Microsoft.App` resource provider by setting `kind=functionapp` when calling `az containerapp create`. Apps created this way have access to all Azure Container Apps features.
19
19
20
20
This article shows you how to create and deploy an Azure Functions app that runs within Azure Container Apps. You learn how to:
21
21
22
22
- Set up a containerized Functions app with preconfigured auto scaling rules
23
23
- Deploy your application using either the Azure portal or Azure CLI
24
-
- Verify your deployed function with an HTTP trigger
24
+
- Verify your deployed Functions with an HTTP trigger
25
25
26
26
By running Functions in Container Apps, you benefit from automatic scaling, easy configuration, and a fully managed container environment—all without having to manage the underlying infrastructure yourself.
27
27
28
28
## Key benefits
29
29
The Container Apps hosting model builds on the flexibility of containerized workloads and the event-driven nature of Azure Functions. It offers the following key advantages:
30
-
-**Run functions as containers** with custom dependencies and language stacks.
30
+
-**Run Functions as containers** with custom dependencies and language stacks.
31
31
-**Scale in to zero and scale out to 1000 instances** using KEDA.
32
-
-**Secure networking** with full VNet integration.
33
-
-**Advanced deployment features** like multi-revisions, traffic splitting, and Dapr integration.
32
+
-**[Secure networking](../container-apps/networking.md)** with full [VNet integration](../container-apps/custom-virtual-networks.md).
33
+
-**Advanced [Container App features](../container-apps/overview.md#features)** like multi-revisions, traffic splitting, [Dapr integration](../container-apps/dapr-overview.md) and [observability components](../container-apps/observability.md).
34
34
-**[Serverless and Dedicated GPU](../container-apps/gpu-serverless-overview.md)** support for compute-intensive workloads.
35
-
-**Unified ACA environment** to run Functions alongside microservices, APIs, and background jobs.
35
+
-**Unified Container Apps environment** to run Functions alongside microservices, APIs, and background jobs.
36
36
37
-
This table helps you directly compare the features of function on Container Apps with Flex consumption and classic consumptionplan.
37
+
This table helps you directly compare the features of Functions on Container Apps with [Flex consumption plan](../azure-functions/flex-consumption-plan.md).
38
38
| Feature | Container Apps | Flex Consumption Plan |
39
39
| --- | --- | --- |
40
40
| Scale to zero | ✅ Yes (via KEDA) | ✅ Yes |
@@ -46,7 +46,7 @@ This table helps you directly compare the features of function on Container Apps
46
46
| Built-in features | Container Apps feature support. For instance, KEDA, Dapr, multi-revisions, mTLS, sidecars, ingress control and more | Functions-only features |
47
47
| Billing model | Container Apps pricing: Consumption plan (vCPU, memory, requests) & Dedicated plan (workload profile based) | Execution-time + always-ready instances |
48
48
49
-
For a complete comparison of the Functions on Container Apps against Flex Consumption plan and all other plan and hosting types, see [function scale and hosting options](../azure-functions/functions-scale.md).
49
+
For a complete comparison of the Functions on Container Apps against Flex Consumption plan and all other plan and hosting types, see [Functions scale and hosting options](../azure-functions/functions-scale.md).
50
50
51
51
## Scenarios
52
52
@@ -63,15 +63,15 @@ Azure Functions on Container Apps provide a versatile combination of services to
63
63
-**Common Azure Functions scenarios**: All common Azure Functions scenarios like processing file uploads, running scheduled tasks, responding to database changes, machine learning/AI and others detailed in [Azure Functions scenarios](/azure/azure-functions/functions-scenarios?pivots=programming-language-csharp).
64
64
65
65
## Pricing and billing
66
-
Azure Functions on Azure Container Apps (ACA) follows the same pricing model as Azure Container Apps. Billing is based on the [plan type](../container-apps/plans.md) you select for your environment, which can be either Consumption or Dedicated.
66
+
Azure Functions on Azure Container Apps follows the same pricing model as Azure Container Apps. Billing is based on the [plan type](../container-apps/plans.md) you select for your environment, which can be either Consumption or Dedicated.
67
67
-[Consumption plan](..//container-apps/billing.md#consumption-plan): This serverless compute option bills you only for the resources your apps use while they are running.
68
68
-[Dedicated plan](../container-apps/billing.md#consumption-dedicated): This option provides customized compute resources, billing you for the instances allocated to each workload profile.
69
69
70
70
Your choice of plan determines how billing calculations are made. Different applications within an environment can use different plans.
71
71
72
72
Key points to note:
73
-
- There are no additional charges for using the Azure Functions programming model within ACA.
74
-
- Durable Functions and other advanced patterns are supported and billed under the same ACA pricing model.
73
+
- There are no additional charges for using the Azure Functions programming model within Container Apps.
74
+
- Durable Functions and other advanced patterns are supported and billed under the same Container Apps pricing model.
75
75
For detailed billing mechanics and examples, refer to the [Billing in Azure Container Apps](../container-apps/billing.md) documentation.
76
76
77
77
## Event-driven scaling
@@ -84,16 +84,15 @@ All Functions triggers are available in your containerized Functions app. Howeve
Azure Functions on Container Apps are designed to configure the scale parameters and rules as per the event target. You don't need to worry about configuring the KEDA scaled objects. You can still set minimum and maximum replica count when creating or modifying your function app.
93
+
Azure Functions on Container Apps are designed to configure the scale parameters and rules as per the event target. You don't need to worry about configuring the KEDA scaled objects. You can still set minimum and maximum replica count when creating or modifying your Functions app.
93
94
94
-
Auto scaling for Azure Cosmos DB trigger and Durable functions is currently supported using connection strings only.
95
-
96
-
You can write your function code in any [language stack supported](/azure/azure-functions/supported-languages?tabs=isolated-process%2Cv4&pivots=programming-language-csharp) by Azure Functions. You can use the same Functions triggers and bindings with event-driven scaling.
95
+
You can write your Functions code in any [language stack supported](/azure/azure-functions/supported-languages?tabs=isolated-process%2Cv4&pivots=programming-language-csharp) by Azure Functions. You can use the same Functions triggers and bindings with event-driven scaling.
97
96
98
97
## Managed identity authorization
99
98
@@ -111,16 +110,16 @@ For other bindings, use fixed replicas when using managed identity authenticatio
111
110
112
111
## Scaling and performance
113
112
114
-
Azure Functions on ACA scale automatically based on events using KEDA, with no need to configure scale rules manually. You can still set min/max replicas to control scaling behavior.
113
+
Azure Functions on Container Apps scale automatically based on events using KEDA, with no need to configure scale rules manually. You can still set min/max replicas to control scaling behavior.
115
114
116
115
-**Event-driven scaling**: Automatically scales based on triggers like Event Grid, Service Bus, or HTTP.
117
116
-**Scale to zero**: Idle apps scale-in to zero to save costs.
-**Concurrency**: Each instance can process multiple events in parallel.
120
-
-**High scale**: Scale up to 1000 instances per app (default is 10).
121
-
-**GPU support**: Run compute-heavy workloads like AI inference using GPU-backed nodes in Dedicated plans.
119
+
-**High scale**: Scale-out to 1000 instances per app (default is 10).
120
+
-**GPU support**: Run compute-heavy workloads like AI inference using GPU-backed nodes.
122
121
123
-
This makes ACA ideal for both bursty and steady-state workloads. To learn more, see [set scaling rules in azure container apps](../container-apps/scale-app.md)
122
+
This makes Container Apps ideal for both bursty and steady-state workloads. To learn more, see [scaling in azure container apps](../container-apps/scale-app.md)
124
123
125
124
## Networking and security
126
125
@@ -136,7 +135,7 @@ These capabilities make Container Apps-hosted Functions ideal for enterprise-gra
136
135
137
136
## Application logging
138
137
139
-
You can monitor your containerized function app hosted in Container Apps using Azure Monitor Application Insights in the same way you do with apps hosted by Azure Functions. For more information, see [Monitor Azure Functions](/azure/azure-functions/monitor-functions).
138
+
You can monitor your containerized Functions app hosted in Container Apps using Azure Monitor Application Insights in the same way you do with apps hosted by Azure Functions. For more information, see [Monitor Azure Functions](/azure/azure-functions/monitor-functions).
140
139
141
140
For bindings that support event-driven scaling, scale events are logged as `FunctionsScalerInfo` and `FunctionsScalerError` events in your Log Analytics workspace. For more information, see [Application Logging in Azure Container Apps](./logging.md).
142
141
@@ -147,4 +146,4 @@ Submit an issue or a feature request to the [Azure Container Apps GitHub repo](h
147
146
## Next steps
148
147
149
148
> [!div class="nextstepaction"]
150
-
> [Use Azure Functions in Azure Container Apps](functions-usage.md)
149
+
> [Use Azure Functions in Azure Container Apps](Functions-usage.md)
0 commit comments