Skip to content

Commit 5febdb7

Browse files
Merge pull request #218316 from alfpark/batch2
Formatting change for Batch service tag region
2 parents ca560f6 + 5f2f7b1 commit 5febdb7

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

articles/batch/batch-virtual-network.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Provision a pool in a virtual network
33
description: How to create a Batch pool in an Azure virtual network so that compute nodes can communicate securely with other VMs in the network, such as a file server.
44
ms.topic: how-to
5-
ms.date: 10/26/2022
5+
ms.date: 11/14/2022
66
ms.custom: seodec18
77
---
88

@@ -77,9 +77,9 @@ In order to provide the necessary communication between compute nodes and the Ba
7777
configured such that:
7878

7979
* Inbound TCP traffic on ports 29876 and 29877 from Batch service IP addresses that correspond to the
80-
`BatchNodeManagement` service tag. This rule is only created in `classic` pool communication mode.
80+
BatchNodeManagement.*region* service tag. This rule is only created in `classic` pool communication mode.
8181
* Inbound TCP traffic on port 22 (Linux nodes) or port 3389 (Windows nodes) to permit remote access. For certain types of multi-instance tasks on Linux (such as MPI), you'll need to also allow SSH port 22 traffic for IPs in the subnet containing the Batch compute nodes. This traffic may be blocked per subnet-level NSG rules (see below).
82-
* Outbound any traffic on port 443 to Batch service IP addresses that correspond to the `BatchNodeManagement` service tag.
82+
* Outbound any traffic on port 443 to Batch service IP addresses that correspond to the BatchNodeManagement.*region* service tag.
8383
* Outbound traffic on any port to the virtual network. This rule may be amended per subnet-level NSG rules (see below).
8484
* Outbound traffic on any port to the Internet. This rule may be amended per subnet-level NSG rules (see below).
8585

@@ -92,13 +92,15 @@ If you have an NSG associated with the subnet for Batch compute nodes, you must
9292
NSG with at least the inbound and outbound security rules that are shown in the following tables.
9393

9494
> [!WARNING]
95-
> Batch service IP addresses can change over time. Therefore, we highly recommend that you use the `BatchNodeManagement` service tag (or a regional variant) for the NSG rules indicated in the following tables. Avoid populating NSG rules with specific Batch service IP addresses.
95+
> Batch service IP addresses can change over time. Therefore, we highly recommend that you use the
96+
> BatchNodeManagement.*region* service tag (or a regional variant) for the NSG rules indicated in the
97+
> following tables. Avoid populating NSG rules with specific Batch service IP addresses.
9698
9799
#### Inbound security rules
98100

