Your instance is not supported in your availability zone

Add additional subnets to your workspace in new availability zones.

Written by walter.camacho

Last published at: January 16th, 2025

Problem

You may want to extend the number of subnets available in your workspace for compute creation. When you try to add subnets, you get an error that says your requested instance type is not supported in your requested availability zone.

 

Example error

In zone us-east-le, insufficient capacity for the following node type: rid.12xlarge. AWS Error: Failure happened when talking to AWS, AWS API error code: Unsupported AWS error message: Your requested instance type (rid.12xlarge) is not supported in your requested Availability Zone (us-east-1e).

 

Cause

During workspace creation, you likely defaulted to creating two private subnets. This is sufficient for most use cases, however depending on your specific requirements, you may want to add additional availability zones.

 

Solution

  1. Login to your AWS account and identify the VPC associated with your Databricks workspace.
  2. Create a new subnet that complies with the requirements in the Additional Subnets requirements documentation.

Make sure you create the new subnet in an availability zone that is different from your existing subnets. For example, if your first two subnets were created in us-west-2a and  us-west-2b, make sure your new subnet is created in us-west-2c or similar.

  1. Once the new subnet is created, collect the VPC id, the subnet ids (including the original ones), and the security group ids.
  2. Login to the Databricks Account Console.
  3. Click Cloud Resources.
  4. Click Network
  5. Click Network configuration.
  6. Create a new network configuration object with your new subnet.
  7. After the new network config is set, open the Databricks Account Console.
  8. Click Workspaces.
  9. Select the desired workspace.
  10. Click Update Workspace.
  11. Under Advanced Settings go to Network configuration and replace your current Network configuration with the new one.
  12. Click Update.

 

Note

This article is about adding a new subnet to your workspace. If you need to update the CIDRs of your existing subnets you should review the Updating CIDRs documentation.