跳至内容

how to centrally define permission model with lake formation in lake house?

0

Currently, I must define permissions model in lake house using lake formation that I can query data by Athena. It's ok if data sources come from S3 but seem be impossible if it's Redshift. Athena can not using glue data catalog to query data in Redshift. So I can't use only lake formation to grant permission for all data source (S3, Redshift, rds).

已提问 2 年前625 查看次数

1 回答
0

You're right that Lake Formation can't directly manage permissions for all data sources (S3, Redshift, RDS) in one place. Here's a concise solution:

For Redshift Data:

  • Use Redshift Spectrum to create external tables that point to S3
  • Export important Redshift data to S3 using UNLOAD commands
  • Apply Lake Formation permissions to these external tables

For RDS Data:

  • Use AWS Glue connections to catalog RDS tables
  • Set up Athena Federated Query with Lambda connectors
  • Query through Athena (respecting Lake Formation permissions)

Relevant Documentation:

This hybrid approach is currently the best way to implement centralized governance across these different data sources until AWS enhances Lake Formation's direct integration capabilities.

AWS
专家

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。