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: 

How can I make a cluster start up in the availability-zone (AZ) with the most available IPs?

tj-cycyota
Databricks Employee
Databricks Employee

I see the default in the UI is to always create clusters in a single AZ (e.g. us-west-2a), but want to distribute workloads across all available AZs.

1 ACCEPTED SOLUTION

Accepted Solutions

tj-cycyota
Databricks Employee
Databricks Employee

Found the answer - not available in the UI, but via API, you can submit the cluster definition with

"aws_attributes": {
    "zone_id": "auto"
  },

This is documented in the Cluster API: https://docs.databricks.com/dev-tools/api/latest/clusters.html#awsattributes

View solution in original post

1 REPLY 1

tj-cycyota
Databricks Employee
Databricks Employee

Found the answer - not available in the UI, but via API, you can submit the cluster definition with

"aws_attributes": {
    "zone_id": "auto"
  },

This is documented in the Cluster API: https://docs.databricks.com/dev-tools/api/latest/clusters.html#awsattributes

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now