Skip to content

Commit 611a310

Browse files
committed
freshness_c65
1 parent 082e0d3 commit 611a310

File tree

4 files changed

+74
-54
lines changed

4 files changed

+74
-54
lines changed

articles/hdinsight/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,8 @@
907907
href: ./transport-layer-security.md
908908
- name: Plan VNETs for HDInsight
909909
href: ./hdinsight-plan-virtual-network-deployment.md
910+
- name: Control network traffic
911+
href: ./control-network-traffic.md
910912
- name: Required IP Addresses for NSGs and UDRs
911913
href: ./hdinsight-management-ip-addresses.md
912914
- name: Service tags for Azure firewall
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: Control network traffic in Azure HDInsight
3+
description: Learn techniques for controlling inbound and outbound traffic to Azure HDInsight clusters.
4+
author: hrasheed-msft
5+
ms.author: hrasheed
6+
ms.reviewer: jasonh
7+
ms.service: hdinsight
8+
ms.topic: conceptual
9+
ms.date: 05/04/2020
10+
---
11+
12+
# Control network traffic in Azure HDInsight
13+
14+
Network traffic in an Azure Virtual Networks can be controlled using the following methods:
15+
16+
* **Network security groups** (NSG) allow you to filter inbound and outbound traffic to the network. For more information, see the [Filter network traffic with network security groups](../virtual-network/security-overview.md) document.
17+
18+
* **Network virtual appliances** (NVA) can be used with outbound traffic only. NVAs replicate the functionality of devices such as firewalls and routers. For more information, see the [Network Appliances](https://azure.microsoft.com/solutions/network-appliances) document.
19+
20+
As a managed service, HDInsight requires unrestricted access to the HDInsight health and management services both for incoming and outgoing traffic from the VNET. When using NSGs, you must ensure that these services can still communicate with HDInsight cluster.
21+
22+
![Diagram of HDInsight entities created in Azure custom VNET](./media/control-network-traffic/hdinsight-vnet-diagram.png)
23+
24+
## HDInsight with network security groups
25+
26+
If you plan on using **network security groups** to control network traffic, perform the following actions before installing HDInsight:
27+
28+
1. Identify the Azure region that you plan to use for HDInsight.
29+
30+
2. Identify the service tags required by HDInsight for your region. For more information, see [Network security group (NSG) service tags for Azure HDInsight](hdinsight-service-tags.md).
31+
32+
3. Create or modify the network security groups for the subnet that you plan to install HDInsight into.
33+
34+
* __Network security groups__: allow __inbound__ traffic on port __443__ from the IP addresses. This will ensure that HDInsight management services can reach the cluster from outside the virtual network.
35+
36+
For more information on network security groups, see the [overview of network security groups](../virtual-network/security-overview.md).
37+
38+
## Controlling outbound traffic from HDInsight clusters
39+
40+
For more information on controlling outbound traffic from HDInsight clusters, see [Configure outbound network traffic restriction for Azure HDInsight clusters](hdinsight-restrict-outbound-traffic.md).
41+
42+
### Forced tunneling to on-premises
43+
44+
Forced tunneling is a user-defined routing configuration where all traffic from a subnet is forced to a specific network or location, such as your on-premises network or Firewall. Forced tunneling of all data transfer back to on-premise is _not_ recommended due to large volumes of data transfer and potential performance impact.
45+
46+
Customers who are interested to setup forced tunneling, should use [custom metastores](./hdinsight-use-external-metadata-stores.md) and setup the approperiate connectivity from the cluster subnet or on-premise network to these custom metastores.
47+
48+
To see an example of the UDR setup with Azure Firewall, see [Configure outbound network traffic restriction for Azure HDInsight clusters](hdinsight-restrict-outbound-traffic.md).
49+
50+
## Required IP addresses
51+
52+
If you use network security groups or user-defined routes to control traffic, see [HDInsight management IP addresses](hdinsight-management-ip-addresses.md).
53+
54+
## Required ports
55+
56+
If you plan on using a **firewall** and access the cluster from outside on certain ports, you might need to allow traffic on those ports needed for your scenario. By default, no special whitelisting of ports is needed as long as the Azure management traffic explained in the previous section is allowed to reach cluster on port 443.
57+
58+
For a list of ports for specific services, see the [Ports used by Apache Hadoop services on HDInsight](hdinsight-hadoop-port-settings-for-services.md) document.
59+
60+
For more information on firewall rules for virtual appliances, see the [virtual appliance scenario](../virtual-network/virtual-network-scenario-udr-gw-nva.md) document.
61+
62+
## Next steps
63+
64+
* For code samples and examples of creating Azure Virtual Networks, see [Create virtual networks for Azure HDInsight clusters](hdinsight-create-virtual-network.md).
65+
* For an end-to-end example of configuring HDInsight to connect to an on-premises network, see [Connect HDInsight to an on-premises network](./connect-on-premises-network.md).
66+
* For more information on Azure virtual networks, see the [Azure Virtual Network overview](../virtual-network/virtual-networks-overview.md).
67+
* For more information on network security groups, see [Network security groups](../virtual-network/security-overview.md).
68+
* For more information on user-defined routes, see [User-defined routes and IP forwarding](../virtual-network/virtual-networks-udr-overview.md).
69+
* For more information on virtual networks, see [Plan VNETs for HDInsight](./hdinsight-plan-virtual-network-deployment.md).

articles/hdinsight/hdinsight-plan-virtual-network-deployment.md

Lines changed: 3 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: jasonh
77
ms.service: hdinsight
88
ms.topic: conceptual
99
ms.custom: hdinsightactive,seoapr2020
10-
ms.date: 04/21/2020
10+
ms.date: 05/04/2020
1111
---
1212

1313
# Plan a virtual network for Azure HDInsight
@@ -39,7 +39,7 @@ The following are the questions that you must answer when planning to install HD
3939

4040
* Do you want to restrict/redirect inbound or outbound traffic to HDInsight?
4141

42-
HDInsight must have unrestricted communication with specific IP addresses in the Azure data center. There are also several ports that must be allowed through firewalls for client communication. For more information, see the [controlling network traffic](#networktraffic) section.
42+
HDInsight must have unrestricted communication with specific IP addresses in the Azure data center. There are also several ports that must be allowed through firewalls for client communication. For more information, see [Control network traffic](./control-network-traffic.md).
4343

4444
## <a id="existingvnet"></a>Add HDInsight to an existing virtual network
4545

@@ -196,58 +196,6 @@ To connect to Apache Ambari and other web pages through the virtual network, use
196196
197197
2. To determine the node and port that a service is available on, see the [Ports used by Hadoop services on HDInsight](./hdinsight-hadoop-port-settings-for-services.md) document.
198198
199-
## <a id="networktraffic"></a> Controlling network traffic
200-
201-
### Techniques for controlling inbound and outbound traffic to HDInsight clusters
202-
203-
Network traffic in an Azure Virtual Networks can be controlled using the following methods:
204-
205-
* **Network security groups** (NSG) allow you to filter inbound and outbound traffic to the network. For more information, see the [Filter network traffic with network security groups](../virtual-network/security-overview.md) document.
206-
207-
* **Network virtual appliances** (NVA) can be used with outbound traffic only. NVAs replicate the functionality of devices such as firewalls and routers. For more information, see the [Network Appliances](https://azure.microsoft.com/solutions/network-appliances) document.
208-
209-
As a managed service, HDInsight requires unrestricted access to the HDInsight health and management services both for incoming and outgoing traffic from the VNET. When using NSGs, you must ensure that these services can still communicate with HDInsight cluster.
210-
211-
![Diagram of HDInsight entities created in Azure custom VNET](./media/hdinsight-plan-virtual-network-deployment/hdinsight-vnet-diagram.png)
212-
213-
### HDInsight with network security groups
214-
215-
If you plan on using **network security groups** to control network traffic, perform the following actions before installing HDInsight:
216-
217-
1. Identify the Azure region that you plan to use for HDInsight.
218-
219-
2. Identify the service tags required by HDInsight for your region. For more information, see [Network security group (NSG) service tags for Azure HDInsight](hdinsight-service-tags.md).
220-
221-
3. Create or modify the network security groups for the subnet that you plan to install HDInsight into.
222-
223-
* __Network security groups__: allow __inbound__ traffic on port __443__ from the IP addresses. This will ensure that HDInsight management services can reach the cluster from outside the virtual network.
224-
225-
For more information on network security groups, see the [overview of network security groups](../virtual-network/security-overview.md).
226-
227-
### Controlling outbound traffic from HDInsight clusters
228-
229-
For more information on controlling outbound traffic from HDInsight clusters, see [Configure outbound network traffic restriction for Azure HDInsight clusters](hdinsight-restrict-outbound-traffic.md).
230-
231-
#### Forced tunneling to on-premises
232-
233-
Forced tunneling is a user-defined routing configuration where all traffic from a subnet is forced to a specific network or location, such as your on-premises network or Firewall. Forced tunneling of all data transfer back to on-premise is _not_ recommended due to large volumes of data transfer and potential performance impact.
234-
235-
Customers who are interested to setup forced tunneling, should use [custom metastores](./hdinsight-use-external-metadata-stores.md) and setup the approperiate connectivity from the cluster subnet or on-premise network to these custom metastores.
236-
237-
To see an example of the UDR setup with Azure Firewall, see [Configure outbound network traffic restriction for Azure HDInsight clusters](hdinsight-restrict-outbound-traffic.md).
238-
239-
## <a id="hdinsight-ip"></a> Required IP addresses
240-
241-
If you use network security groups or user-defined routes to control traffic, see [HDInsight management IP addresses](hdinsight-management-ip-addresses.md).
242-
243-
## <a id="hdinsight-ports"></a> Required ports
244-
245-
If you plan on using a **firewall** and access the cluster from outside on certain ports, you might need to allow traffic on those ports needed for your scenario. By default, no special whitelisting of ports is needed as long as the Azure management traffic explained in the previous section is allowed to reach cluster on port 443.
246-
247-
For a list of ports for specific services, see the [Ports used by Apache Hadoop services on HDInsight](hdinsight-hadoop-port-settings-for-services.md) document.
248-
249-
For more information on firewall rules for virtual appliances, see the [virtual appliance scenario](../virtual-network/virtual-network-scenario-udr-gw-nva.md) document.
250-
251199
## Load balancing
252200
253201
When you create an HDInsight cluster, a load balancer is created as well. The type of this load balancer is at the [basic SKU level](../load-balancer/types.md#skus), which has certain constraints. One of these constraints is that if you have two virtual networks in different regions, you cannot connect to basic load balancers. See [virtual networks FAQ: constraints on global vnet peering](../virtual-network/virtual-networks-faq.md#what-are-the-constraints-related-to-global-vnet-peering-and-load-balancers), for more information.
@@ -259,3 +207,4 @@ When you create an HDInsight cluster, a load balancer is created as well. The ty
259207
* For more information on Azure virtual networks, see the [Azure Virtual Network overview](../virtual-network/virtual-networks-overview.md).
260208
* For more information on network security groups, see [Network security groups](../virtual-network/security-overview.md).
261209
* For more information on user-defined routes, see [User-defined routes and IP forwarding](../virtual-network/virtual-networks-udr-overview.md).
210+
* For more information on controlling traffic, see [Control network traffic](./control-network-traffic.md).

0 commit comments

Comments
 (0)