简体   繁体   中英

Azure Databricks deployment- unable to create Private Subnet CIDR Range

In Azure, I have a virtual.network ( .NET ) with following settings:

 Address space: 10.200.0.0/20
 subnet: 10.200.0.0/24

Inside the above .NET, I am trying to deploy an Azure Databricks with the following Network settings:

Public Subnet CIDR Range: 10.200.15.0/20
Private Subnet CIDR Range: 10.200.15.1/24

But on the Private Su.net CIDR Range above I get the following error:

Public and private su.net ranges must be valid and non-conflicting

Question : What I may be doing wrong, and how can I resolve the above error?

Remarks :

  • I have tried various variations of 10.200.15.1/24 (eg 10.200.15.0/24, 10.200.15.255/24 etc.) but I keep getting the same error. I am sure there must be a correct Private Su.net CIDR Range that I am not using.
  • I noticed people have pointed out to some online tool such as the following, but I am not a.networking expert, and I am not sure how exactly I can use these tools to get correct Private Su.net CIDR Range. CIRD Calculator , Su.net Calculator for IPV4 , and IP Calculator .

UPDATE I'm following this tutorial from Azure team. When I tried the following settings, I get the error shown below:

Su.net range is not within the Virtual Network range 在此处输入图像描述

The CIDR tool I like to use is https://www.ipaddressguide.com/cidr .

Your public su.net 10.200.15.0/20 has a starting IP of 10.200.0.0 and ends with 10.200.15.255.

Your private su.net 10.200.15.1/24 is not even valid. You can check this SO answer as to why that is.

Change the private su.net to 10.200.14.0/24. Keep the public su.net as is. These are not overlapping and completely valid. 10.200.16.0/24 is outside the ip range of your .net, so you can't use that.

I tried to reproduce the same in my environment to create Azure Databricks Workspace with existing .net:

I have created Azure Databricks workspace with existing Virtual Network .

In your deployment you have mentioned public su.net CIDR range: 10.200.15.0/20 is in same .net Adress space range: 10.200.0.0/20 , so there is a possibility of conflict the.network.

To resolve the issue, create different su.net range for both Public and Private CIDR , while you are creating the Azure Databricks workspace.

I created a virtual.network , like below.

  1. Go to Azure Portal > Networking > Virtual Network.

在此处输入图像描述

  1. Under IP address section, add the below IP configuration details.

在此处输入图像描述

  1. Once .net deployment is complete, navigate to Virtual Network and select Address Space under settings option, add additional address space range, like below.

在此处输入图像描述

Created Azure Databricks workspace. like below.

  1. Go to Azure Portal Analytics > Databricks .

在此处输入图像描述

  1. Once Azure Databricks deployment is completed, check the Virtual Network assocaited with Databricks .

在此处输入图像描述

  1. Once the cluster is deployment is completed, navigate to managed resource group in Azure Databricks and check the resources.

在此处输入图像描述

Check the Azure Databricks IP address range, like below.

Go to Azure Databricks workspace > Select your Cluster > Select Spark UI > Executors

在此处输入图像描述

Refer the Document more about Azure Databricks workspace

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM