Skip to content

Commit 5a4228b

Browse files
committed
Extra edits
1 parent 9422281 commit 5a4228b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/batch/batch-spot-vms.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ ms.date: 04/11/2023
66
ms.custom: seodec18
77
---
88

9-
# Use Spot VMs with Batch
9+
# Use Spot VMs with Batch workloads
1010

1111
Azure Batch offers Spot virtual machines (VMs) to reduce the cost of Batch workloads. Spot VMs make new types of Batch workloads possible by enabling a large amount of compute power to be used for a low cost.
1212

1313
Spot VMs take advantage of surplus capacity in Azure. When you specify Spot VMs in your pools, Azure Batch can use this surplus, when available.
1414

15-
The tradeoff for using Spot VMs is that those VMs might not always be available to be allocated, or might be preempted at any time, depending on available capacity. For this reason, Spot VMs are most suitable for batch and asynchronous processing workloads where the job completion time is flexible and the work is distributed across many VMs.
15+
The tradeoff for using Spot VMs is that those VMs might not always be available, or they might get preempted at any time, depending on available capacity. For this reason, Spot VMs are most suitable for batch and asynchronous processing workloads where the job completion time is flexible and the work is distributed across many VMs.
1616

1717
Spot VMs are offered at a reduced price compared with dedicated VMs. To learn more about pricing, see [Batch pricing](https://azure.microsoft.com/pricing/details/batch/).
1818

1919
## Differences between Spot and low-priority VMs
2020

21-
Batch offers two types of low-cost VMs that could be preempted:
21+
Batch offers two types of low-cost preemptible VMs:
2222

2323
- [Spot VMs](../virtual-machines/spot-vms.md), a modern Azure-wide offering also available as single-instance VMs or Virtual Machine Scale Sets.
2424
- Low-priority VMs, a legacy offering only available through Azure Batch.
@@ -78,7 +78,7 @@ Keep in mind the following practices when planning your use of Spot VMs:
7878

7979
A Batch pool can contain both dedicated and Spot VMs (also referred to as compute nodes). You can set the target number of compute nodes for both dedicated and Spot VMs. The target number of nodes specifies the number of VMs you want to have in the pool.
8080

81-
For example, to create a pool using Azure virtual machines, in this case Linux VMs, with a target of 5 dedicated VMs and 20 Spot VMs:
81+
The following example creates a pool using Azure virtual machines, in this case Linux VMs, with a target of 5 dedicated VMs and 20 Spot VMs:
8282

8383
```csharp
8484
ImageReference imageRef = new ImageReference(
@@ -112,7 +112,7 @@ Pool nodes have a property to indicate if the node is a dedicated or Spot VM:
112112
bool? isNodeDedicated = poolNode.IsDedicated;
113113
```
114114

115-
VMs might occasionally be preempted. When preemption happens, tasks that were running on the preempted node VMs are requeued and run again.
115+
Spot VMs might occasionally be preempted. When preemption happens, tasks that were running on the preempted node VMs are requeued and run again when capacity returns.
116116

117117
For Virtual Machine Configuration pools, Batch also performs the following behaviors:
118118

@@ -163,11 +163,11 @@ To view these metrics in the Azure portal:
163163

164164
- 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.
165165
- 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/).
166-
- 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).
166+
- Spot VMs aren't available for some clouds, VM sizes, and subscription offer types. See more about [Spot VM limitations](../virtual-machines/spot-vms.md#limitations).
167167
- Currently, [ephemeral OS disks](create-pool-ephemeral-os-disk.md) aren't supported with Spot VMs due to the service-managed eviction policy of *Stop-Deallocate*.
168168

169169
## Next steps
170170

171171
- Learn about the [Batch service workflow and primary resources](batch-service-workflow-features.md) such as pools, nodes, jobs, and tasks.
172172
- Learn about the [Batch APIs and tools](batch-apis-tools.md) available for building Batch solutions.
173-
- Start to plan the move from low-priority VMs to Spot VMs. If you use low-priority VMs with **Cloud Services Configuration** pools (which are [deprecated](https://azure.microsoft.com/updates/azure-batch-cloudserviceconfiguration-pools-will-be-retired-on-29-february-2024)), plan to migrate to [Virtual Machine configuration pools](nodes-and-pools.md#configurations) instead.
173+
- Start to plan the move from low-priority VMs to Spot VMs. If you use low-priority VMs with *Cloud Services Configuration* pools (which are [deprecated](https://azure.microsoft.com/updates/azure-batch-cloudserviceconfiguration-pools-will-be-retired-on-29-february-2024)), plan to migrate to [Virtual Machine Configuration pools](nodes-and-pools.md#configurations) instead.

0 commit comments

Comments
 (0)