Should Quicksight Need Access to the S3 Bucket Athena Is Querying?

痞子三分冷 提交于 2020-12-13 11:01:31

问题


I have set up a reporting stack using data stored in S3, schema mapped by AWS Glue, queried by Amazon Athena, and visualized in Amazon QuickSight.

I gave QuickSight permissions to access the three aws-athena-query-results buckets I have (see below) However, when I try to build reports based on my Athena table, it throws an error. I went back in and explicitly gave it access to the S3 bucket that holds my raw data, and now I have visualizations.

My question is whether or not this is how it should need to be set up. My assumption was that Athena has access to S3, and QuickSight has access to Athena and it's results, so it shouldn't need direct access to each S3 bucket storing raw data. It seems it would generate a lot of overhead each time there is a new S3 bucket to be reported on that you need to go grant Athena and QuickSight access.

From reading this page: Troubleshoot Athena Insufficient Permissions, it's unclear which buckets are required.


回答1:


Yes, at the moment, QuickSight needs to be granted explicit access to both Athena and the underlying buckets that Athena accesses. I got this answer from discussion with Amazon so, unfortunately, I don't have source to link.



来源:https://stackoverflow.com/questions/59412925/should-quicksight-need-access-to-the-s3-bucket-athena-is-querying

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!