Skip to content

Commit d3cc69f

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into httpkeepalive
2 parents 31a564a + 9f59995 commit d3cc69f

File tree

1 file changed

+34
-17
lines changed

1 file changed

+34
-17
lines changed

articles/batch/simplified-compute-node-communication.md

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use simplified compute node communication
33
description: Learn about the simplified compute node communication mode in the Azure Batch service and how to enable it.
44
ms.topic: how-to
5-
ms.date: 11/17/2022
5+
ms.date: 03/29/2023
66
ms.custom: references_regions
77
---
88

@@ -11,8 +11,8 @@ ms.custom: references_regions
1111
An Azure Batch pool contains one or more compute nodes that execute user-specified workloads in the form of Batch tasks. To enable Batch functionality and Batch pool infrastructure management, compute nodes must communicate with the Azure Batch service.
1212

1313
Batch supports two types of node communication modes:
14-
- `Classic` where the Batch service initiates communication to the compute nodes
15-
- `Simplified` where the compute nodes initiate communication to the Batch service
14+
- Classic: where the Batch service initiates communication to the compute nodes
15+
- Simplified: where the compute nodes initiate communication to the Batch service
1616

1717
This document describes the simplified compute node communication mode and the associated network configuration requirements.
1818

@@ -21,6 +21,12 @@ This document describes the simplified compute node communication mode and the a
2121
> Batch pools with [no public IP addresses](simplified-node-communication-pool-no-public-ip.md) using the
2222
> node management private endpoint without Internet outbound access.
2323
24+
> [!WARNING]
25+
> The classic compute node communication model will be retired on **31 March 2026** and will be replaced with
26+
> the simplified compute node communication model as described in this document. For more information, see the
27+
> classic compute node communication mode
28+
> [migration guide](batch-pools-to-simplified-compute-node-communication-model-migration-guide.md).
29+
2430
## Supported regions
2531

2632
Simplified compute node communication in Azure Batch is currently available for the following regions:
@@ -31,7 +37,7 @@ Simplified compute node communication in Azure Batch is currently available for
3137

3238
- China: all China regions where Batch is present except for China North 1 and China East 1.
3339

34-
## Compute node communication differences between Classic and Simplified
40+
## Compute node communication differences between classic and simplified modes
3541

3642
The simplified compute node communication mode streamlines the way Batch pool infrastructure is
3743
managed on behalf of users. This communication mode reduces the complexity and scope of inbound
@@ -59,7 +65,7 @@ NSGs, UDRs, and firewalls:
5965

6066
Outbound requirements for a Batch account can be discovered using the
6167
[List Outbound Network Dependencies Endpoints API](/rest/api/batchmanagement/batch-account/list-outbound-network-dependencies-endpoints)
62-
This API will report the base set of dependencies, depending upon the Batch account pool communication mode.
68+
This API reports the base set of dependencies, depending upon the Batch account pool communication mode.
6369
User-specific workloads may need extra rules such as opening traffic to other Azure resources (such as Azure
6470
Storage for Application Packages, Azure Container Registry, etc.) or endpoints like the Microsoft package
6571
repository for virtual file system mounting functionality.
@@ -78,14 +84,13 @@ example, you can scope your outbound communication rules to Azure Storage to ena
7884
storage accounts or other storage accounts for resource files or output files.
7985

8086
Even if your workloads aren't currently impacted by the changes (as described in the next section), it's
81-
recommended to move to the `simplified` mode. Doing so will ensure your Batch workloads are ready for any
82-
future improvements enabled by this mode, and also for when this communication mode will move to become
83-
the default.
87+
recommended to move to the `simplified` mode. Future improvements in the Batch service may only be functional
88+
with simplified compute node communication.
8489

8590
## Potential impact between classic and simplified communication modes
8691

87-
In many cases, the `simplified` communication mode won't directly affect your Batch workloads. However,
88-
simplified compute node communication will have an impact for the following cases:
92+
In many cases, the `simplified` communication mode doesn't directly affect your Batch workloads. However,
93+
simplified compute node communication has an impact for the following cases:
8994

9095
- Users who specify a Virtual Network as part of creating a Batch pool and do one or both of the following actions:
9196
- Explicitly disable outbound network traffic rules that are incompatible with simplified compute node communication.
@@ -106,7 +111,7 @@ The following set of steps is required to migrate to the new communication mode:
106111
- Outbound:
107112
- Destination port 443 over TCP to Storage.*region*
108113
- Destination port 443 over ANY to BatchNodeManagement.*region*
109-
1. If you have any other inbound or outbound scenarios required by your workflow, you'll need to ensure that your rules reflect these requirements.
114+
1. If you have any other inbound or outbound scenarios required by your workflow, you need to ensure that your rules reflect these requirements.
110115
1. Use one of the following options to update your workloads to use the new communication mode.
111116
- Create new pools with the `targetNodeCommunicationMode` set to `simplified` and validate that the new pools are working correctly. Migrate your workload to the new pools and delete any earlier pools.
112117
- Update existing pools `targetNodeCommunicationMode` property to `simplified` and then resize all existing pools to zero nodes and scale back out.
@@ -117,22 +122,34 @@ The following set of steps is required to migrate to the new communication mode:
117122
- Outbound:
118123
- Destination port 443 over ANY to BatchNodeManagement.*region*
119124

