Skip to content

Commit b0824b2

Browse files
authored
Merge pull request #262592 from MicrosoftDocs/main
1/5/2024 PM Publish
2 parents 74a6b19 + a15870f commit b0824b2

File tree

218 files changed

+1100
-791
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+1100
-791
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,7 @@
12041204
"articles/ai-services/.openpublishing.redirection.applied-ai-old.json",
12051205
"articles/ai-services/.openpublishing.redirection.applied-ai-services.json",
12061206
"articles/ai-services/.openpublishing.redirection.cognitive-services.json",
1207+
"articles/energy-data-services/.openpublishing.redirection.energy-data-services.json",
12071208
"articles/azure-fluid-relay/.openpublishing.redirection.fluid-relay.json",
12081209
"articles/azure-netapp-files/.openpublishing.redirection.azure-netapp-files.json",
12091210
"articles/azure-relay/.openpublishing.redirection.relay.json",

articles/ai-services/openai/tutorials/fine-tune.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,14 @@ for file in files:
258258
Processing file: training_set.jsonl
259259
260260
#### Distribution of total tokens:
261-
min / max: 47, 57
262-
mean / median: 50.8, 50.0
263-
p5 / p95: 47.9, 55.2
261+
min / max: 47, 62
262+
mean / median: 52.1, 50.5
263+
p5 / p95: 47.9, 57.5
264264
265265
#### Distribution of assistant tokens:
266-
min / max: 13, 21
267-
mean / median: 16.3, 15.5
268-
p5 / p95: 13.0, 20.1
266+
min / max: 13, 30
267+
mean / median: 17.6, 15.5
268+
p5 / p95: 13.0, 21.9
269269
**************************************************
270270
Processing file: validation_set.jsonl
271271
4.67 KB
Loading

articles/app-service/configure-connect-to-azure-storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: msangapu-msft
55

66
ms.topic: article
77
ms.custom: devx-track-azurecli
8-
ms.date: 11/02/2023
8+
ms.date: 01/05/2024
99
ms.author: msangapu
1010
zone_pivot_groups: app-service-containers-code
1111
---

articles/app-service/includes/configure-azure-storage/azure-storage-linux-container-pivot.md

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,45 @@
22
author: msangapu-msft
33
ms.service: app-service
44
ms.topic: include
5-
ms.date: 08/24/2023
5+
ms.date: 01/05/2024
66
ms.author: msangapu
77
---
88

