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/quick-run-python.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: 'Quickstart: Use Python to create a pool and run a job'
3
3
description: Follow this quickstart to run an app that uses the Azure Batch client library for Python to create and run Batch pools, nodes, jobs, and tasks.
4
-
ms.date: 03/01/2024
4
+
ms.date: 03/21/2025
5
5
ms.topic: quickstart
6
6
ms.devlang: python
7
7
ms.custom: mvc, devx-track-python, mode-api
@@ -13,7 +13,7 @@ This quickstart shows you how to get started with Azure Batch by running an app
13
13
14
14
> [!div class="checklist"]
15
15
> - Uploads several input data files to an Azure Storage blob container to use for Batch task processing.
16
-
> - Creates a pool of two virtual machines (VMs), or compute nodes, running Ubuntu 20.04 LTS OS.
16
+
> - Creates a pool of two virtual machines (VMs), or compute nodes, running Ubuntu 22.04 LTS OS.
17
17
> - Creates a job and three tasks to run on the nodes. Each task processes one of the input files by using a Bash shell command line.
18
18
> - Displays the output files that the tasks return.
19
19
@@ -150,7 +150,7 @@ Review the code to understand the steps in the [Azure Batch Python Quickstart](h
150
150
151
151
### Create a pool of compute nodes
152
152
153
-
To create a Batch pool, the app uses the [PoolAddParameter](/python/api/azure-batch/azure.batch.models.pooladdparameter) class to set the number of nodes, VM size, and pool configuration. The following [VirtualMachineConfiguration](/python/api/azure-batch/azure.batch.models.virtualmachineconfiguration) object specifies an [ImageReference](/python/api/azure-batch/azure.batch.models.imagereference) to an Ubuntu Server 20.04 LTS Azure Marketplace image. Batch supports a wide range of Linux and Windows Server Marketplace images, and also supports custom VM images.
153
+
To create a Batch pool, the app uses the [PoolAddParameter](/python/api/azure-batch/azure.batch.models.pooladdparameter) class to set the number of nodes, VM size, and pool configuration. The following [VirtualMachineConfiguration](/python/api/azure-batch/azure.batch.models.virtualmachineconfiguration) object specifies an [ImageReference](/python/api/azure-batch/azure.batch.models.imagereference) to an Ubuntu Server 22.04 LTS Azure Marketplace image. Batch supports a wide range of Linux and Windows Server Marketplace images, and also supports custom VM images.
154
154
155
155
The `POOL_NODE_COUNT` and `POOL_VM_SIZE` are defined constants. The app creates a pool of two size Standard_DS1_v2 nodes. This size offers a good balance of performance versus cost for this quickstart.
0 commit comments