120-
If you follow these steps, but later want to switch back to `classic` compute node communication, you'll need to take the following actions:
125+
If you follow these steps, but later want to switch back to `classic` compute node communication, you need to take the following actions:
121126

127+
1. Revert any networking configuration operating exclusively in `simplified` compute node communication mode.
122128
1. Create new pools or update existing pools `targetNodeCommunicationMode` property set to `classic`.
123129
1. Migrate your workload to these pools, or resize existing pools and scale back out (see step 3 above).
124130
1. See step 4 above to confirm that your pools are operating in `classic` communication mode.
125-
1. Optionally revert your networking configuration.
131+
1. Optionally restore your networking configuration.
126132

127133
## Specifying the node communication mode on a Batch pool
128134

129-
Below are examples of how to create a Batch pool with `simplified` compute node communication.
135+
The [`targetNodeCommunicationMode`](/rest/api/batchservice/pool/add) property on Batch pools allows you to indicate a preference
136+
to the Batch service for which communication mode to utilize between the Batch service and compute nodes. The following are
137+
the allowable options on this property:
138+
139+
- `classic`: create the pool using classic compute node communication.
140+
- `simplified`: create the pool using simplified compute node communication.
141+
- `default`: allow the Batch service to select the appropriate compute node communication mode. For pools without a virtual
142+
network, the pool may be created in either `classic` or `simplified` mode. For pools with a virtual network, the pool will always
143+
default to `classic` until **30 September 2024**. For more information, see the classic compute node communication mode
144+
[migration guide](batch-pools-to-simplified-compute-node-communication-model-migration-guide.md).
130145

131146
> [!TIP]
132147
> Specifying the target node communication mode is a preference indication for the Batch service and not a guarantee that it
133148
> will be honored. Certain configurations on the pool may prevent the Batch service from honoring the specified target node
134149
> communication mode, such as interaction with No public IP address, virtual networks, and the pool configuration type.
135150
151+
The following are examples of how to create a Batch pool with `simplified` compute node communication.
152+
136153
### Azure portal
137154

138155
Navigate to the Pools blade of your Batch account and click the Add button. Under `OPTIONAL SETTINGS`, you can
@@ -141,9 +158,9 @@ select `Simplified` as an option from the pull-down of `Node communication mode`
141158
:::image type="content" source="media/simplified-compute-node-communication/add-pool-simplified-mode.png" alt-text="Screenshot that shows creating a pool with simplified mode.":::
142159

143160
To update an existing pool to simplified communication mode, navigate to the Pools blade of your Batch account and
144-
click on the pool to update. On the left-side navigation, select `Node communication mode`. There you'll be able
161+
click on the pool to update. On the left-side navigation, select `Node communication mode`. There you're able
145162
to select a new target node communication mode as shown below. After selecting the appropriate communication mode,
146-
click the `Save` button to update. You'll need to scale the pool down to zero nodes first, and then back out
163+
click the `Save` button to update. You need to scale the pool down to zero nodes first, and then back out
147164
for the change to take effect, if conditions allow.
148165

149166
:::image type="content" source="media/simplified-compute-node-communication/update-pool-simplified-mode.png" alt-text="Screenshot that shows updating a pool to simplified mode.":::
@@ -202,7 +219,7 @@ if specified on the pool. For more information, see the
202219
[migration guide](batch-pools-without-public-ip-addresses-classic-retirement-migration-guide.md).
203220
- Cloud Service Configuration pools are currently not supported for simplified compute node communication and are
204221
[deprecated](https://azure.microsoft.com/updates/azure-batch-cloudserviceconfiguration-pools-will-be-retired-on-29-february-2024/).
205-
Specifying a communication mode for these types of pools aren't honored and will always result in `classic`
222+
Specifying a communication mode for these types of pools aren't honored and always results in `classic`
206223
communication mode. We recommend using Virtual Machine Configuration for your Batch pools. For more information, see
207224
[Migrate Batch pool configuration from Cloud Services to Virtual Machine](batch-pool-cloud-service-to-virtual-machine-configuration.md).
208225

0 commit comments

Comments
 (0)