Skip to content

Commit 8a6920f

Browse files
updates from PM review
1 parent 01a8919 commit 8a6920f

File tree

2 files changed

+40
-13
lines changed

2 files changed

+40
-13
lines changed

articles/container-apps/functions-overview.md

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: container-apps
55
author: craigshoemaker
66
ms.service: azure-container-apps
77
ms.topic: how-to
8-
ms.date: 03/31/2025
8+
ms.date: 04/03/2025
99
ms.author: cshoe
1010
---
1111

@@ -15,6 +15,8 @@ Azure Functions provides integrated support for developing, deploying, and manag
1515

1616
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).
1717

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+
1820
This article shows you how to create and deploy an Azure Functions app that runs within Azure Container Apps. You learn how to:
1921

2022
- Set up a containerized Functions app with preconfigured auto scaling rules
@@ -23,6 +25,18 @@ This article shows you how to create and deploy an Azure Functions app that runs
2325

2426
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.
2527

28+
## Scenarios
29+
30+
Azure Functions in Container Apps provides a versatile combination of services to meet the needs of your applications. The following scenarios are representative of the types of situations where paring Azure Container Apps with Azure Functions gives you the control and scaling features you need.
31+
32+
- **Line-of-business APIs**: Package custom libraries, packages, and APIs with Functions for line-of-business applications.
33+
34+
- **Migration support**: Migration of on-premises legacy and/or monolith applications to cloud native microservices on containers.
35+
36+
- **Event-driven architecture**: Supports event-driven applications for workloads already running on Azure Container Apps.
37+
38+
- **Serverless workloads**: Serverless workload processing of videos, images, transcripts, or any other processing intensive tasks that required GPU compute resources.
39+
2640
## Event-driven scaling
2741

2842
All Functions triggers are available in your containerized Functions app. However, only the following triggers can dynamically scale (from zero instances) based on received events when running in a Container Apps environment:
@@ -39,23 +53,27 @@ All Functions triggers are available in your containerized Functions app. Howeve
3953

4054
Azure Functions on Container Apps is 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.
4155

42-
You can write your function code in any language stack supported by Azure Functions. You can use the same Functions triggers and bindings with event-driven scaling.
56+
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.
4357

44-
## Scenarios
58+
## Managed identity authorization
4559

46-
Azure Functions in Container Apps provides a versatile combination of services to meet the needs of your applications. The following scenarios are representative of the types of situations where paring Azure Container Apps with Azure Functions gives you the control and scaling features you need.
60+
To adhere to security best practices, connect to remote services using Microsoft Entra authentication and managed identity authorization.
4761

48-
- **Line-of-business APIs**: Package custom libraries, packages, and APIs with Functions for line-of-business applications.
62+
Managed identities are available for the following connections:
4963

50-
- **Migration support**: Migration of on-premises legacy and/or monolith applications to cloud native microservices on containers.
64+
- [Default storage account](/azure/azure-functions/functions-reference) (AzureWebJobsStorage)
65+
- [Azure Container Registry](/azure/azure-functions/functions-deploy-container-apps?tabs=acr): When running in Container Apps, you can use Microsoft Entra ID with managed identities for all binding extensions that support managed identities. Currently, only these binding extensions support event-driven scaling when using managed identity authentication:
66+
- Azure Event Hubs
67+
- Azure Queue Storage
68+
- Azure Service Bus
5169

52-
- **Event-driven architecture**: Supports event-driven applications for workloads already running on Azure Container Apps.
70+
For other bindings, use fixed replicas when using managed identity authentication. For more information, see the [Functions developer guide](/azure/azure-functions/functions-reference).
5371

54-
- **Serverless workloads**: Serverless workload processing of videos, images, transcripts, or any other processing intensive tasks that required GPU compute resources.
72+
## Application logging
5573

56-
## Making a selection
74+
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).
5775

58-
TODO: functions vs. jobs
76+
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).
5977

6078
## Next steps
6179

articles/container-apps/functions-usage.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: container-apps
55
author: craigshoemaker
66
ms.service: azure-container-apps
77
ms.topic: how-to
8-
ms.date: 03/31/2025
8+
ms.date: 04/03/2025
99
ms.author: cshoe
1010
zone_pivot_groups: azure-cli-or-portal
1111
---
@@ -23,6 +23,8 @@ This article shows you how to create an [Azure Functions app in Azure Container
2323

2424
## Create a Functions app
2525

26+
The following steps show you how to use a sample container image to create your container app. If you want to use this procedure with a custom container image, see [Create your first Azure Function on Azure Container Apps](https://github.com/Azure/azure-functions-on-container-apps/blob/main/README.md#create-your-first-azure-function-on-azure-container-apps) and [Functions in containers](/azure/azure-functions/functions-container-apps-hosting).
27+
2628
1. Go to the Azure portal and search for **Container Apps** in the search bar.
2729

2830
1. Select **Container Apps**.
@@ -76,9 +78,16 @@ This article shows you how to create an [Azure Functions app in Azure Container
7678
| Registry login server | Enter **mcr.microsoft.com** |
7779
| Image and tag | Enter **azure-functions/dotnet8-quickstart-demo:1.0** |
7880

79-
1. For *Development stack*, select **.NET**.
81+
1. Under *Environment variables* enter values for the following variables:
82+
83+
- `AzureWebJobsStorage`
84+
- `APPINSIGHTS_INSTRUMENTATIONKEY` or `APPLICATIONINSIGHTS_CONNECTION_STRING`
85+
86+
Enter either Managed identity or connection string values for these variables. Managed Identity is recommended.
87+
88+
The `AzureWebJobsStorage` variable is a required Azure Storage account connection string for Azure Functions. This storage account stores function execution logs, manage triggers and bindings, and maintains state for durable functions.
8089

81-
This value is required since the sample container image is implemented in .NET.
90+
Application Insights is a monitoring and diagnostic service that provides insights into the performance and usage of your Azure Functions. This monitoring helps you track request rates, response times, failure rates, and other metrics.
8291

8392
1. Select **Next > Ingress** to switch to the Ingress section and enter the following values.
8493

0 commit comments

Comments
 (0)