Skip to content

Commit 28ec054

Browse files
Merge pull request #288870 from abhishjain002/abhishjain002-LB-changes
Abhishjain002 lb changes
2 parents 9eb1977 + bb98539 commit 28ec054

File tree

8 files changed

+137
-1
lines changed

8 files changed

+137
-1
lines changed

articles/hdinsight/TOC.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ items:
172172
- name: Ambari user configs migration
173173
href: ./migrate-ambari-recent-version-hdinsight.md
174174
- name: Upgrade to Apache Ranger in Azure HDInsight
175-
href: ./hdinsight-ranger-5-1-migration.md
175+
href: ./hdinsight-ranger-5-1-migration.md
176+
- name: Load balancer migration guidelines for Azure HDInsight
177+
href: ./load-balancer-migration-guidelines.md
176178
- name: Hadoop
177179
items:
178180
- name: Motivation and benefits
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
---
2+
title: Basic Load balancer deprecation - Guidelines for Azure HDInsight
3+
description: Guidelines to transition to standard load balancer for Azure HDInsight.
4+
ms.service: azure-hdinsight
5+
ms.topic: how-to
6+
ms.date: 10/18/2024
7+
---
8+
9+
# Basic Load balancer deprecation: Guidelines for Azure HDInsight
10+
11+
This article describes the details about the impact on HDInsight clusters and the necessary steps required as HDInsight service is transitioning to use standard load balancers for all its cluster configurations.
12+
13+
This transition is done in line with the announcement of retirement of Azure basic load balancer by 30 September 2025 and no support for new deployment by Mar 31, 2025. For more information, see [Azure Basic Load Balancer retires on 30 September 2025. Upgrade to Standard Load Balancer](https://azure.microsoft.com/updates/azure-basic-load-balancer-will-be-retired-on-30-september-2025-upgrade-to-standard-load-balancer).
14+
15+
## Impact on HDInsight clusters
16+
17+
### Long running clusters (when you don’t create and delete cluster frequently for your use case)
18+
19+
* **Scenario 1:** Existing HDInsight clusters without custom virtual network (No virtual network used during cluster creation).
20+
21+
* No immediate disruption until Mar 31, 2025. However, we strongly recommend re-creating the cluster before Mar 31, 2025 to avoid potential disruption.
22+
23+
* **Scenario 2:** Existing HDInsight clusters with custom virtual network (Used your own VNet for cluster creation).
24+
25+
* No immediate disruption until Mar 31, 2025. However, we strongly recommend re-creating the cluster before Mar 31, 2025 to avoid potential disruption.
26+
27+
### New cluster creation
28+
29+
* **Scenario 1:** HDInsight clusters without custom virtual network (Creating cluster without any virtual network).
30+
31+
* In this case, no impact. You can recreate the cluster directly.
32+
33+
* **Scenario 2:** HDInsight clusters with custom virtual network (Using your own VNet during cluster creation).
34+
35+
* In this case, there are two options to create a cluster
36+
37+
**Approach 1:** Create the cluster with a new subnet
38+
39+
1. Choose the outbound connectivity for your cluster
40+
41+
Follow this document [Use Source Network Address Translation (SNAT) for outbound connections](/azure/load-balancer/load-balancer-outbound-connections), and choose one method to provide outbound connectivity for the new cluster. The most recommended way is to attach a NAT gateway and a Network Security Group (NSG) to the subnet.
42+
43+
1. Create a new NAT gateway and a new Network Security Group(NSG) or use the existing ones.
44+
45+
> [!NOTE]
46+
> You can use an existing NAT gateway and NSG.
47+
48+
Follow the docs [Quickstart: Create a NAT gateway - Azure portal](/azure/nat-gateway/quickstart-create-nat-gateway-portal), and [Create, change, or delete an Azure network security group](/azure/virtual-network/manage-network-security-group?tabs=network-security-group-portal#create-a-network-security-group) to create a new NAT gateway and a new network security group.
49+
You can refer to this document [Control network traffic in Azure HDInsight](./control-network-traffic.md#hdinsight-with-network-security-groups) to set up correct NSG rules.
50+
51+
1. Create a new subnet and associate the subnet with the NAT gateway and network security group.
52+
53+
:::image type="content" source="./media/load-balancer-migration-guidelines/create-subnet.png" alt-text="Screenshot showing how to create a subnet." border="true" lightbox="./media/load-balancer-migration-guidelines/create-subnet.png":::
54+
55+
> [!NOTE]
56+
> If you are unable to find the NAT gateway, see, [FAQ of the NAT gateway Azure NAT Gateway frequently asked questions](/azure/nat-gateway/faq#are-basic-sku-resources--basic-load-balancer-and-basic-public-ip-addresses--compatible-with-a-nat-gateway).
57+
58+
1. Create a new cluster with the subnet.
59+
60+
:::image type="content" source="./media/load-balancer-migration-guidelines/create-hdinsight-cluster.png" alt-text="Screenshot showing how to create a HDInsight cluster." border="true" lightbox="./media/load-balancer-migration-guidelines/create-hdinsight-cluster.png":::
61+
62+
**Approach 2:** Create the cluster using the existing subnet
63+
64+
Your existing virtual network may be incompatible with Azure Standard Load Balancer, to upgrade your existing custom virtual network to integrate with Azure standard load balancer (which HDInsight clusters use by default now), see, [Use Source Network Address Translation (SNAT) for outbound connections](/azure/load-balancer/load-balancer-outbound-connections) to provide outbound connectivity for the cluster.
65+
66+
The most recommended way is to attach a network security group and a NAT gateway to the subnet. Since the existing subnet which has HDInsight clusters with Azure basic load balancers can't be associated with an NAT gateway due to incompatibility with basic load balancer, there are two scenarios:
67+
68+
* **Case 1:** Existing subnet has no HDInsight clusters with Azure Basic Load Balancers
69+
70+
Follow these steps:
71+
72+
1. Create a new NAT gateway and a new Network Security Group(NSG) or use the existing ones.
73+
74+
> [!NOTE]
75+
> You could use an existing NAT gateway and NSG.
76+
77+
Follow this document [Quickstart: Create a NAT gateway - Azure portal](/azure/nat-gateway/quickstart-create-nat-gateway-portal), and [Create, change, or delete an Azure network security group](/azure/virtual-network/manage-network-security-group?tabs=network-security-group-portal#create-a-network-security-group) to create a new NAT gateway and a new network security group.
78+
79+
You can refer to this document [Control network traffic in Azure HDInsight](./control-network-traffic.md#hdinsight-with-network-security-groups) to set up correct NSG rules.
80+
81+
1. Associate the NAT gateway with your subnet along with a network security group.
82+
83+
:::image type="content" source="./media/load-balancer-migration-guidelines/associate-gateway.png" alt-text="Screenshot showing how to associate gateway." border="true" lightbox="./media/load-balancer-migration-guidelines/associate-gateway.png":::
84+
85+
1. Create the cluster with the subnet.
86+
87+
:::image type="content" source="./media/load-balancer-migration-guidelines/security-networking.png" alt-text="Screenshot showing security networking tab." border="true" lightbox="./media/load-balancer-migration-guidelines/security-networking.png":::
88+
89+
> [!NOTE]
90+
> If you are unable to find the NAT gateway, see, [FAQ of the NAT gateway (Azure NAT Gateway frequently asked questions)](/azure/nat-gateway/faq#are-basic-sku-resources--basic-load-balancer-and-basic-public-ip-addresses--compatible-with-a-nat-gateway).
91+
92+
* **Case 2:** Existing subnet has HDInsight clusters with Azure Basic load balancers
93+
94+
Consider one of these methods:
95+
96+
* **Method 1:** The most recommended way is to associate a NAT gateway to the subnet along with network security group.
97+
98+
According to [Azure NAT Gateway frequently asked questions](/azure/nat-gateway/faq#are-basic-sku-resources--basic-load-balancer-and-basic-public-ip-addresses--compatible-with-a-nat-gateway), NAT gateway is incompatible with Azure basic load balancer.
99+
100+
To associate with a NAT Gateway, perform the following steps.
101+
102+
1. Delete all the existing HDInsight clusters with Azure basic load balancers in this subnet.
103+
104+
1. Create a new NAT gateway and a new Network Security Group(NSG) or use the existing ones.
105+
106+
> [!NOTE]
107+
> You could use an existing NAT gateway and NSG.
108+
109+
Follow this document [Quickstart: Create a NAT gateway - Azure portal](/azure/nat-gateway/quickstart-create-nat-gateway-portal), and [Create, change, or delete an Azure network security group](/azure/virtual-network/manage-network-security-group?tabs=network-security-group-portal#create-a-network-security-group) to create a new NAT gateway and a new network security group.
110+
111+
You can refer to this document [Control network traffic in Azure HDInsight](./control-network-traffic.md#hdinsight-with-network-security-groups) to set up correct NSG rules.
112+
113+
1. Associate the subnet with the NAT gateway and network security group.
114+
115+
:::image type="content" source="./media/load-balancer-migration-guidelines/add-subnet.png" alt-text="Screenshot showing how to add subnet." border="true" lightbox="./media/load-balancer-migration-guidelines/add-subnet.png":::
116+
117+
> [!NOTE]
118+
> If you are unable to find the NAT gateway, see, [FAQ of the NAT gateway (Azure NAT Gateway frequently asked questions](/azure/nat-gateway/faq#are-basic-sku-resources--basic-load-balancer-and-basic-public-ip-addresses--compatible-with-a-nat-gateway).
119+
120+
1. Re-create the clusters with the subnet.
121+
122+
:::image type="content" source="./media/load-balancer-migration-guidelines/virtual-network.png" alt-text="Screenshot showing virtual network." border="true" lightbox="./media/load-balancer-migration-guidelines/virtual-network.png":::
123+
124+
125+
* **Method 2:** Select option other than **Associate a NAT gateway to the subnet** provided in [Use Source Network Address Translation (SNAT) for outbound connections](/azure/load-balancer/load-balancer-outbound-connections), and follow the instruction for the selected option.
126+
127+
* **Method 3:** Create a new subnet and then create the cluster with the new subnet.
128+
129+
> [!NOTE]
130+
> If you are using an ESP cluster with MFA disabled, ensure to check the MFA status once cluster is recreated using a NAT gateway.
131+
132+
## Next steps
133+
134+
[Plan a virtual network for Azure HDInsight](./hdinsight-plan-virtual-network-deployment.md)
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)