如何获得IAM用户的AWS S3使用指标?
如何获得S3的使用指标。
当前,IAM用户正在从S3存储桶上传/下载文件。每个IAM用户都有一个单独的文件夹。如何访问,从S3传输/下载了多少GB数据?
How to get the usage metrics of S3.
Currently, IAM users are uploading/downloading files from the S3 bucket. Each IAM user has a separate folder. How to access, how many GB of data were transferred/downloaded from S3?.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你不能。 AWS没有提供这样的指标。您必须为此开发自定义解决方案。例如,如果您对S3操作启用了CloudTrial试验,则可以解析过去的日志,并基于它们建立有关谁下载/上传的报告。一旦您知道了由IAM用户上传/下载的对象,就可以添加它们的尺寸。
You can't. There is no such metric provided by AWS. You have to develop a custom solution for that. If you, for example, have CloudTrial trial enabled for S3 operations, you can parse the past logs and based on them build up a report on who downloaded/upload what. Once you know what objects were uploaded/downloaded by a give IAM user, you can add up their sizes.