99101
| Source Service Tag or IP Addresses | Destination Ports | Protocol | Pool Communication Mode | Required |
100102
|-|-|-|-|-|
101-
| `BatchNodeManagement.<region>` [service tag](../../articles/virtual-network/network-security-groups-overview.md#service-tags) | 29876-29877 | TCP | Classic | Yes |
103+
| BatchNodeManagement.*region* [service tag](../../articles/virtual-network/network-security-groups-overview.md#service-tags) | 29876-29877 | TCP | Classic | Yes |
102104
| Source IP addresses for remotely accessing compute nodes | 3389 (Windows), 22 (Linux) | TCP | Classic or Simplified | No |
103105

104106
Configure inbound traffic on port 3389 (Windows) or 22 (Linux) only if you need to permit remote access
@@ -111,16 +113,16 @@ through configuring [pool endpoints](pool-endpoint-configuration.md).
111113

112114
| Destination Service Tag | Destination Ports | Protocol | Pool Communication Mode | Required |
113115
|-|-|-|-|-|
114-
| `BatchNodeManagement.<region>` [service tag](../../articles/virtual-network/network-security-groups-overview.md#service-tags) | 443 | * | Simplified | Yes |
115-
| `Storage.<region>` [service tag](../../articles/virtual-network/network-security-groups-overview.md#service-tags) | 443 | TCP | Classic | Yes |
116+
| BatchNodeManagement.*region* [service tag](../../articles/virtual-network/network-security-groups-overview.md#service-tags) | 443 | * | Simplified | Yes |
117+
| Storage.*region* [service tag](../../articles/virtual-network/network-security-groups-overview.md#service-tags) | 443 | TCP | Classic | Yes |
116118

117-
Outbound to `BatchNodeManagement.<region>` service tag is required in `classic` pool communication mode
119+
Outbound to BatchNodeManagement.*region* service tag is required in `classic` pool communication mode
118120
if using Job Manager tasks or if your tasks must communicate back to the Batch service. For outbound to
119-
`BatchNodeManagement.<region>` in `simplified` pool communication mode, the Batch service currently only
121+
BatchNodeManagement.*region* in `simplified` pool communication mode, the Batch service currently only
120122
uses TCP protocol, but UDP may be required for future compatibility. For
121123
[pools without public IP addresses](simplified-node-communication-pool-no-public-ip.md)
122124
using `simplified` communication mode and with a node management private endpoint, an NSG isn't needed.
123-
For more information about outbound security rules for the `BatchNodeManagement` service tag, see
125+
For more information about outbound security rules for the BatchNodeManagement.*region* service tag, see
124126
[Use simplified compute node communication](simplified-compute-node-communication.md).
125127

126128
## Pools in the Cloud Services Configuration
@@ -182,20 +184,20 @@ To ensure that the nodes in your pool work in a VNet that has forced tunneling e
182184

183185
For classic communication mode pools:
184186

185-
- The Batch service needs to communicate with nodes for scheduling tasks. To enable this communication, add a UDR corresponding to the `BatchNodeManagement.<region>` [service tag](../virtual-network/virtual-networks-udr-overview.md#service-tags-for-user-defined-routes) in the region where your Batch account exists. Set the **Next hop type** to **Internet**.
187+
- The Batch service needs to communicate with nodes for scheduling tasks. To enable this communication, add a UDR corresponding to the BatchNodeManagement.*region* [service tag](../virtual-network/virtual-networks-udr-overview.md#service-tags-for-user-defined-routes) in the region where your Batch account exists. Set the **Next hop type** to **Internet**.
186188

187189
- Ensure that outbound TCP traffic to Azure Storage on destination port 443 (specifically, URLs of the form `*.table.core.windows.net`, `*.queue.core.windows.net`, and `*.blob.core.windows.net`) isn't blocked by your on-premises network.
188190

189191
For [simplified communication mode](simplified-compute-node-communication.md) pools without using node management private endpoint:
190192

191-
- Ensure that outbound TCP/UDP traffic to the Azure Batch `BatchNodeManagement.<region>` service tag on destination port 443 isn't blocked by your on-premises network. Currently only TCP protocol is used, but UDP may be required for future compatibility.
193+
- Ensure that outbound TCP/UDP traffic to the Azure Batch BatchNodeManagement.*region* service tag on destination port 443 isn't blocked by your on-premises network. Currently only TCP protocol is used, but UDP may be required for future compatibility.
192194

193195
For all pools:
194196

195197
- If you use virtual file mounts, review the [networking requirements](virtual-file-mount.md#networking-requirements), and ensure that no required traffic is blocked.
196198

197199
> [!WARNING]
198-
> Batch service IP addresses can change over time. To prevent outages due to Batch service IP address changes, do not directly specify IP addresses. Instead use the `BatchNodeManagement.<region>` [service tag](../virtual-network/virtual-networks-udr-overview.md#service-tags-for-user-defined-routes).
200+
> Batch service IP addresses can change over time. To prevent outages due to Batch service IP address changes, do not directly specify IP addresses. Instead use the BatchNodeManagement.*region* [service tag](../virtual-network/virtual-networks-udr-overview.md#service-tags-for-user-defined-routes).
199201
200202
## Next steps
201203

articles/batch/best-practices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Best practices
33
description: Learn best practices and useful tips for developing your Azure Batch solutions.
4-
ms.date: 10/31/2022
4+
ms.date: 11/14/2022
55
ms.topic: conceptual
66
---
77

@@ -245,9 +245,9 @@ Review the following guidance related to connectivity in your Batch solutions.
245245

246246
### Network Security Groups (NSGs) and User Defined Routes (UDRs)
247247

248-
When provisioning [Batch pools in a virtual network](batch-virtual-network.md), ensure that you're closely following the guidelines regarding the use of the `BatchNodeManagement.<region>` service tag, ports, protocols and direction of the rule. Use of the service tag is highly recommended; don't use underlying Batch service IP addresses as they can change over time. Using Batch service IP addresses directly can cause instability, interruptions, or outages for your Batch pools.
248+
When provisioning [Batch pools in a virtual network](batch-virtual-network.md), ensure that you're closely following the guidelines regarding the use of the BatchNodeManagement.*region* service tag, ports, protocols and direction of the rule. Use of the service tag is highly recommended; don't use underlying Batch service IP addresses as they can change over time. Using Batch service IP addresses directly can cause instability, interruptions, or outages for your Batch pools.
249249

250-
For User Defined Routes (UDRs), it's recommended to use `BatchNodeManagement.<region>` [service tags](../virtual-network/virtual-networks-udr-overview.md#service-tags-for-user-defined-routes) instead of Batch service IP addresses as they can change over time.
250+
For User Defined Routes (UDRs), it's recommended to use BatchNodeManagement.*region* [service tags](../virtual-network/virtual-networks-udr-overview.md#service-tags-for-user-defined-routes) instead of Batch service IP addresses as they can change over time.
251251

252252
### Honoring DNS
253253

0 commit comments

Comments
 (0)