As per our AWS environment , we have 2 different types SAGs( service account Group) for Data storage. One SAG is for generic storage , another SAG for secure data which will only hold PII or restricted data. In our environment, we are planning to deploy Glue . In that case , Would we have one metastore over both secure and non-secure? If we needed two meta stores, how would this work with Databricks? If one metastore, how to handle the secure datas ? Please help us to more details on this in .
AWS glue: Deploy model in aws environment
244 Views Asked by Karthikeyan Rasipalay Durairaj AtThere are 2 best solutions below
shuraosipov
On
In AWS Glue, each AWS account has one persistent metadata store per region (called Glue Data catalog). It contains database definitions, table definitions, job definitions, and other control information to manage your AWS Glue environment. You manage permissions to that objects using IAM (e.g., who can make GetTable or GetDatabase API calls to that objects).
In addition to AWS Glue permissions, you would also need to configure permissions to the data itself (e.g., who can make GetObject API call to the data stored on S3).
So, answering your questions. Yes, you would have a single data catalog. However, depending on your security requirements, you would be able to define resource-based and role-based permissions on metadata and content.
You can find a detailed overview here - https://aws.amazon.com/blogs/big-data/restrict-access-to-your-aws-glue-data-catalog-with-resource-level-iam-permissions-and-resource-based-policies
Related Questions in METADATA
- Extract bytes of specific stream from mpegts file using ffmpeg
- Configuring Web Applications for iOS
- Compiler Error: 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\014679fc\1b393534\App_Web_glpoum5i.dll' could not be found
- Rest API to upload an image with customized metadata in office 365
- Transient fields from Hibernate PersistentClass
- Retrieve metadata from a database with EntityFramework
- storing ntfs file metadata for retrieval via webserver and linking with database
- Delete all posts and associated meta data that are not custom post types
- Unsupported field datatype: metadata
- Shibboleth - Secure different URLs with different IdPs
- How to find header section in Magento platform?
- How to know to which columns a foreign key is referencing in Oracle SQL Developer?
- Getting a MySQL table's key and engine information from a statement's metadata using java
- Why does ^metadata 'symbol not work?
- ffmpeg: add album art with fluent-mmpeg
Related Questions in DATABRICKS
- Not able to read text file from local file path - Spark CSV reader
- Spark with Scala: write null-like field value in Cassandra instead of TupleValue
- Spark SQL get max & min dynamically from datasource
- How to convert RDD string(xml format) to dataframe in spark java?
- Zeppelin 6.5 + Apache Kafka connector for Structured Streaming 2.0.2
- How to connect Tableau to Databricks Spark cluster?
- Confused about the behavior of Reduce function in map reduce
- Extract String from Spark DataFrame
- Saving a file locally in Databricks PySpark
- How to add Header info to row info while parsing a xml with spark
- Databricks display() function equivalent or alternative to Jupyter
- Select distinct query taking too long in databricks
- Create SQL user in Databricks
- Different delimiters on different lines in the same file for Databricks Spark
- Combine multiple columns into single column in SPARK
Related Questions in AWS-GLUE
- AWS Glue Dynamobd Connection Timed out Error
- AWS Glue: Rename_field() does not work after relationalize
- AWS Glue takes a long time to finish
- AWS Glue S3 VPC Endpoint Policy Issue
- AWS Glue unable to access input data set
- AWSGlue: can it connect the SQL Server data stores?
- ETL pipeline in AWS with s3 as datalake how to handle incremental updates
- How to list all databases and tables in AWS Glue Catalog?
- How to create AWS Glue table where partitions have different columns? ('HIVE_PARTITION_SCHEMA_MISMATCH')
- AWS Glue to Redshift: Is it possible to replace, update or delete data?
- Spark Catalog w/ AWS Glue: database not found
- Convert dd-mmm-yyyy to yyyy-mm-dd in sparksql
- How to iterate through a Glue DynamicFrame
- Setting S3 Bucket permissions when writing between 2 AWS Accounts while running from Glue
- AWS Glue: Data Skewed or not Skewed?
Related Questions in AWS-GLUE-SPARK
- AWS Glue: Data Skewed or not Skewed?
- Read FASTQ file into a AWS Glue Job Script
- AWS Glue- Data Lineage and Job Tracking
- AWS glue: Deploy model in aws environment
- What options can be passed to AWS Glue DynamicFrame.toDF()?
- Is it compulsory to convert glue dynamic frame to convert to spark dataframe before writing to snowflake?
- Delete records from table before writing dataframe - pyspark
- aws glue apply_mapping does not throw an error
- How to write the dataframe to S3 after filter
- How to run pySpark with snowflake JDBC connection driver in AWS glue
- 'Can not create a Path from an empty string' Error for 'CREATE TABLE AS' in hive using S3 path
- Insert into SQL Server table selected columns from spark dataframe
- How to choose python version 3 while deploying AWS glue Job with glue version 1.0 using YAML(serverless)
- How to avoid that AWS Glue DynamicFrame drops empty columns when read a CSV?
- How to write data from AWS Glue to DocumentDB
Related Questions in AWS-DATABRICKS
- AWS glue: Deploy model in aws environment
- How to access the AWS public dataset using Databrick?
- Databricks CLI "config host mismatch" Error in Jenkins Pipeline
- Databricks SQL: only NULL value is returning when querying a RAW "JSON" string from static table
- Need Syntax help in passing CTE in SQL query in Azure databricks
- Databricks parallelize file system operations
- What is Databricks Unit (DBU) and how is it calculated exactly?
- As a Redshift user can I query Databricks Delta Lake via Unity Catalog Hive Metastore as an external datasource?
- Get Delta Live Tables running
- spaCy contextualSpellCheck: recurring issue with HF timeout & "local variable 'model' referenced before assignment"
- Issue Reading Delta Tables from S3 in Databricks (_delta_log)
- Calling Trigger once in Databricks to process Kinesis Stream
- specify a database name in databricks sql connection parameters
- StreamingQuery Delta Tables within Databricks - Describe History
- IDE for Azure databricks
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To integrate your metastore with Databricks for (1), you will have to create two Glue Catalog instance profiles with resource level access. One instance profile will have access to generic database and tables while the other will have access to the secure databases and tables.
To integrate your metastores with Databricks for (2), you will simply create two Glue Catalog instance profiles with access to the respective metastore.
It is recommended to go with the second option as it will save you guys a lot of maintenance cost and human errors on longer run. More details on Glue Catalog and Databricks integration.
Edit: Based on the discussion in comments, if we have to access both datasets inside the same Databricks Runtime, option 2 won't work. Option 1 can be used with 2 permission sets. First only for generic data and second for both generic and secure data.