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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,10 @@ ms.date: 11/18/2020
7
7
8
8
# Use a managed image to create a custom image pool
9
9
10
-
To create a custom image pool for your Batch pool's virtual machines (VMs), you can use a managed image to create a [Shared Image 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.
10
+
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.
11
11
12
12
> [!IMPORTANT]
13
-
> In most cases, you should create custom images using the Shared Image Gallery. By using the Shared Image Gallery, you can provision pools faster, scale larger quantities of VMs, and have improved reliability when provisioning VMs. To learn more, see [Use the Shared Image Gallery to create a custom pool](batch-sig-images.md).
13
+
> 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).
14
14
15
15
This topic explains how to create a custom image pool using only a managed image.
16
16
@@ -136,7 +136,7 @@ Also note the following considerations:
Copy file name to clipboardExpand all lines: articles/batch/batch-linux-nodes.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
@@ -15,7 +15,7 @@ When you create a pool of compute nodes in Batch, you have two options from whic
15
15
16
16
### Virtual machine image reference
17
17
18
-
The Batch service uses [virtual machine scale sets](../virtual-machine-scale-sets/overview.md) to provide compute nodes in the Virtual Machine Configuration. You can specify an image from the [Azure Marketplace](https://azuremarketplace.microsoft.com/marketplace/apps/category/compute?filters=virtual-machine-images&page=1), or [use the Shared Image Gallery to prepare a custom image](batch-sig-images.md).
18
+
The Batch service uses [virtual machine scale sets](../virtual-machine-scale-sets/overview.md) to provide compute nodes in the Virtual Machine Configuration. You can specify an image from the [Azure Marketplace](https://azuremarketplace.microsoft.com/marketplace/apps/category/compute?filters=virtual-machine-images&page=1), or [use the Azure Compute Gallery to prepare a custom image](batch-sig-images.md).
19
19
20
20
When you create a virtual machine image reference, you must specify the following properties:
Copy file name to clipboardExpand all lines: articles/batch/batch-pool-compute-intensive-sizes.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ To run CUDA applications on a pool of Linux NC nodes, you need to install necess
110
110
1. Deploy an Azure NC-series VM running Ubuntu 16.04 LTS. For example, create the VM in the US South Central region.
111
111
2. Add the [NVIDIA GPU Drivers extension](../virtual-machines/extensions/hpccompute-gpu-linux.md
112
112
) to the VM by using the Azure portal, a client computer that connects to the Azure subscription, or Azure Cloud Shell. Alternatively, follow the steps to connect to the VM and [install CUDA drivers](../virtual-machines/linux/n-series-driver-setup.md) manually.
113
-
3. Follow the steps to create a [Shared Image Gallery image](batch-sig-images.md) for Batch.
113
+
3. Follow the steps to create an [Azure Compute Gallery image](batch-sig-images.md) for Batch.
114
114
4. Create a Batch account in a region that supports NC VMs.
115
115
5. Using the Batch APIs or Azure portal, create a pool [using the custom image](batch-sig-images.md) and with the desired number of nodes and scale. The following table shows sample pool settings for the image:
116
116
@@ -129,8 +129,8 @@ To run Windows MPI applications on a pool of Azure H16r VM nodes, you need to co
129
129
2. Add the HpcVmDrivers extension to the VM by [running an Azure PowerShell command](../virtual-machines/sizes-hpc.md) from a client computer that connects to your Azure subscription, or using Azure Cloud Shell.
130
130
1. Make a Remote Desktop connection to the VM.
131
131
1. Download the [setup package](https://www.microsoft.com/download/details.aspx?id=57467) (MSMpiSetup.exe) for the latest version of Microsoft MPI, and install Microsoft MPI.
132
-
1. Follow the steps to create a [Shared Image Gallery image](batch-sig-images.md) for Batch.
133
-
1. Using the Batch APIs or Azure portal, create a pool [using the Shared Image Gallery](batch-sig-images.md) and with the desired number of nodes and scale. The following table shows sample pool settings for the image:
132
+
1. Follow the steps to create an [Azure Compute Gallery image](batch-sig-images.md) for Batch.
133
+
1. Using the Batch APIs or Azure portal, create a pool [using the Azure Compute Gallery](batch-sig-images.md) and with the desired number of nodes and scale. The following table shows sample pool settings for the image:
Copy file name to clipboardExpand all lines: articles/batch/batch-pool-node-error-checking.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
@@ -35,7 +35,7 @@ Common causes for resize errors include:
35
35
- Insufficient resources when a [pool is in a virtual network](./batch-virtual-network.md)
36
36
- You might create resources such as load-balancers, public IPs, and network security groups in the same subscription as the Batch account. Check that the subscription quotas are sufficient for these resources.
37
37
- Large pools with custom VM images
38
-
- Large pools that use custom VM images can take longer to allocate and resize timeouts can occur. See [Create a pool with the Shared Image Gallery](batch-sig-images.md) for recommendations on limits and configuration.
38
+
- Large pools that use custom VM images can take longer to allocate and resize timeouts can occur. See [Create a pool with the Azure Compute Gallery](batch-sig-images.md) for recommendations on limits and configuration.
Copy file name to clipboardExpand all lines: articles/batch/batch-rendering-functionality.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ For an overview of Batch concepts, including pools, jobs, and tasks, see [this a
15
15
16
16
## Batch pools using custom VM images and standard application licensing
17
17
18
-
As with other workloads and types of application, a custom VM image can be created with the required rendering applications and plug-ins. The custom VM image is placed in the [Shared Image Gallery](../virtual-machines/shared-image-galleries.md) and [can be used to create Batch Pools](batch-sig-images.md).
18
+
As with other workloads and types of application, a custom VM image can be created with the required rendering applications and plug-ins. The custom VM image is placed in the [Azure Compute Gallery](../virtual-machines/shared-image-galleries.md) and [can be used to create Batch Pools](batch-sig-images.md).
19
19
20
20
The task command line strings will need to reference the applications and paths used when creating the custom VM image.
21
21
@@ -41,8 +41,8 @@ The Azure portal and Batch Explorer provide GUI tools to select a rendering VM i
41
41
42
42
Other options are available if additional applications are required on the pool VMs:
43
43
44
-
* A custom image from the Shared Image Gallery:
45
-
* Using this option, you can configure your VM with the exact applications and specific versions that you require. For more information, see [Create a pool with the Shared Image Gallery](batch-sig-images.md). Autodesk and Chaos Group have modified Arnold and V-Ray, respectively, to validate against an Azure Batch licensing service. Make sure you have the versions of these applications with this support, otherwise the pay-per-use licensing won't work. Current versions of Maya or 3ds Max don't require a license server when running headless (in batch/command-line mode). Contact Azure support if you're not sure how to proceed with this option.
44
+
* A custom image from the Azure Compute Gallery:
45
+
* Using this option, you can configure your VM with the exact applications and specific versions that you require. For more information, see [Create a pool with the Azure Compute Gallery](batch-sig-images.md). Autodesk and Chaos Group have modified Arnold and V-Ray, respectively, to validate against an Azure Batch licensing service. Make sure you have the versions of these applications with this support, otherwise the pay-per-use licensing won't work. Current versions of Maya or 3ds Max don't require a license server when running headless (in batch/command-line mode). Contact Azure support if you're not sure how to proceed with this option.
* Package the application files using one or more ZIP files, upload via the Azure portal, and specify the package in pool configuration. When pool VMs are created, the ZIP files are downloaded and the files extracted.
Copy file name to clipboardExpand all lines: articles/batch/batch-sig-images.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
title: Use the Shared Image Gallery to create a custom image pool
2
+
title: Use the Azure Compute Gallery to create a custom image pool
3
3
description: Custom image pools are an efficient way to configure compute nodes to run your Batch workloads.
4
4
ms.topic: conceptual
5
5
ms.date: 03/04/2021
6
6
ms.custom: devx-track-python, devx-track-azurecli
7
7
---
8
8
9
-
# Use the Shared Image Gallery to create a custom image pool
9
+
# Use the Azure Compute Gallery to create a custom image pool
10
10
11
-
When you create an Azure Batch pool using the Virtual Machine Configuration, you specify a VM image that provides the operating system for each compute node in the pool. You can create a pool of virtual machines either with a supported Azure Marketplace image or create a custom image with a [Shared Image Gallery image](../virtual-machines/shared-image-galleries.md).
11
+
When you create an Azure Batch pool using the Virtual Machine Configuration, you specify a VM image that provides the operating system for each compute node in the pool. You can create a pool of virtual machines either with a supported Azure Marketplace image or create a custom image with a [Azure Compute Gallery image](../virtual-machines/shared-image-galleries.md).
12
12
13
-
## Benefits of the Shared Image Gallery
13
+
## Benefits of the Azure Compute Gallery
14
14
15
-
When you use the Shared Image Gallery for your custom image, you have control over the operating system type and configuration, as well as the type of data disks. Your Shared Image can include applications and reference data that become available on all the Batch pool nodes as soon as they are provisioned.
15
+
When you use the Azure Compute Gallery for your custom image, you have control over the operating system type and configuration, as well as the type of data disks. Your Shared Image can include applications and reference data that become available on all the Batch pool nodes as soon as they are provisioned.
16
16
17
17
You can also have multiple versions of an image as needed for your environment. When you use an image version to create a VM, the image version is used to create new disks for the VM.
18
18
@@ -24,7 +24,7 @@ Using a Shared Image configured for your scenario can provide several advantages
24
24
-**Configure the operating system (OS).** You can customize the configuration of the image's operating system disk.
25
25
-**Pre-install applications.** Pre-installing applications on the OS disk is more efficient and less error-prone than installing applications after provisioning the compute nodes with a start task.
26
26
-**Copy large amounts of data once.** Make static data part of the managed Shared Image by copying it to a managed image's data disks. This only needs to be done once and makes data available to each node of the pool.
27
-
-**Grow pools to larger sizes.** With the Shared Image Gallery, you can create larger pools with your customized images along with more Shared Image replicas.
27
+
-**Grow pools to larger sizes.** With the Azure Compute Gallery, you can create larger pools with your customized images along with more Shared Image replicas.
28
28
-**Better performance than using just a managed image as a custom image.** For a Shared Image custom image pool, the time to reach the steady state is up to 25% faster, and the VM idle latency is up to 30% shorter.
29
29
-**Image versioning and grouping for easier management.** The image grouping definition contains information about why the image was created, what OS it is for, and information about using the image. Grouping images allows for easier image management. For more information, see [Image definitions](../virtual-machines/shared-image-galleries.md#image-definitions).
30
30
@@ -35,14 +35,14 @@ Using a Shared Image configured for your scenario can provide several advantages
35
35
36
36
-**An Azure Batch account.** To create a Batch account, see the Batch quickstarts using the [Azure portal](quick-create-portal.md) or [Azure CLI](quick-create-cli.md).
37
37
38
-
-**A Shared Image Gallery image**. To create a Shared Image, you need to have or create a managed image resource. The image should be created from snapshots of the VM's OS disk and optionally its attached data disks.
38
+
-**an Azure Compute Gallery image**. To create a Shared Image, you need to have or create a managed image resource. The image should be created from snapshots of the VM's OS disk and optionally its attached data disks.
39
39
40
40
> [!NOTE]
41
41
> If the Shared Image is not in the same subscription as the Batch account, you must [register the Microsoft.Batch resource provider](../azure-resource-manager/management/resource-providers-and-types.md#register-resource-provider) for that subscription. The two subscriptions must be in the same Azure AD tenant.
42
42
>
43
43
> The image can be in a different region as long as it has replicas in the same region as your Batch account.
44
44
45
-
If you use an Azure AD application to create a custom image pool with a Shared Image Gallery image, that application must have been granted an [Azure built-in role](../role-based-access-control/rbac-and-directory-admin-roles.md#azure-roles) that gives it access to the the Shared Image. You can grant this access in the Azure portal by navigating to the Shared Image, selecting **Access control (IAM)** and adding a role assignment for the application.
45
+
If you use an Azure AD application to create a custom image pool with an Azure Compute Gallery image, that application must have been granted an [Azure built-in role](../role-based-access-control/rbac-and-directory-admin-roles.md#azure-roles) that gives it access to the the Shared Image. You can grant this access in the Azure portal by navigating to the Shared Image, selecting **Access control (IAM)** and adding a role assignment for the application.
46
46
47
47
## Prepare a Shared Image
48
48
@@ -82,9 +82,9 @@ A snapshot is a full, read-only copy of a VHD. To create a snapshot of a VM's OS
82
82
83
83
To create a managed image from a snapshot, use Azure command-line tools such as the [az image create](/cli/azure/image) command. Create an image by specifying an OS disk snapshot and optionally one or more data disk snapshots.
84
84
85
-
### Create a Shared Image Gallery
85
+
### Create an Azure Compute Gallery
86
86
87
-
Once you have successfully created your managed image, you need to create a Shared Image Gallery to make your custom image available. To learn how to create a Shared Image Gallery for your images, see [Create a Shared Image Gallery](../virtual-machines/create-gallery.md).
87
+
Once you have successfully created your managed image, you need to create an Azure Compute Gallery to make your custom image available. To learn how to create an Azure Compute Gallery for your images, see [Create an Azure Compute Gallery](../virtual-machines/create-gallery.md).
88
88
89
89
## Create a pool from a Shared Image using the Azure CLI
# Create an ImageReference which specifies the image from
177
-
#Shared Image Gallery to install on the nodes.
177
+
#Azure Compute Gallery to install on the nodes.
178
178
ir = batchmodels.ImageReference(
179
179
virtual_machine_image_id="/subscriptions/{sub id}/resourceGroups/{resource group name}/providers/Microsoft.Compute/galleries/{gallery name}/images/{image definition name}/versions/{version id}"
180
180
)
@@ -207,7 +207,7 @@ Use the following steps to create a pool from a Shared Image in the Azure portal
207
207
1. Open the [Azure portal](https://portal.azure.com).
208
208
1. Go to **Batch accounts** and select your account.
209
209
1. Select **Pools** and then **Add** to create a new pool.
210
-
1. In the **Image Type** section, select **Shared Image Gallery**.
210
+
1. In the **Image Type** section, select **Azure Compute Gallery**.
211
211
1. Complete the remaining sections with information about your managed image.
212
212
1. Select **OK**.
213
213
@@ -217,11 +217,11 @@ Use the following steps to create a pool from a Shared Image in the Azure portal
217
217
218
218
If you plan to create a pool with hundreds or thousands of VMs or more using a Shared Image, use the following guidance.
219
219
220
-
-**Shared Image Gallery replica numbers.** For every pool with up to 300 instances, we recommend you keep at least one replica. For example, if you are creating a pool with 3000 VMs, you should keep at least 10 replicas of your image. We always suggest keeping more replicas than minimum requirements for better performance.
220
+
-**Azure Compute Gallery replica numbers.** For every pool with up to 300 instances, we recommend you keep at least one replica. For example, if you are creating a pool with 3000 VMs, you should keep at least 10 replicas of your image. We always suggest keeping more replicas than minimum requirements for better performance.
221
221
222
222
-**Resize timeout.** If your pool contains a fixed number of nodes (if it doesn't autoscale), increase the `resizeTimeout` property of the pool depending on the pool size. For every 1000 VMs, the recommended resize timeout is at least 15 minutes. For example, the recommended resize timeout for a pool with 2000 VMs is at least 30 minutes.
223
223
224
224
## Next steps
225
225
226
226
- For an in-depth overview of Batch, see [Batch service workflow and resources](batch-service-workflow-features.md).
227
-
- Learn about the [Shared Image Gallery](../virtual-machines/shared-image-galleries.md).
227
+
- Learn about the [Azure Compute Gallery](../virtual-machines/shared-image-galleries.md).
0 commit comments