Skip to content

Commit d7760ae

Browse files
committed
Update best-practices.md
1 parent bb0fe01 commit d7760ae

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

articles/batch/best-practices.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Best practices
33
description: Learn best practices and useful tips for developing your Azure Batch solutions.
4-
ms.date: 11/15/2022
4+
ms.date: 01/18/2023
55
ms.topic: conceptual
66
---
77

@@ -73,6 +73,17 @@ Before you recreate or resize your pool, you should download any node agent logs
7373
> [!NOTE]
7474
> For general guidance about security in Azure Batch, see [Batch security and compliance best practices](security-best-practices.md).
7575
76+
#### Operating system updates
77+
78+
It's recommended that the VM image selected for a Batch pool should be up-to-date with the latest publisher provided security updates.
79+
Some images may perform automatic updates upon boot (or shortly thereafter), which may interfere with certain user directed actions such
80+
as retrieving package repository updates (for example, `apt update`) or installing packages during actions such as a
81+
[StartTask](jobs-and-tasks.md#start-task).
82+
83+
Azure Batch doesn't verify or guarantee that images allowed for use with the service have the latest security updates.
84+
Updates to images are under the purview of the publisher of the image, and not that of Azure Batch. For certain images published
85+
under `microsoft-azure-batch`, there's no guarantee that these images are kept up-to-date with their upstream derived image.
86+
7687
### Pool lifetime and billing
7788

7889
Pool lifetime can vary depending upon the method of allocation and options applied to the pool configuration. Pools can have an arbitrary lifetime and a varying number of compute nodes at any point in time. It's your responsibility to manage the compute nodes in the pool either explicitly, or through features provided by the service ([autoscale](nodes-and-pools.md#automatic-scaling-policy) or [autopool](nodes-and-pools.md#autopools)).

0 commit comments

Comments
 (0)