3

Is there any way to view dollars and resources spent for individual users managed through the Amazon IAM service?

I'm tasked with administering sub-accounts on behalf of an owner of an AWS account. The sub-accounts have permissions to launch EC2 instances. It's my job to make sure they don't spend too many resources on our account, but I can not find the breakdown of dollars spent by users anywhere.

How to get this information?

  • Some information here (from 2011): blog.bitnami.com/2011/12/…. Maybe the problem is that we need Premium Support in order to see this information? I'm surprised that the information is so hard to find... – Pimin Konstantin Kefaloukos Jul 8 '13 at 16:21
  • It seems CloudWatch has an ability (Billing alarm) which almost covers this issue. Not quite what I want, as I'm interested in monitoring individual users, not the overall spending. Also, you have to create the Alarm in N.Virginia (US East), but it should draw data from all regions. – Pimin Konstantin Kefaloukos Jul 8 '13 at 16:28
  • You should use tags with user=name – Guy Jul 8 '13 at 20:08
  • Yes, I've instructed the users to tag their instances. Of course that approach is a little fragile, as they have to remember to do it. – Pimin Konstantin Kefaloukos Jul 9 '13 at 8:26
  • Also that still does not solve the problem of getting a run-down of dollars spent per user. – Pimin Konstantin Kefaloukos Jul 9 '13 at 8:27
3

Per the IAM FAQ:

Q: Will AWS Billing provide aggregated usage and cost breakdowns by user?
A: Not initially. This is planned for a future release.

Future, yeah. You might be able to tease it out with Programmatic AWS Billing. I don't use IAM right now, but I do have PAB enabled. Here are the fields present in my CSV:

InvoiceID,PayerAccountId,LinkedAccountId,RecordType,RecordID,BillingPeriodStartDate,BillingPeriodEndDate,InvoiceDate,PayerAccountName,LinkedAccountName,TaxationAddress,PayerPONumber,ProductCode,ProductName,SellerOfRecord,UsageType,Operation,RateId,ItemDescription,UsageStartDate,UsageEndDate,UsageQuantity,BlendedRate,CurrencyCode,CostBeforeTax,Credits,TaxAmount,TaxType,TotalCost

We use separate accounts + Consolidated Billing + Activity by Account for this exact purpose.

0

Programmatic Billing Access files don't break it down to the IAM user level but you can use tagging to get a similar results.

Full disclosure, I work for Cloudability but we have a great tool to help with separating costs.

http://blog.cloudability.com/advanced-techniques-for-separating-organizing-your-aws-costs/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.