[英]How to get a summary of ressources/cost used per IAM users in AWS?
I would like to have all cost and ressources used of each IAM users. 我想使用每个IAM用户的所有成本和资源。
Unfortunately, i can have only the cost of my master account. 不幸的是,我只能支付主帐户的费用。 I know that i can create a organization and set OU and users AWS account to have a detail and record each events, but the ressources used by 'users' are used only for my application, i don't need to have real account, and i can't automatises all deployements if i must set password and credentials manually .
我知道我可以创建一个组织并设置OU和用户的AWS账户以提供详细信息并记录每个事件,但是“用户”使用的资源仅用于我的应用程序,我不需要真实账户,并且如果必须手动设置密码和凭据,则无法自动完成所有部署。
One solutions also is to create CloudTrail and Cloudwatch to record each events services but i found this 'too heavy' and i will need to calculate myself the cost because it only get the datas which are used. 一种解决方案是创建CloudTrail和Cloudwatch来记录每个事件服务,但是我发现这太“繁重”了,我将需要自己计算成本,因为它只能获取所使用的数据。
I would like to know if they are exists others systemes to do that in preference with boto3. 我想知道是否存在其他系统优先使用boto3进行此操作。
Thank you for your responses. 谢谢你的回复。
Have a nice day/night. 祝您白天/夜晚愉快。
Costs are not easily associated back to "users". 成本不容易关联回“用户”。
AWS resources are associated with an AWS Account . AWS资源与一个AWS账户相关联。 When a user creates a resource (eg an Amazon EC2 instance), IAM will confirm that they have permission to launch the resource, but the resource itself is not associated with the user who created it .
当用户创建资源(例如Amazon EC2实例)时,IAM将确认他们具有启动资源的权限 ,但是资源本身与创建该资源的用户无关 。
You would need to add tags to resources to have more fine-grained association of costs to people/projects/departments. 您将需要在资源中添加标签,以使人员/项目/部门的成本更加精细地关联。 These tags can be used in billing reports to provide cost breakdowns.
这些标签可用于开票报告中以提供成本明细。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.