Skip to content

Commit 6817511

Browse files
committed
Update Batch ephemeral os disk on spot info
1 parent 7c8e98c commit 6817511

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

articles/batch/batch-spot-vms.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Run workloads on cost-effective Spot VMs
33
description: Learn how to provision Spot VMs to reduce the cost of Azure Batch workloads.
44
ms.topic: how-to
5-
ms.date: 12/14/2021
5+
ms.date: 03/15/2023
66
ms.custom: seodec18
77
---
88

@@ -162,6 +162,8 @@ To view these metrics in the Azure portal
162162
- 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.
163163
- 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/).
164164
- 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
166+
eviction policy of Stop-Deallocate.
165167

166168
## Next steps
167169

articles/batch/create-pool-ephemeral-os-disk.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
title: Use ephemeral OS disk nodes for Azure Batch pools
33
description: Learn how and why to create a Batch pool that uses ephemeral OS disk nodes.
44
ms.topic: how-to
5-
ms.date: 09/03/2021
5+
ms.date: 03/15/2023
66
ms.devlang: csharp
77
---
88

99
# Use ephemeral OS disk nodes for Azure Batch pools
1010

1111
Some Azure virtual machine (VM) series support the use of [ephemeral OS disks](../virtual-machines/ephemeral-os-disks.md), which create the OS disk on the node virtual machine local storage. The default Batch pool configuration uses [Azure managed disks](../virtual-machines/managed-disks-overview.md) for the node OS disk, where the managed disk is like a physical disk, but virtualized and persisted in remote Azure Storage.
1212

13-
For Batch workloads, the main benefits of using ephemeral OS disks are reduced costs associated with pools, the potential for faster node start time, and improved application performance due to better OS disk performance. When choosing whether ephemeral OS disks should be used for your workload, consider the following:
13+
For Batch workloads, the main benefits of using ephemeral OS disks are reduced costs associated with pools, the potential for faster node start time, and improved application performance due to better OS disk performance. When choosing whether ephemeral OS disks should be used for your workload, consider the following impacts:
1414

15-
- There is lower read/write latency to ephemeral OS disks, which may lead to improved application performance.
16-
- There is no storage cost for ephemeral OS disks, whereas there is a cost for each managed OS disk.
17-
- Reimaging the node, when supported by Batch, will be faster for ephemeral disks compared to managed disks.
15+
- There's lower read/write latency to ephemeral OS disks, which may lead to improved application performance.
16+
- There's no storage cost for ephemeral OS disks, whereas there's a cost for each managed OS disk.
17+
- Reimage for compute nodes is faster for ephemeral disks compared to managed disks, when supported by Batch.
1818
- Node start time may be slightly faster when ephemeral OS disks are used.
19-
- Ephemeral OS disks are not highly durable and available; when a VM is removed for any reason, the OS disk is lost. Since Batch workloads are inherently stateless, and don't normally rely on changes to the OS disk being persisted, ephemeral OS disks are appropriate to use for most Batch workloads.
20-
- The use of an ephemeral OS disk is not currently supported by all Azure VM series. If a VM size doesn't support an ephemeral OS disk, a managed OS disk must be used.
19+
- Ephemeral OS disks aren't highly durable and available; when a VM is removed for any reason, the OS disk is lost. Since Batch workloads are inherently stateless, and don't normally rely on changes to the OS disk being persisted, ephemeral OS disks are appropriate to use for most Batch workloads.
20+
- Ephemeral OS disks aren't currently supported by all Azure VM series. If a VM size doesn't support an ephemeral OS disk, a managed OS disk must be used.
2121

2222
> [!NOTE]
2323
> Ephemeral OS disk configuration is only applicable to 'virtualMachineConfiguration' pools, and aren't supported by 'cloudServiceConfiguration’ pools. We recommend using 'virtualMachineConfiguration for your Batch pools, as 'cloudServiceConfiguration' pools do not support all features and no new capabilities are planned. You won't be able to create new 'cloudServiceConfiguration' pools or add new nodes to existing pools [after February 29, 2024](https://azure.microsoft.com/updates/azure-batch-cloudserviceconfiguration-pools-will-be-retired-on-29-february-2024/). For more information, see [Migrate Batch pool configuration from Cloud Services to Virtual Machine](batch-pool-cloud-service-to-virtual-machine-configuration.md).
@@ -30,7 +30,10 @@ Alternately, you can programmatically query to check the 'EphemeralOSDiskSupport
3030

3131
## Create a pool that uses ephemeral OS disks
3232

33-
The `EphemeralOSDiskSettings` property is not set by default. You must set this property in order to configure ephemeral OS disk use on the pool nodes.
33+
The `EphemeralOSDiskSettings` property isn't set by default. You must set this property in order to configure ephemeral OS disk use on the pool nodes.
34+
35+
> [!TIP]
36+
> Ephemeral OS disks cannot be used in conjunction with Spot VMs in Batch pools due to the service managed eviction policy.
3437
3538
The following example shows how to create a Batch pool where the nodes use ephemeral OS disks and not managed disks.
3639

@@ -48,5 +51,6 @@ virtualMachineConfiguration.OSDisk.EphemeralOSDiskSettings.Placement = DiffDiskP
4851

4952
## Next steps
5053

54+
- See the [Ephemeral OS Disks FAQ](../virtual-machines/ephemeral-os-disks-faq.md).
5155
- Learn about the [Batch service workflow and primary resources](batch-service-workflow-features.md) such as pools, nodes, jobs, and tasks.
5256
- Learn about [costs that may be associated with Azure Batch workloads](budget.md).

0 commit comments

Comments
 (0)