To whitelist the serverless data plane subnets for your Databricks workspace, you'll need to follow these steps to get the ARM resource ID of the serverless compute subnet:
- Create a Network Connectivity Configuration (NCC):
- Go to the Azure Databricks account console.
- Navigate to Cloud Resources and click on Network Connectivity Configuration.
- Click on Add Network Connectivity Configurations, provide a name, choose the region that matches your workspace, and add the NCC.
- Copy Subnet IDs:
- Once the NCC is created, go to Default Rules under Network identities and click on View all.
- Click the Copy subnets button to copy the ARM resource IDs of the serverless compute subnets.
- Attach NCC to Workspaces:
- Go to the Workspaces section in the account console.
- Select your workspace and click Update workspace.
- In the Network Connectivity Config field, select your NCC. Ensure the regions match between the workspace and the NCC.
- Update Firewall Rules:
- In the Azure portal, navigate to your storage account.
- Go to Networking and under Public network access, select Enabled from selected virtual networks and IP addresses.
- Add network rules using the copied subnet IDs to allow the serverless compute subnets to access your storage account.
For more detailed instructions, refer to the official documentation on configuring firewall for serverless compute access in Azure Databricks: