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/app-service/overview-vnet-integration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,7 @@ You must have at least the following Role-based access control permissions on th
108
108
|-|-|
109
109
| Microsoft.Network/virtualNetworks/read | Read the virtual network definition |
110
110
| Microsoft.Network/virtualNetworks/subnets/read | Read a virtual network subnet definition |
111
+
| Microsoft.Network/virtualNetworks/subnets/write | Delegate the subnet. Only required when the subnet has not been delegated or has not already been used for virtual network integration |
111
112
| Microsoft.Network/virtualNetworks/subnets/join/action | Joins a virtual network |
112
113
113
114
If the virtual network is in a different subscription than the app, you must ensure that the subscription with the virtual network is registered for the `Microsoft.Web` resource provider. You can explicitly register the provider [by following this documentation](../azure-resource-manager/management/resource-providers-and-types.md#register-resource-provider), but it also automatically registers when creating the first web app in a subscription.
Copy file name to clipboardExpand all lines: articles/azure-functions/configure-networking-how-to.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,9 @@ Set up a secured storage account for your function app:
68
68
69
69
*[Create a private endpoint](../storage/common/storage-private-endpoints.md#creating-a-private-endpoint). As you set up your private endpoint connection, create private endpoints for the `file` and `blob` subresources. For Durable Functions, you must also make `queue` and `table` subresources accessible through private endpoints. If you're using a custom or on-premises Domain Name System (DNS) server, [configure your DNS server](../storage/common/storage-private-endpoints.md#dns-changes-for-private-endpoints) to resolve to the new private endpoints.
70
70
71
-
*[Restrict traffic to specific subnets](../storage/common/storage-network-security.md#grant-access-from-a-virtual-network). Ensure your function app is network integrated with an allowed subnet and that the subnet has a service endpoint to `Microsoft.Storage`.
71
+
*[Restrict traffic to specific subnets](../storage/common/storage-network-security.md#grant-access-from-a-virtual-network). Ensure your function app is network integrated with an allowed subnet and that the subnet has only one of these service endpoints defined:
72
+
*`Microsoft.Storage`: use when your app is in the same region as your virtual network.
73
+
*`Microsoft.Storage.Global`: use when your app is in a different region than your virtual network.
72
74
73
75
1. Copy the file and blob content from the current storage account used by the function app to the newly secured storage account and file share. [AzCopy](../storage/common/storage-use-azcopy-blobs-copy.md) and [Azure Storage Explorer](https://techcommunity.microsoft.com/t5/azure-developer-community-blog/azure-tips-and-tricks-how-to-move-azure-storage-blobs-between/ba-p/3545304) are common methods. If you use Azure Storage Explorer, you might need to allow your client IP address access to your storage account's firewall.
74
76
@@ -88,7 +90,7 @@ You're now ready to route your function app's traffic to go through the virtual
88
90
89
91
1. In the new page, under **Application routing**, select **Outbound internet traffic**.
90
92
91
-
1.Enable [content share routing](../app-service/overview-vnet-integration.md#content-share)to enable your function app to communicate with your new storage account through its virtual network. In the same page as the previous step, under **Configuration routing**, select **Content storage**.
93
+
1.If your app uses an Azure Files share, enable [content share routing](../app-service/overview-vnet-integration.md#content-share)by selecting **Content storage** under **Configuration routing**. This allows your app to communicate with Azure Files using the virtual network.
@@ -102,12 +104,10 @@ Finally, you need to update your application settings to point to the new secure
102
104
| Setting name | Value | Comment |
103
105
|----|----|----|
104
106
|[`AzureWebJobsStorage`](./functions-app-settings.md#azurewebjobsstorage)| Storage connection string | Use the connection string for your new secured storage account, which you saved earlier. |
105
-
|[`WEBSITE_CONTENTAZUREFILECONNECTIONSTRING`](./functions-app-settings.md#website_contentazurefileconnectionstring)| Storage connection string | Use the connection string for your new secured storage account, which you saved earlier. |
106
-
|[`WEBSITE_CONTENTSHARE`](./functions-app-settings.md#website_contentshare)| File share | Use the name of the file share created in the secured storage account where the project deployment files reside. |
107
+
|[`WEBSITE_CONTENTAZUREFILECONNECTIONSTRING`](./functions-app-settings.md#website_contentazurefileconnectionstring)| Storage connection string | Use the connection string for your new secured storage account, which you saved earlier. Only relevant if your app is using Azure Files. |
108
+
|[`WEBSITE_CONTENTSHARE`](./functions-app-settings.md#website_contentshare)| File share | Use the name of the file share created in the secured storage account where the project deployment files reside. Only relevant if your app is using Azure Files. |
107
109
108
-
1. Select **Apply**, and then **Confirm** to save the new application settings in the function app.
109
-
110
-
The function app restarts.
110
+
1. Select **Apply**, and then **Confirm** to save the new application settings in the function app. This causes the function app to restart.
111
111
112
112
After the function app finishes restarting, it connects to the secured storage account.
Copy file name to clipboardExpand all lines: articles/azure-functions/storage-considerations.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ Creating your function app resources using methods other than the Azure CLI requ
166
166
167
167
## Create an app without Azure Files
168
168
169
-
The Azure Files service provides a shared file system that supports high-scale scenarios. When your function app runs on Windows in an Elastic Premium or Consumption plan, an Azure Files share is created by default in your storage account. That share is used by Functions to enable certain features, like log streaming. It is also used as a shared package deployment location, which guarantees the consistency of your deployed function code across all instances.
169
+
The Azure Files service provides a shared file system that supports high-scale scenarios. When your function app runs in an Elastic Premium plan or on Windows in a Consumption plan, an Azure Files share is created by default in your storage account. That share is used by Functions to enable certain features, like log streaming. It is also used as a shared package deployment location, which guarantees the consistency of your deployed function code across all instances.
170
170
171
171
By default, function apps hosted in Premium and Consumption plans use [zip deployment](./deployment-zip-push.md), with deployment packages stored in this Azure file share. This section is only relevant to these hosting plans.
172
172
@@ -180,11 +180,18 @@ To run your app without the Azure file share, you must meet the following requir
180
180
* You must [deploy your package to a remote Azure Blob storage container](./run-functions-from-deployment-package.md) and then set the URL that provides access to that package as the [`WEBSITE_RUN_FROM_PACKAGE`](functions-app-settings.md#website_run_from_package) app setting. This option lets you store your app content in Blob storage instead of Azure Files, which does support [managed identities](./run-functions-from-deployment-package.md#fetch-a-package-from-azure-blob-storage-using-a-managed-identity).
181
181
182
182
You are responsible for manually updating the deployment package and maintaining the deployment package URL, which likely contains a shared access signature (SAS).
183
-
* Your app can't rely on a shared writeable file system.
183
+
184
+
You should also note the following considerations:
185
+
184
186
* The app can't use version 1.x of the Functions runtime.
187
+
* Your app can't rely on a shared writeable file system.
188
+
* Portal editing isn't supported
185
189
* Log streaming experiences in clients such as the Azure portal default to file system logs. You should instead rely on Application Insights logs.
186
190
187
-
If the above requirements suit your scenario, you can proceed to create a function app without Azure Files. You can do this by creating an app without the `WEBSITE_CONTENTAZUREFILECONNECTIONSTRING` and `WEBSITE_CONTENTSHARE` app settings. To get started, generate an ARM template for a standard deployment, remove the two settings, and then deploy the modified template.
191
+
If the above requirements suit your scenario, you can proceed to create a function app without Azure Files. You can do this by creating an app without the `WEBSITE_CONTENTAZUREFILECONNECTIONSTRING` and `WEBSITE_CONTENTSHARE` app settings in one of these ways:
192
+
193
+
- Bicep/ARM templates: remove the two app settings from the ARM template or Bicep file and then deploy the app using the modified template.
194
+
- Azure portal: unselect the **Add an Azure Files connection** checkbox in the **Storage** tab when you create the app in the portal.
188
195
189
196
Since Azure Files is used to enable dynamic scale-out for Functions, scaling could be limited when running your app without Azure Files in the Elastic Premium plan and Consumption plans running on Windows.
0 commit comments