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/simplified-compute-node-communication.md
+34-17Lines changed: 34 additions & 17 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: Use simplified compute node communication
3
3
description: Learn about the simplified compute node communication mode in the Azure Batch service and how to enable it.
4
4
ms.topic: how-to
5
-
ms.date: 11/17/2022
5
+
ms.date: 03/29/2023
6
6
ms.custom: references_regions
7
7
---
8
8
@@ -11,8 +11,8 @@ ms.custom: references_regions
11
11
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.
12
12
13
13
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
16
16
17
17
This document describes the simplified compute node communication mode and the associated network configuration requirements.
18
18
@@ -21,6 +21,12 @@ This document describes the simplified compute node communication mode and the a
21
21
> Batch pools with [no public IP addresses](simplified-node-communication-pool-no-public-ip.md) using the
22
22
> node management private endpoint without Internet outbound access.
23
23
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
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.
63
69
User-specific workloads may need extra rules such as opening traffic to other Azure resources (such as Azure
64
70
Storage for Application Packages, Azure Container Registry, etc.) or endpoints like the Microsoft package
65
71
repository for virtual file system mounting functionality.
@@ -78,14 +84,13 @@ example, you can scope your outbound communication rules to Azure Storage to ena
78
84
storage accounts or other storage accounts for resource files or output files.
79
85
80
86
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.
84
89
85
90
## Potential impact between classic and simplified communication modes
86
91
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:
89
94
90
95
- Users who specify a Virtual Network as part of creating a Batch pool and do one or both of the following actions:
91
96
- 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:
106
111
- Outbound:
107
112
- Destination port 443 over TCP to Storage.*region*
108
113
- 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.
110
115
1. Use one of the following options to update your workloads to use the new communication mode.
111
116
- 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.
112
117
- 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:
117
122
- Outbound:
118
123
- Destination port 443 over ANY to BatchNodeManagement.*region*
119
124
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:
121
126
127
+
1. Revert any networking configuration operating exclusively in `simplified` compute node communication mode.
122
128
1. Create new pools or update existing pools `targetNodeCommunicationMode` property set to `classic`.
123
129
1. Migrate your workload to these pools, or resize existing pools and scale back out (see step 3 above).
124
130
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.
126
132
127
133
## Specifying the node communication mode on a Batch pool
128
134
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
> Specifying the target node communication mode is a preference indication for the Batch service and not a guarantee that it
133
148
> will be honored. Certain configurations on the pool may prevent the Batch service from honoring the specified target node
134
149
> communication mode, such as interaction with No public IP address, virtual networks, and the pool configuration type.
135
150
151
+
The following are examples of how to create a Batch pool with `simplified` compute node communication.
152
+
136
153
### Azure portal
137
154
138
155
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`
141
158
:::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.":::
142
159
143
160
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
145
162
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
147
164
for the change to take effect, if conditions allow.
148
165
149
166
:::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
0 commit comments