Unity Catalog: Setting up Catalogs and Workspace Binding

Databricks · Intermediate ·📐 ML Fundamentals ·7mo ago
Skills: ML Pipelines70%

Key Takeaways

The video demonstrates setting up Unity Catalogs with workspace binding in Databricks, focusing on efficient data management and enhanced security.

Full Transcript

Hey everyone, my name is Shre and I am a scale solutions engineer here at data bicks. Today we are going to talk about unity catalog and setting up cataloges with workspace binding. So with unity catalog we have a three-level name space. At the top at the data bricks account level will live the unity catalog metas store which is a cloud regional concept. So you can have one metas store per cloud region. Underneath the metas store you will have your cataloges. Cataloges are a logical separation of data. Underneath the catalog you will have our schemas or databases. And then within the schemas you will have your actual data assets. These could be tables, views or any other assets that could go underneath the schema level. And in order to actually query your assets, you will have to use the three-le name space which will be the catalog. Schema dot the data asset. With Unity catalog, you are also able to restrict data by workspace. So if you have multiple workspaces that are underneath the same Unity catalog meta store, you can bind your cataloges so that they're only tied to specific workspaces. This is a common practice that we see amongst many customers in which they have multiple workspaces broken down by software development life cycle. So for instance, if you have a dev workspace and a production workspace, it's common practice to tie your dev catalog to your dev workspace and your prod catalog to your prod workspace. But there might be cases where you want to make your prod data available as read only in your dev environment in which case you can achieve this using workspace catalog binding. And we will see this in the demo as well. Now if we jump over into our data bricks workspaces, I am going to showcase how we can set up our cataloges with workspace catalog binding. So here I am in my dev environment. Within my dev workspace, I have set up a dev catalog. And this dev catalog is tied to an external location which I have also set up which in turn is tied to an S3 bucket. So within my dev catalog, I have two schemas, the default and information schema. If I navigate over to the details tab, we can take a look at the storage location for this dev catalog. And if you take a look here, the storage catalog location is my S3 bucket, which I have set up already. And in order to set up the external location and storage credentials, you can follow our public documentation to see how you can set those up. If I navigate over to the permissions tab, this is where I can delegate permissions at the catalog level. It's important to remember that Unity catalog permissions follow a tree hierarchy. So if you give broad range of permissions at the most top level, which is the catalog, all those permissions will inherit down into the schema and data asset level as well. Now if I take a look at my workspaces tab over here, you will see that the default all workspaces have access has been turned off. Instead, I have bound this catalog to this dev uh workspace. So if you take a look here, my dev catalog is only read and write access level to my actual dev workspace. Now I will navigate over to my production workspace and we will create a prod catalog. So here I am in my prod workspace and if I navigate over to the external data tab at the top we see that I have created a external location which is referencing my prod S3 bucket and that is known as the prod catalog external location right here. Now if I go back to catalog I will create my production catalog. So first I will click the plus sign click on create a catalog and I will give my catalog a name. So I will call this prod catalog. For type I will choose standard um and I'll uncheck use default storage and for external location I will choose my prod catalog e. I will click create and what it will do is create my prod catalog. Now, now a catalog has been created. I will click on view catalog and we can see that our prod catalog has been created. If I navigate over to details, we will see that the storage location for this catalog is my S3 bucket which is tied to my S3 prod catalog bucket. If I go over to permissions, here is where I can delegate permissions to my users and groups. And now, if I navigate over to workspaces, we'll see that the default behavior is that all workspaces underneath this Unity catalog meta store will have access. I don't want this behavior. So I will uncheck this and I will specifically grant workspaces access. I will click on assign to workspaces and these are the two workspaces that I have underneath my UC meta store. I will choose both of them but I am going to update the permissions for my dev workspace. I'll click on assign. Cool. So now in order to actually manage the access level for my dev workspace, I'm going to click on the demo environment dev workspace. Click on the manage access level and I'm going to change my access to readon so that this catalog will only be read only in my dev workspace. If I click apply those permissions will take place. Great. So now if I navigate back over to my dev workspace and I hit refresh we should see that the prod catalog shows up in my dev workspace which it does but this will be only read read only. So if I go to the workspaces tab we'll see that this catalog is read only at this workspace level. And if I try to create any tables underneath any of the schemas, it won't let me because this is readon. Awesome. So you can see that the catalog has been designated as read only in this workspace. So I won't be able to actually write anything to this catalog from this workspace. So with that, we have successfully set up our Unity cataloges in our both of our dev and our production workspace and also bound them to the respective workspaces. So this is how you can achieve this using AWS data bricks and unity catalog. Thanks for watching.

Original Description

Explore how to efficiently set up catalogs with workspace binding in Databricks. Perfect for those looking to streamline data management and enhance security.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Databricks · Databricks · 0 of 60

