cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
cancel
Showing results for 
Search instead for 
Did you mean: 

Clean up Databricks confidential computing resources

jaganadhg
New Contributor

Hello All,

I created a Databricks Premium Workspace for a Confidential Computing PoC. After creating a VM from Databricks UI, it came to notice that there is a new RG with managed identity, NAT Gateway, Public IP, security group, and a VNET (/16). I wondering how can achieve:

1) Delete the resources once I complete the work involving confidential computing

2) A document outlining what are the resources Confidential Compute creates in Databrciks

Cloud - Azure 

Region - East US

Appreciate the support

Cheers!

Jagan

 

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz
Community Manager
Community Manager

Hi @jaganadhg , To delete the resources once you complete the work involving confidential computing, you can use the DELETE API call provided in the given information.

Here is an example of how to use it:

bash
curl -X DELETE 'https://accounts.cloud.databricks.com/api/2.0/accounts/<databricks-account-id>/networks/<databricks-...' --header 'Authorization: Bearer $OAUTH_TOKEN'

Remember to replace <databricks-account-id> and <databricks-network-id> with your actual account ID and network ID respectively. Also, replace $OAUTH_TOKEN with your actual token.

As for the resources that Confidential Compute creates in Databricks, it's not explicitly outlined in the provided information. However, from the question, it's clear that Confidential Compute creates a resource group with managed identity, NAT Gateway, Public IP, security group, and a VNET (/16).

Additionally, it's mentioned that a workspace in Databricks can be associated with a Databricks-managed VPC or a customer-managed VPC depending on the setup.

View solution in original post

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @jaganadhg , To delete the resources once you complete the work involving confidential computing, you can use the DELETE API call provided in the given information.

Here is an example of how to use it:

bash
curl -X DELETE 'https://accounts.cloud.databricks.com/api/2.0/accounts/<databricks-account-id>/networks/<databricks-...' --header 'Authorization: Bearer $OAUTH_TOKEN'

Remember to replace <databricks-account-id> and <databricks-network-id> with your actual account ID and network ID respectively. Also, replace $OAUTH_TOKEN with your actual token.

As for the resources that Confidential Compute creates in Databricks, it's not explicitly outlined in the provided information. However, from the question, it's clear that Confidential Compute creates a resource group with managed identity, NAT Gateway, Public IP, security group, and a VNET (/16).

Additionally, it's mentioned that a workspace in Databricks can be associated with a Databricks-managed VPC or a customer-managed VPC depending on the setup.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.