By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Configure cross-account access to AWS Glue data catalogs

0

Further to the AWS documentation , it appears it's missing additional permissions as the owner account should also grant access to the individual s3 buckets to the borrower's account in addition to the glue catalog permissions outlined in Point# 1. I was able to Query the Glue catalog table in owner's account by running query in Borrower's account only after granting this additional permissions by attaching to the s3 bucket's resource policies. Please clarify if this is a correct understanding?

1 Answer
1
Accepted Answer

Your understanding is correct. When configuring cross-account access to AWS Glue data catalogs, additional permissions are indeed required beyond what is explicitly outlined in the AWS documentation. Specifically:

  1. The owner account needs to grant access to the individual S3 buckets to the borrower's account, in addition to the Glue catalog permissions described in the documentation.
  2. This additional step involves attaching permissions to the S3 bucket's resource policies.
  3. You were only able to successfully query the Glue catalog table in the owner's account from the borrower's account after granting these additional S3 bucket permissions. This requirement aligns with AWS's security model, which separates permissions for metadata access (Glue catalog) from permissions for actual data access (S3 buckets). The documentation may not explicitly highlight this step, but it is crucial for full cross-account functionality.

To summarize the complete process:

  1. Configure Glue catalog permissions as described in the AWS documentation.
  2. Additionally, grant the borrower account access to the relevant S3 buckets in the owner account.
  3. Update the S3 bucket resource policies in the owner account to allow access from the borrower account. This comprehensive approach ensures that the borrower account has both the necessary metadata access through Glue and the actual data access through S3, enabling successful cross-account queries.
answered a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions