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/batch/batch-custom-images.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,18 @@
2
2
title: Use a managed image to create a custom image pool
3
3
description: Create a Batch custom image pool from a managed image to provision compute nodes with the software and data for your application.
4
4
ms.topic: conceptual
5
-
ms.date: 11/18/2020
5
+
ms.date: 04/06/2023
6
6
ms.devlang: csharp
7
7
---
8
8
9
9
# Use a managed image to create a custom image pool
10
10
11
11
To create a custom image pool for your Batch pool's virtual machines (VMs), you can use a managed image to create an [Azure Compute Gallery image](batch-sig-images.md). Using just a managed image is also supported, but only for API versions up to and including 2019-08-01.
12
12
13
-
> [!IMPORTANT]
14
-
> In most cases, you should create custom images using the Azure Compute Gallery. By using the Azure Compute Gallery, you can provision pools faster, scale larger quantities of VMs, and have improved reliability when provisioning VMs. To learn more, see [Use the Azure Compute Gallery to create a custom pool](batch-sig-images.md).
13
+
> [!WARNING]
14
+
> Support for creating a Batch pool using a managed image is being retired after **31 March 2026**. Please migrate to
15
+
> hosting custom images in Azure Compute Gallery to use for creating a [custom image pool in Batch](batch-sig-images.md).
16
+
> For more information, see the [migration guide](batch-custom-image-pools-to-azure-compute-gallery-migration-guide.md).
15
17
16
18
This topic explains how to create a custom image pool using only a managed image.
17
19
@@ -36,17 +38,17 @@ To scale Batch pools reliably with a managed image, we recommend creating the ma
36
38
37
39
### Prepare a VM
38
40
39
-
If you are creating a new VM for the image, use a first party Azure Marketplace image supported by Batch as the base image for your managed image. Only first party images can be used as a base image. To get a full list of Azure Marketplace image references supported by Azure Batch, see the [List node agent SKUs](/java/api/com.microsoft.azure.batch.protocol.accounts.listnodeagentskus) operation.
41
+
If you're creating a new VM for the image, use a first party Azure Marketplace image supported by Batch as the base image for your managed image. Only first party images can be used as a base image. To get a full list of Azure Marketplace image references supported by Azure Batch, see the [List node agent SKUs](/java/api/com.microsoft.azure.batch.protocol.accounts.listnodeagentskus) operation.
40
42
41
43
> [!NOTE]
42
44
> You can't use a third-party image that has additional license and purchase terms as your base image. For information about these Marketplace images, see the guidance for [Linux](../virtual-machines/linux/cli-ps-findimage.md#check-the-purchase-plan-information) or [Windows](../virtual-machines/windows/cli-ps-findimage.md#view-purchase-plan-properties)VMs.
43
45
44
46
- Ensure the VM is created with a managed disk. This is the default storage setting when you create a VM.
45
-
-Do not install Azure extensions, such as the Custom Script extension, on the VM. If the image contains a pre-installed extension, Azure may encounter problems when deploying the Batch pool.
47
+
-Don't install Azure extensions, such as the Custom Script extension, on the VM. If the image contains a preinstalled extension, Azure may encounter problems when deploying the Batch pool.
46
48
- When using attached data disks, you need to mount and format the disks from within a VM to use them.
47
49
- Ensure that the base OS image you provide uses the default temp drive. The Batch node agent currently expects the default temp drive.
48
-
- Ensure that the OS disk is not encrypted.
49
-
- Once the VM is running, connect to it via RDP (for Windows) or SSH (for Linux). Install any necessary software or copy desired data.
50
+
- Ensure that the OS disk isn't encrypted.
51
+
- Once the VM is running, connect to it via RDP (for Windows) or SSH (for Linux). Install any necessary software or copy desired data.
IfyouplantocreateapoolwithhundredsofVMsormoreusingacustomimage, it's important to follow the preceding guidance to use an image created from a VM snapshot.
127
129
128
130
Alsonotethefollowingconsiderations:
129
131
@@ -136,16 +138,17 @@ Also note the following considerations:
136
138
-**Resizetimeout**-Ifyourpoolcontainsafixednumberofnodes (doesn't autoscale), increase the resizeTimeout property of the pool to a value such as 20-30 minutes. If your pool doesn'treachitstargetsizewithinthetimeoutperiod, performanother [resizeoperation](/rest/api/batchservice/pool/resize).
Iftheimageortheunderlyingresourceisremoved, youmaygetanerrorsimilarto: `Therewasanerrorencounteredwhileperformingthelastresizeonthepool. Pleasetryresizingthepoolagain. Code:AllocationFailed`. Ifyougetthiserror, ensurethattheunderlyingresourcehasn't been removed.
149
152
150
153
FormoreinformationonusingPackertocreateaVM, see [BuildaLinuximagewithPacker](../virtual-machines/linux/build-image-with-packer.md) or [BuildaWindowsimagewithPacker](../virtual-machines/windows/build-image-with-packer.md).
Copy file name to clipboardExpand all lines: articles/batch/batch-rendering-applications.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Where applicable, pay-for-use licensing is available for the pre-installed rende
13
13
14
14
Some applications only support Windows, but most are supported on both Windows and Linux.
15
15
16
-
> [!IMPORTANT]
16
+
> [!WARNING]
17
17
> The rendering VM images and pay-for-use licensing have been [deprecated and will be retired on February 29, 2024](https://azure.microsoft.com/updates/azure-batch-rendering-vm-images-licensing-will-be-retired-on-29-february-2024/). To use Batch for rendering, [a custom VM image and standard application licensing should be used.](batch-rendering-functionality.md#batch-pools-using-custom-vm-images-and-standard-application-licensing)
18
18
19
19
## Applications on latest CentOS 7 rendering image
Copy file name to clipboardExpand all lines: articles/batch/batch-rendering-functionality.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Most rendering applications will require licenses obtained from a license server
21
21
22
22
## Batch pools using rendering VM images
23
23
24
-
> [!IMPORTANT]
24
+
> [!WARNING]
25
25
> The rendering VM images and pay-for-use licensing have been [deprecated and will be retired on February 29, 2024](https://azure.microsoft.com/updates/azure-batch-rendering-vm-images-licensing-will-be-retired-on-29-february-2024/). To use Batch for rendering, [a custom VM image and standard application licensing should be used.](batch-rendering-functionality.md#batch-pools-using-custom-vm-images-and-standard-application-licensing)
Copy file name to clipboardExpand all lines: articles/batch/batch-rendering-using.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.topic: how-to
7
7
8
8
# Using Azure Batch rendering
9
9
10
-
> [!IMPORTANT]
10
+
> [!WARNING]
11
11
> The rendering VM images and pay-for-use licensing have been [deprecated and will be retired on February 29, 2024](https://azure.microsoft.com/updates/azure-batch-rendering-vm-images-licensing-will-be-retired-on-29-february-2024/). To use Batch for rendering, [a custom VM image and standard application licensing should be used.](batch-rendering-functionality.md#batch-pools-using-custom-vm-images-and-standard-application-licensing)
12
12
13
13
There are several ways to use Azure Batch rendering:
Copy file name to clipboardExpand all lines: articles/batch/batch-spot-vms.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Run workloads on cost-effective Spot VMs
3
3
description: Learn how to provision Spot VMs to reduce the cost of Azure Batch workloads.
4
4
ms.topic: how-to
5
-
ms.date: 03/15/2023
5
+
ms.date: 04/06/2023
6
6
ms.custom: seodec18
7
7
---
8
8
@@ -25,6 +25,10 @@ Batch offers two types of low-cost pre-emptible VMs:
25
25
26
26
The type of node you get depends on your Batch account's pool allocation mode, which is settable during account creation. Batch accounts that use the **user subscription** pool allocation mode always get Spot VMs. Batch accounts that use the **Batch managed** pool allocation mode always get low-priority VMs.
27
27
28
+
> [!WARNING]
29
+
> Support for low-priority VMs will be retired after **30 September 2025**. Please
30
+
> [migrate to using Spot VMs in Batch](low-priority-vms-retirement-migration-guide.md) before then.
31
+
28
32
Azure Spot VMs and Batch low-priority VMs are similar but have a few differences in behavior.
29
33
30
34
|| Spot VMs | Low-priority VMs |
@@ -42,7 +46,7 @@ Azure Spot VMs and Batch low-priority VMs are similar but have a few differences
42
46
43
47
Azure Batch provides several capabilities that make it easy to consume and benefit from Spot VMs:
44
48
45
-
- Batch pools can contain both dedicated VMs and Spot VMs. The number of each type of VM can be specified when a pool is created, or changed at any time for an existing pool, using the explicit resize operation or using auto-scale. Job and task submission can remain unchanged, regardless of the VM types in the pool. You can also configure a pool to completely use Spot VMs to run jobs as cheaply as possible, but spin up dedicated VMs if the capacity drops below a minimum threshold, to keep jobs running.
49
+
- Batch pools can contain both dedicated VMs and Spot VMs. The number of each type of VM can be specified when a pool is created, or changed at any time for an existing pool, using the explicit resize operation or using autoscale. Job and task submission can remain unchanged, regardless of the VM types in the pool. You can also configure a pool to completely use Spot VMs to run jobs as cheaply as possible, but spin up dedicated VMs if the capacity drops below a minimum threshold, to keep jobs running.
46
50
- Batch pools automatically seek the target number of Spot VMs. If VMs are preempted or unavailable, Batch attempts to replace the lost capacity and return to the target.
47
51
- When tasks are interrupted, Batch detects and automatically requeues tasks to run again.
48
52
- Spot VMs have a separate vCPU quota that differs from the one for dedicated VMs. The quota for Spot VMs is higher than the quota for dedicated VMs, because Spot VMs cost less. For more information, see [Batch service quotas and limits](batch-quota-limit.md#resource-quotas).
@@ -162,7 +166,7 @@ To view these metrics in the Azure portal
162
166
- Spot VMs in Batch don't support setting a max price and don't support price-based evictions. They can only be evicted for capacity reasons.
163
167
- Spot VMs are only available for Virtual Machine Configuration pools and not for Cloud Service Configuration pools, which are [deprecated](https://azure.microsoft.com/updates/azure-batch-cloudserviceconfiguration-pools-will-be-retired-on-29-february-2024/).
164
168
- Spot VMs aren't available for some clouds, VM sizes, and subscription offer types. See more about [Spot limitations](../virtual-machines/spot-vms.md#limitations).
165
-
- Currently, [Ephemeral OS disks](create-pool-ephemeral-os-disk.md)are not supported with Spot VMs due to the service managed
169
+
- Currently, [Ephemeral OS disks](create-pool-ephemeral-os-disk.md)aren't supported with Spot VMs due to the service managed
0 commit comments