Share via

Root Storage account Isolation in unity catalog

Azuretech 95 Reputation points
2023-04-18T07:39:02.54+00:00

I want to do the setting so that while creating any catalog/schema , even if user select default storage (not specify his/her own storage),It will not able to write the managed data in root storage account and user will force to create their own external location for storage. Please suggest what changes i need to do in root storage account as I want it to be secure .

Azure Data Lake Storage
Azure Data Lake Storage

An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.

Azure Databricks
Azure Databricks

An Apache Spark-based analytics platform optimized for Azure.


1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,361 Reputation points Microsoft Employee Moderator
    2023-04-22T00:51:02.79+00:00

    Hello Azuretech,

    To restrict users from writing to the default root storage and allow them to write only to the external location, you can set up a storage mount point for the external location and remove write permissions for the default root storage.

    You can use Azure Blob Storage or Azure Data Lake Storage as the external location. Please follow these steps:

    • Create a storage mount point for the external location using the Databricks CLI or the UI
    • Remove write permissions for the default root storage
    • Grant write permissions for the external location

    How to remove write permissions to default root storage:

    1. Open the Databricks workspace.
    2. Click on the Clusters tab and select the cluster you want to configure.
    3. Click on the Edit button to edit the cluster configuration.
    4. Scroll down to the Advanced Options section and click on the Spark tab.
    5. In the Spark Config section, add the following configuration property: spark.databricks.acl.default. With a value of READ.
    6. Click on the Confirm button to save the changes.
    7. Restart the cluster for the changes to take effect.

    User's image

    I hope this helps. Please let me know if you have any further questions.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.