cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Jobs are failed with AWS_INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET_FAILURE

Manimkm08
New Contributor III

We have assigned 3 dedicated subnets (one per AZ ) to the Databricks workspace each with /24 CIDR but noticed that all the jobs are running into a single subnet which causes 

AWS_INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET_FAILURE.

Is there a way to segregate the jobs across all the available subnets instead of using the same one all the time ?

Error Message:

Unexpected state for cluster (1217-000012-7mijsxio): AWS_INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET_FAILURE(CLIENT_ERROR): aws_api_error_code:InvalidParameterValue,aws_error_message:Not enough free addresses in subnet subnet-0bd28fa8a819c24f1

3 REPLIES 3

karthik_p
Esteemed Contributor

@Mani Srini​ you should not get this error, if below recommendations are followed

  1. have you created 2 private subnets with different AZ

please re-validate Customer-managed VPC | Databricks on AWS subnets section

Debayan
Databricks Employee
Databricks Employee

Hi, this is a failure when AWS subnet has been exhausted and there is no IP available for new services.

https://aws.amazon.com/premiumsupport/knowledge-center/subnet-insufficient-ips/

Manimkm08
New Contributor III

@karthik p​ Have configured one subnet per AZ(total 3). Have followed the same steps as mentioned in the document. Is there a way to check whether the Databricks uses all the subnets or not?

@Debayan Mukherjee​ am not getting how to use LB in this setup. Can you throw some light /share some document on how to use it on custom managed VPC.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group