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
> * Specify the required version of Terraform and the required providers.
24
+
> * Define the Azure provider with no additional features.
25
+
> * Define variables for the location of the resource group and the prefix of the resource group name.
23
26
> * Generate a random name for the resource group using the provided prefix.
24
27
> * Create an Azure resource group with the generated name at the specified location.
25
28
> * Generate a random string to be used as the name for the Storage account.
26
-
> * Create a Storage account with the generated name, in the created resource group, at the same location, and with a standard account tier and locally redundant storage replication type.
29
+
> * Create a Storage account with the generated name in the created resource group, at the same location, and with a standard account tier and locally redundant Storage replication type.
27
30
> * Generate another random string to be used as the name for the Batch account.
28
-
> * Create a Batch account with the generated name, in the created resource group, at the same location, and link it to the created Storage account with Storage keys authentication mode.
31
+
> * Create a Batch account with the generated name in the created resource group, at the same location, and link it to the created Storage account with Storage keys authentication mode.
29
32
> * Generate a random name for the Batch pool with a "pool" prefix.
30
-
> * Create a Batch pool with a fixed scale, using the generated name, in the created resource group, linked to the created Batch account, with a standard A1 virtual machine (VM) size, Ubuntu 22.04 node agent SKU, and a start task that echoes 'Hello World from $env' with a maximum of one retry and waits for success.
33
+
> * Create a Batch pool with a fixed scale using the generated name in the created resource group, linked to the created Batch account, with a standard A1 virtual machine (VM) size, Ubuntu 22.04 node agent SKU, and a start task that echoes 'Hello World from $env' with a maximum of one retry and waits for success.
31
34
> * Create another Batch pool with auto scale, using the same generated name, in the created resource group, linked to the created Batch account, with a standard A1 VM size, Ubuntu 22.04 node agent SKU, and an autoscale formula.
32
35
> * Output the names of the created resource group, Storage account, Batch account, and both Batch pools.
33
-
> * Specify the required version of Terraform and the required providers.
34
-
> * Define the Azure provider with no additional features.
35
-
> * Define variables for the location of the resource group and the prefix of the resource group name.
36
36
37
37
## Prerequisites
38
38
@@ -49,16 +49,16 @@ In this quickstart, you create an Azure Batch account, an Azure Storage account,
49
49
50
50
1. Create a directory in which to test and run the sample Terraform code and make it the current directory.
51
51
52
-
1. Create a file named `main.tf` and insert the following code:
52
+
1. Create a file named `main.tf`, and insert the following code:
Copy file name to clipboardExpand all lines: articles/batch/quick-deploy-batch-account-and-two-pools-wth-start-task-terraform.md
+11-11Lines changed: 11 additions & 11 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: 'Deploy an Azure Batch account and two pools with a start task - Terraform'
3
3
description: In this article, you deploy an Azure Batch account and two pools with a start task using Terraform.
4
4
ms.topic: quickstart
5
-
ms.date: 10/18/2024
5
+
ms.date: 10/22/2024
6
6
ms.custom: devx-track-terraform
7
7
ms.service: azure-batch
8
8
author: Padmalathas
@@ -15,24 +15,24 @@ ai-usage: ai-assisted
15
15
16
16
# Deploy an Azure Batch account and two pools with a start task - Terraform
17
17
18
-
In this quickstart, you create an Azure Batch account, an Azure Storage account, and two Batch pools using Terraform. Batch is a cloud-based job scheduling service that parallelizes and distributes the processing of large volumes of data across many computers. It's typically used for tasks like rendering 3D graphics, analyzing large datasets, or processing video. In this case, the resources created include a Batch account (which is the central organizing entity for distributed processing tasks), a storage account for holding the data to be processed, and two Batch pools, which are groups of virtual machines that execute the tasks.
18
+
In this quickstart, you create an Azure Batch account, an Azure Storage account, and two Batch pools using Terraform. Batch is a cloud-based job scheduling service that parallelizes and distributes the processing of large volumes of data across many computers. It's typically used for tasks like rendering 3D graphics, analyzing large datasets, or processing video. In this case, the resources created include a Batch account (which is the central organizing entity for distributed processing tasks), a Storage account for holding the data to be processed, and two Batch pools, which are groups of virtual machines that execute the tasks.
0 commit comments