← Previous Next →
1 Building AI Agent Systems with Databricks
Building AI Agent Systems with Databricks
Databricks
2 Databricks Workflows
Databricks Workflows
Databricks
3 Automate Unity Catalog Upgrade with UCX Part 1: Overview
Automate Unity Catalog Upgrade with UCX Part 1: Overview
Databricks
4 Automate Unity Catalog Upgrade with UCX Part 2: Installation
Automate Unity Catalog Upgrade with UCX Part 2: Installation
Databricks
5 Automate Unity Catalog Upgrade with UCX Part 3 - Assessment
Automate Unity Catalog Upgrade with UCX Part 3 - Assessment
Databricks
6 Automate Unity Catalog Upgrade with UCX  Part 4 - Group Migration
Automate Unity Catalog Upgrade with UCX Part 4 - Group Migration
Databricks
7 Table Migration and Catalog Design with UCX | Part 5
Table Migration and Catalog Design with UCX | Part 5
Databricks
8 Setting Up Azure Access for UCX Table Migration | Part 6
Setting Up Azure Access for UCX Table Migration | Part 6
Databricks
9 UCX Table Migration: Creating Catalogs and Schemas | Part 7
UCX Table Migration: Creating Catalogs and Schemas | Part 7
Databricks
10 Automate Unity Catalog Upgrade with UCX  Part 8: Code Migration
Automate Unity Catalog Upgrade with UCX Part 8: Code Migration
Databricks
11 Streaming to Kafka Just Got Easier with DLT Pipelines
Streaming to Kafka Just Got Easier with DLT Pipelines
Databricks
12 Data Engineering From Data to Dashboards with DABs: Crunching the Cookies Dataset
Data Engineering From Data to Dashboards with DABs: Crunching the Cookies Dataset
Databricks
13 Epsilon helps businesses connect with their consumers using Databricks Data Intelligence Platform
Epsilon helps businesses connect with their consumers using Databricks Data Intelligence Platform
Databricks
14 Unilever transforms operations with GenAI using the Databricks Data Intelligence Platform
Unilever transforms operations with GenAI using the Databricks Data Intelligence Platform
Databricks
15 ActionIQ enables businesses to unlock customer data with the Databricks Data Intelligence Platform
ActionIQ enables businesses to unlock customer data with the Databricks Data Intelligence Platform
Databricks
16 Mixed Attention & LLM Context | Data Brew | Episode 35
Mixed Attention & LLM Context | Data Brew | Episode 35
Databricks
17 Inside Databricks SQL: Engineering innovation with Hans
Inside Databricks SQL: Engineering innovation with Hans
Databricks
18 Inside Databricks: Engineering innovation with Michael Armbrust
Inside Databricks: Engineering innovation with Michael Armbrust
Databricks
19 The Money Team at Databricks: driving revenue and customer growth
The Money Team at Databricks: driving revenue and customer growth
Databricks
20 Unity Catalog unveiled: engineering data governance at scale
Unity Catalog unveiled: engineering data governance at scale
Databricks
21 Create a view in Databricks and share it with Power BI using Delta Sharing
Create a view in Databricks and share it with Power BI using Delta Sharing
Databricks
22 NDUS leverages Databricks Data Intelligence Platform to revolutionize higher education management
NDUS leverages Databricks Data Intelligence Platform to revolutionize higher education management
Databricks
23 Démo Databricks de AI/BI
Démo Databricks de AI/BI
Databricks
24 EMEA Data + AI World Tour 2024
EMEA Data + AI World Tour 2024
Databricks
25 GenAI: The Shift to Data Intelligence - Customer Panel on Industry Use Cases
GenAI: The Shift to Data Intelligence - Customer Panel on Industry Use Cases
Databricks
26 GenAI: The Shift to Data Intelligence - Ft. Ash Jhaveri, VP of Reality Labs Partnerships at Meta
GenAI: The Shift to Data Intelligence - Ft. Ash Jhaveri, VP of Reality Labs Partnerships at Meta
Databricks
27 Virtue Foundation leverages the Databricks Data Intelligence Platform to advance global health
Virtue Foundation leverages the Databricks Data Intelligence Platform to advance global health
Databricks
28 Announcing Synthetic Data Generation in Mosaic AI Agent Evaluation
Announcing Synthetic Data Generation in Mosaic AI Agent Evaluation
Databricks
29 AI/BI Dashboards Embedding - A tutorial
AI/BI Dashboards Embedding - A tutorial
Databricks
30 Bayer transforms global data management with the Databricks Data Intelligence Platform
Bayer transforms global data management with the Databricks Data Intelligence Platform
Databricks
31 Databricks at AWS re:Invent 2024
Databricks at AWS re:Invent 2024
Databricks
32 Hive Metastore and AWS Glue Federation in Unity Catalog
Hive Metastore and AWS Glue Federation in Unity Catalog
Databricks
33 Data + AI World Tour Paris 2024
Data + AI World Tour Paris 2024
Databricks
34 Retail reimagined: Currys data-first strategy to driving growth and improving operations
Retail reimagined: Currys data-first strategy to driving growth and improving operations
Databricks
35 Mixture of Memory Experts (MoME) | Data Brew | Episode 36
Mixture of Memory Experts (MoME) | Data Brew | Episode 36
Databricks
36 Verana Health Data Curation and Innovation with Databricks and AWS
Verana Health Data Curation and Innovation with Databricks and AWS
Databricks
37 Securing SaaS Applications: Obsidian Security on Their Journey with Databricks and AWS
Securing SaaS Applications: Obsidian Security on Their Journey with Databricks and AWS
Databricks
38 Twilio Eng VP on Data Intelligence & AI at AWS re:Invent 2024
Twilio Eng VP on Data Intelligence & AI at AWS re:Invent 2024
Databricks
39 Chegg Eng SVP on Data-Driven Approach to Student Success with Databricks and AWS
Chegg Eng SVP on Data-Driven Approach to Student Success with Databricks and AWS
Databricks
40 Ibotta Personalized Rewards Innovation with Databricks and AWS
Ibotta Personalized Rewards Innovation with Databricks and AWS
Databricks
41 Simplify AI governance with #databricks AI Gateway
Simplify AI governance with #databricks AI Gateway
Databricks
42 Databricks SQL and Power BI Integration
Databricks SQL and Power BI Integration
Databricks
43 Databricks Serverless SQL Warehouses
Databricks Serverless SQL Warehouses
Databricks
44 7 West powers audience growth with the Databricks Data Intelligence Platform
7 West powers audience growth with the Databricks Data Intelligence Platform
Databricks
45 Secret to Production AI: Tools & Infrastructure | Data Brew | Episode 37
Secret to Production AI: Tools & Infrastructure | Data Brew | Episode 37
Databricks
46 Skyflow CEO on Data Privacy with Databricks at AWS re:Invent
Skyflow CEO on Data Privacy with Databricks at AWS re:Invent
Databricks
47 Databricks Clean Rooms Product Demo
Databricks Clean Rooms Product Demo
Databricks
48 Dun & Bradstreet Enrichment & Monitoring, powered by Delta Sharing & Databricks Marketplace
Dun & Bradstreet Enrichment & Monitoring, powered by Delta Sharing & Databricks Marketplace
Databricks
49 Unpacking Libraries in Databricks
Unpacking Libraries in Databricks
Databricks
50 Providence uses an AI agent system from Databricks to help doctors improve their communication
Providence uses an AI agent system from Databricks to help doctors improve their communication
Databricks
51 How State Street Uses AI to Transform Millions of Trades Daily
How State Street Uses AI to Transform Millions of Trades Daily
Databricks
52 Vevo Therapeutics CEO on Curing Disease with Data at AWS re:Invent
Vevo Therapeutics CEO on Curing Disease with Data at AWS re:Invent
Databricks
53 Over Architected with Nick & Holly: Databricks updates for Feb 2025
Over Architected with Nick & Holly: Databricks updates for Feb 2025
Databricks
54 The Power of Synthetic Data | Data Brew | Episode 38
The Power of Synthetic Data | Data Brew | Episode 38
Databricks
55 Use Databricks Lakehouse Federation to break down data silos
Use Databricks Lakehouse Federation to break down data silos
Databricks
56 AI's rugby score: National Rugby League rallies fans with analytics and unified data
AI's rugby score: National Rugby League rallies fans with analytics and unified data
Databricks
57 Open Variant Data Type in Delta Lake and Apache Spark
Open Variant Data Type in Delta Lake and Apache Spark
Databricks
58 How would you sort Ætheldred in the alphabet using Databricks?
How would you sort Ætheldred in the alphabet using Databricks?
Databricks
59 A guide on how to operationalize the Databricks AI Security Framework (DASF)
A guide on how to operationalize the Databricks AI Security Framework (DASF)
Databricks
60 Future-Proof Your Asset Performance Management with Generative AI - Field Assistant Live Demo
Future-Proof Your Asset Performance Management with Generative AI - Field Assistant Live Demo
Databricks

This video teaches how to set up Unity Catalogs with workspace binding in Databricks for efficient data management and enhanced security. It is perfect for those looking to streamline data management and enhance security in their Databricks workflows. By following the steps outlined in the video, viewers can improve their data management skills and learn how to use Unity Catalogs effectively.

Key Takeaways
  1. Create a Unity Catalog
  2. Set up workspace binding
  3. Configure catalog settings
  4. Manage data permissions
  5. Monitor data usage
💡 Unity Catalogs with workspace binding provide a streamlined and secure way to manage data in Databricks, allowing for better control over data access and usage.

Related Reads

Up next
What is Deep Learning Explained with Examples
VLR Software Training
Watch →