|
| 1 | +--- |
| 2 | +title: Create an Azure Functions app with auto scaling rules on Azure Container Apps |
| 3 | +description: Learn to create an Azure Functions app pre-configured with auto scaling rules in Azure Container Apps. |
| 4 | +services: container-apps |
| 5 | +author: craigshoemaker |
| 6 | +ms.service: azure-container-apps |
| 7 | +ms.topic: reference |
| 8 | +ms.date: 03/14/2025 |
| 9 | +ms.author: cshoe |
| 10 | +--- |
| 11 | + |
| 12 | +# Create an Azure Functions app with auto scaling rules on Azure Container Apps |
| 13 | + |
| 14 | +1. Go to the Azure portal and search for **Container Apps** in the search bar. |
| 15 | + |
| 16 | +1. Select **Create**. |
| 17 | + |
| 18 | +1. Select **Container App** |
| 19 | + |
| 20 | +1. In the *Basics* tab, enter the following values. |
| 21 | + |
| 22 | + Under *Project details*: |
| 23 | + |
| 24 | + | Property | Value | |
| 25 | + |---|---| |
| 26 | + | Subscription | Select your Azure subscription. | |
| 27 | + | Resource group | Select **Create new resource group**, name it **my-aca-functions-group**, and select **OK**. | |
| 28 | + | Container app name | Enter **my-aca-functions-app**. | |
| 29 | + |
| 30 | +1. Next to *Optimize for Azure Functions* check the checkbox. |
| 31 | + |
| 32 | +1. Under *Container Apps environment* enter: |
| 33 | + |
| 34 | + | Property | Value | |
| 35 | + |---|---| |
| 36 | + | Region | Select a region closest to you. | |
| 37 | + | Container Apps environment | Select **Create new environment**. | |
| 38 | + |
| 39 | +1. In the environment setup window, enter: |
| 40 | + |
| 41 | + | Property | Value | |
| 42 | + |---|---| |
| 43 | + | Environment name | Enter **my-aca-functions-environment**. | |
| 44 | + | Zone redundancy | Disabled | |
| 45 | + |
| 46 | +1. Select **Create** to save your values. |
| 47 | + |
| 48 | +1. Select **Next: Container** to switch to the *Container* tab. |
| 49 | + |
| 50 | +1. In the *Container* tab, enter the following values: |
| 51 | + |
| 52 | +1. Next to *Use quickstart image*, leave this box unchecked. |
| 53 | + |
| 54 | +1. Under the *Container details* section, enter the following values. |
| 55 | + |
| 56 | + | Property | value | |
| 57 | + |---|---| |
| 58 | + | Name | This bx is pre-filled with your selection in the last section. | |
| 59 | + | Image source | Select **Docker Hub or other registries** | |
| 60 | + | Subscription | Select your subscription | |
| 61 | + | Image type | Select **Public**. | |
| 62 | + | Registry login server | Enter **mcr.microsoft.com** | |
| 63 | + | Image and tag | Enter **azure-functions/dotnet8-quickstart-demo:1.0** | |
| 64 | + |
| 65 | +1. For *Development stack*, select **.NET** |
| 66 | + |
| 67 | +Select **Review + Create**. |
0 commit comments