99
> [!NOTE]
10-
> You can also [configure Azure Storage in an ARM template](https://github.com/Azure/app-service-linux-docs/blob/master/BringYourOwnStorage/BYOS_azureFiles.json).
10+
> [NFS](../../../storage/files/files-nfs-protocol.md) support is now available for App Service on Linux.
1111
>
1212
13-
This guide shows how to mount Azure Storage as a network share in a built-in Linux container or a custom Linux container in App Service. Azure Storage is Microsoft's cloud storage solution for modern data storage scenarios. Azure Storage offers highly available, massively scalable, durable, and secure storage for a variety of data objects in the cloud. Azure Storage is non-default storage for App Service and billed separately.
13+
This guide shows how to mount Azure Storage as a network share in a built-in Linux container or a custom Linux container in App Service. Azure Storage is Microsoft's cloud storage solution for modern data storage scenarios. Azure Storage offers highly available, massively scalable, durable, and secure storage for a variety of data objects in the cloud. Azure Storage is non-default storage for App Service and billed separately. You can also [configure Azure Storage in an ARM template](https://github.com/Azure/app-service-linux-docs/blob/master/BringYourOwnStorage/BYOS_azureFiles.json).
14+
15+
16+
### Benefits
1417

1518
The benefits of custom-mounted storage include:
1619
- Configure persistent storage for your App Service app and manage the storage separately.
1720
- Make static content like video and images readily available for your App Service app.
1821
- Write application log files or archive older application log to Azure File shares.
1922
- Share content across multiple apps or with other Azure services.
23+
- Azure Files [NFS](../../../storage/files/files-nfs-protocol.md) and Azure Files [SMB](../../../storage/files/files-smb-protocol.md) are supported.
24+
- Azure Blobs (read-only) are supported.
25+
- Up to five mount points per app are supported.
26+
27+
### Limitations
28+
29+
The limitations of custom-mounted storage include:
30+
- [Storage firewall](../../../storage/common/storage-network-security.md) is supported only through [service endpoints](../../../storage/common/storage-network-security.md#grant-access-from-a-virtual-network) and [private endpoints](../../../storage/common/storage-private-endpoints.md) (when [VNET integration](../../overview-vnet-integration.md) is used).
31+
- FTP/FTPS access to custom-mounted storage isn't supported (use [Azure Storage Explorer](https://azure.microsoft.com/features/storage-explorer/)).
32+
- Azure CLI, Azure PowerShell, and Azure SDK support is in preview.
33+
- Mapping `/` or `/home` to custom-mounted storage isn't supported.
34+
- Don't map the storage mount to `/tmp` or its subdirectories as this action may cause a timeout during app startup.
35+
- Azure Storage isn't supported with [Docker Compose](../../configure-custom-container.md?pivots=container-linux#docker-compose-options) scenarios.
36+
- Storage mounts aren't included in [backups](../../manage-backup.md). Be sure to follow best practices to back up the Azure Storage accounts.
37+
- NFS support is only available for App Service on Linux. NFS isn't supported for Windows code and Windows containers. The web app and storage account need to be configured on the same VNET for NFS. The storage account used for file share should have "Premium" performance tier and "Filestorage" as the Account Kind. Azure Key Vault is not applicable when using the NFS protocol.
38+
- With VNET integration on your app, the mounted drive uses an RFC1918 IP address and not an IP address from your VNET.
2039

21-
The following features are supported for Linux containers:
22-
- Azure Files (read/write).
23-
- Azure Blobs (read-only).
24-
- Up to five mount points per app.
2540

26-
Here are the three options to mount Azure storage to your app:
41+
### Mounting options
42+
43+
You first need to mount the storage to the app. Here are three mounting options for Azure storage:
2744

2845
| Mounting option | Usage |
2946
|--------------------------|-------------|
@@ -54,21 +71,8 @@ Here are the three options to mount Azure storage to your app:
5471

5572
---
5673

57-
## Limitations
58-
59-
- [Storage firewall](../../../storage/common/storage-network-security.md) is supported only through [service endpoints](../../../storage/common/storage-network-security.md#grant-access-from-a-virtual-network) and [private endpoints](../../../storage/common/storage-private-endpoints.md) (when [VNET integration](../../overview-vnet-integration.md) is used).
60-
- FTP/FTPS access to custom-mounted storage isn't supported (use [Azure Storage Explorer](https://azure.microsoft.com/features/storage-explorer/)).
61-
- Azure CLI, Azure PowerShell, and Azure SDK support is in preview.
62-
- Mapping `/` or `/home` to custom-mounted storage isn't supported.
63-
- Don't map the storage mount to `/tmp` or its subdirectories as this action may cause a timeout during app startup.
64-
- Azure Storage isn't supported with [Docker Compose](../../configure-custom-container.md?pivots=container-linux#docker-compose-options) scenarios.
65-
- Storage mounts aren't included in [backups](../../manage-backup.md). Be sure to follow best practices to back up the Azure Storage accounts.
66-
- Azure Files [NFS](../../../storage/files/files-nfs-protocol.md) is currently unsupported for App Service on Linux. Only Azure Files [SMB](../../../storage/files/files-smb-protocol.md) are supported.
67-
- With VNET integration on your app, the mounted drive uses an RFC1918 IP address and not an IP address from your VNET.
68-
6974
## Prepare for mounting
7075

71-
7276
### [Basic](#tab/basic)
7377

7478
No extra steps are required because the portal gets and stores the access key for you.
@@ -201,32 +205,26 @@ To validate that the Azure Storage is mounted successfully for the app:
201205

202206
## Best practices
203207

208+
#### Performance
204209
- To avoid latency issues, place the app and the Azure Storage account in the same region. If you grant access from App Service IP addresses in the [Azure Storage firewall configuration](../../../storage/common/storage-network-security.md) when the app and Azure Storage account are in the same region, then these IP restrictions aren't honored.
210+
- The mounted Azure Storage account can be either Standard or Premium performance tier. Based on the app capacity and throughput requirements, choose the appropriate performance tier for the storage account. See the scalability and performance targets that correspond to the storage type: [Files](../../../storage/files/storage-files-scale-targets.md) and [Blobs](../../../storage/blobs/scalability-targets.md).
205211
206-
- The mount directory in the custom container should be empty. Any content stored at this path is deleted when the Azure Storage is mounted (if you specify a directory under `/home`, for example). If you are migrating files for an existing app, make a backup of the app and its content before you begin.
212+
- If your app [scales to multiple instances](../../../azure-monitor/autoscale/autoscale-get-started.md), all the instances connect to the same mounted Azure Storage account. To avoid performance bottlenecks and throughput issues, choose the appropriate performance tier for the storage account.
207213
214+
#### Security
208215
- In the Azure Storage account, avoid [regenerating the access key](../../../storage/common/storage-account-keys-manage.md) that's used to mount the storage in the app. The storage account contains two different keys. Azure App Services stores Azure storage account key. Use a stepwise approach to ensure that the storage mount remains available to the app during key regeneration. For example, assuming that you used **key1** to configure storage mount in your app:
209-
210-
1. Regenerate **key2**.
216+
1. Regenerate **key2**.
211217
1. In the storage mount configuration, update the access the key to use the regenerated **key2**.
212218
1. Regenerate **key1**.
213219

214-
- If you delete an Azure Storage account, container, or share, remove the corresponding storage mount configuration in the app to avoid possible error scenarios.
215-
216-
- The mounted Azure Storage account can be either Standard or Premium performance tier. Based on the app capacity and throughput requirements, choose the appropriate performance tier for the storage account. See the scalability and performance targets that correspond to the storage type:
217-
218-
- [For Files](../../../storage/files/storage-files-scale-targets.md)
219-
- [For Blobs](../../../storage/blobs/scalability-targets.md)
220+
#### Troubleshooting
220221

221-
- If your app [scales to multiple instances](../../../azure-monitor/autoscale/autoscale-get-started.md), all the instances connect to the same mounted Azure Storage account. To avoid performance bottlenecks and throughput issues, choose the appropriate performance tier for the storage account.
222-
223-
- It isn't recommended to use storage mounts for local databases (such as SQLite) or for any other applications and components that rely on file handles and locks.
224-
225-
- Ensure the following ports are open when using VNET integration:
226-
- Azure Files: 80 and 445.
227-
- Azure Blobs: 80 and 443.
222+
- The mount directory in the custom container should be empty. Any content stored at this path is deleted when the Azure Storage is mounted (if you specify a directory under `/home`, for example). If you are migrating files for an existing app, make a backup of the app and its content before you begin.
223+
- If you delete an Azure Storage account, container, or share, remove the corresponding storage mount configuration in the app to avoid possible error scenarios.
224+
- It isn't recommended to use storage mounts for local databases (such as SQLite) or for any other applications and components that rely on file handles and locks.
225+
- Ensure the following ports are open when using VNET integration: Azure Files: 80 and 445. Azure Blobs: 80 and 443.
226+
- If you [initiate a storage failover](../../../storage/common/storage-initiate-account-failover.md) when the storage account is mounted to the app, the mount won't connect until the app is restarted or the storage mount is removed and re-added.
228227

229-
- If you [initiate a storage failover](../../../storage/common/storage-initiate-account-failover.md) when the storage account is mounted to the app, the mount won't connect until the app is restarted or the storage mount is removed and readded.
230228
## Next steps
231229

232230
- [Configure a custom container](../../configure-custom-container.md?pivots=platform-linux).

articles/app-service/includes/configure-azure-storage/azure-storage-windows-code-pivot.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
author: msangapu-msft
33
ms.service: app-service
44
ms.topic: include
5-
ms.date: 08/24/2023
5+
ms.date: 01/05/2024
66
ms.author: msangapu
77
---
88

9-
> [!NOTE]
10-
> You can also [configure Azure Storage in an ARM template](https://github.com/Azure/app-service-linux-docs/blob/master/BringYourOwnStorage/BYOS_azureFiles.json).
11-
>
12-
13-
Azure Storage is Microsoft's cloud storage solution for modern data storage scenarios. Azure Storage offers highly available, massively scalable, durable, and secure storage for a variety of data objects in the cloud. This guide shows how to mount Azure Storage Files as a network share in Windows code (noncontainer) in App Service. Only [Azure Files Shares](../../../storage/files/storage-how-to-use-files-portal.md) and [Premium Files Shares](../../../storage/files/storage-how-to-create-file-share.md) are supported. Azure Storage is nondefault storage for App Service and billed separately.
9+
Azure Storage is Microsoft's cloud storage solution for modern data storage scenarios. Azure Storage offers highly available, massively scalable, durable, and secure storage for a variety of data objects in the cloud. This guide shows how to mount Azure Storage Files as a network share in Windows code (noncontainer) in App Service. Only [Azure Files Shares](../../../storage/files/storage-how-to-use-files-portal.md) and [Premium Files Shares](../../../storage/files/storage-how-to-create-file-share.md) are supported. Azure Storage is non-default storage for App Service and billed separately. You can also [configure Azure Storage in an ARM template](https://github.com/Azure/app-service-linux-docs/blob/master/BringYourOwnStorage/BYOS_azureFiles.json).
1410

1511
The benefits of custom-mounted storage include:
1612
- Configure persistent storage for your App Service app and manage the storage separately.

articles/app-service/includes/configure-azure-storage/azure-storage-windows-container-pivot.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
author: msangapu-msft
33
ms.service: app-service
44
ms.topic: include
5-
ms.date: 08/24/2023
5+
ms.date: 01/05/2024
66
ms.author: msangapu
77
---
88

9-
> [!NOTE]
10-
> You can also [configure Azure Storage in an ARM template](https://github.com/Azure/app-service-linux-docs/blob/master/BringYourOwnStorage/BYOS_azureFiles.json).
11-
>
12-
13-
Azure Storage is Microsoft's cloud storage solution for modern data storage scenarios. Azure Storage offers highly available, massively scalable, durable, and secure storage for a variety of data objects in the cloud. This guide shows how to mount Azure Storage Files as a network share in a Windows container in App Service. Only [Azure Files Shares](../../../storage/files/storage-how-to-use-files-portal.md) and [Premium Files Shares](../../../storage/files/storage-how-to-create-file-share.md) are supported. Azure Storage is nondefault storage for App Service and billed separately.
9+
Azure Storage is Microsoft's cloud storage solution for modern data storage scenarios. Azure Storage offers highly available, massively scalable, durable, and secure storage for a variety of data objects in the cloud. This guide shows how to mount Azure Storage Files as a network share in a Windows container in App Service. Only [Azure Files Shares](../../../storage/files/storage-how-to-use-files-portal.md) and [Premium Files Shares](../../../storage/files/storage-how-to-create-file-share.md) are supported. Azure Storage is non-default storage for App Service and billed separately. You can also [configure Azure Storage in an ARM template](https://github.com/Azure/app-service-linux-docs/blob/master/BringYourOwnStorage/BYOS_azureFiles.json).
1410

1511
The benefits of custom-mounted storage include:
1612
- Configure persistent storage for your App Service app and manage the storage separately.

articles/app-service/quickstart-nodejs.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,24 @@ ms.assetid: 582bb3c2-164b-42f5-b081-95bfcb7a502a
55
author: msangapu-msft
66
ms.author: msangapu
77
ms.topic: quickstart
8-
ms.custom: mvc, devcenter, seodec18, devdivchpfy22, ignite-2022, devx-track-js
98
ms.date: 07/17/2023
109
ms.devlang: javascript
1110
zone_pivot_groups: app-service-vscode-cli-portal
11+
ms.custom: mvc, devcenter, seodec18, devdivchpfy22, ignite-2022, devx-track-js, ai-video-demo
12+
ai-usage: ai-assisted
1213
---
14+
1315
# Deploy a Node.js web app in Azure
1416

1517
In this quickstart, you'll learn how to create and deploy your first Node.js ([Express](https://www.expressjs.com)) web app to [Azure App Service](overview.md). App Service supports various versions of Node.js on both Linux and Windows.
1618

1719
This quickstart configures an App Service app in the **Free** tier and incurs no cost for your Azure subscription.
1820

21+
This video shows you how to deploy a Node.js web app in Azure.
22+
> [!VIDEO c66346dd-9fde-4cef-b135-47d3051d5db5]
23+
24+
The steps in the video are also described in the following sections.
25+
1926
## Set up your initial environment
2027

2128
:::zone target="docs" pivot="development-environment-vscode"

articles/app-service/troubleshoot-diagnostic-logs.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@ description: Learn how to enable diagnostic logging and add instrumentation to y
44
ms.assetid: c9da27b2-47d4-4c33-a3cb-1819955ee43b
55
ms.topic: article
66
ms.date: 06/29/2023
7-
ms.custom: "devx-track-csharp, seodec18"
87
ms.author: msangapu
98
author: msangapu-msft
10-
9+
ms.custom: devx-track-csharp, seodec18, ai-video-demo
10+
ai-usage: ai-assisted
1111
---
12+
1213
# Enable diagnostics logging for apps in Azure App Service
14+
15+
This video shows you how to enable diagnostics logging for apps.
16+
> [!VIDEO 62f2edbe-1063-4ec3-a76f-faa0bd783f2f]
17+
18+
The steps in the video are also described in the following sections.
19+
1320
## Overview
1421
Azure provides built-in diagnostics to assist with debugging an [App Service app](overview.md). In this article, you learn how to enable diagnostic logging and add instrumentation to your application, as well as how to access the information logged by Azure.
1522

@@ -18,7 +25,6 @@ This article uses the [Azure portal](https://portal.azure.com) and Azure CLI to
1825
> [!NOTE]
1926
> In addition to the logging instructions in this article, there's new, integrated logging capability with Azure Monitoring. You'll find more on this capability in the [Send logs to Azure Monitor](#send-logs-to-azure-monitor) section.
2027
>
21-
>
2228
2329
|Type|Platform|Location|Description|
2430
|-|-|-|-|

articles/azure-cache-for-redis/cache-administration.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ author: flang-msft
55

66
ms.service: cache
77
ms.topic: conceptual
8-
ms.date: 09/29/2023
8+
ms.date: 01/05/2024
99
ms.author: franlanglois
1010
---
1111
# How to administer Azure Cache for Redis
1212

1313
This article describes how to do administration tasks such as [rebooting](#reboot) and [Update channel and Schedule updates](#update-channel-and-schedule-updates) for your Azure Cache for Redis instances.
1414

15-
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
16-
1715
## Reboot
1816

1917
On the left, **Reboot** allows you to reboot one or more nodes of your cache. This reboot capability enables you to test your application for resiliency if there's a failure of a cache node.

0 commit comments

Comments
 (0)