Three AI agents share one IAM role. Which one ran up the bill?
Since April, AWS has been able to charge Bedrock inference to an IAM user or role, so Cost Explorer can
Three artificial intelligence agents shared a single identity and access management (IAM) role, causing confusion over which one incurred the highest AWS Bedrock inference bill. The Cost Explorer tool could identify research-agent-2 as the primary driver of AI costs for the month, but it lacked the ability to pinpoint the specific individual behind the role.
To address this issue, AWS introduced FinOps Agent, a feature that traces cost changes back to the responsible user or role and alerts the relevant teams through Jira. However, if an IAM role is untagged, the trace has no destination, leaving the owner of the bill and potential risk unidentified.
The article provides a SQL query to identify roles or users with Bedrock spend but without an owner tag or with an email address as the owner. The query examines the cost change data in AWS, focusing on Amazon Bedrock spend and filters out any untagged roles or users. With the owner tag in place, AWS Budgets can generate alerts when the budget threshold is reached for each owner, providing a more proactive approach to managing AI spend and accountability.
Rewritten by urgent.news; may contain errors — check the original.
Source: thenewstack.io