AWS Cost Explorer API aggregate on USAGE_TYPE_GROUP

0

Hello,

I am trying to get the cost and usage data for an AWS Account using the GetCostAndUsage endpoint of the Cost Explorer API. During some investigations, I found out that the data is quite granular, and I would like to aggregate it on a higher level. The USAGE_TYPE_GROUP filter seems to be quite useful for this scenario. Unfortunately, it is only available as a filter and not all services are covered with it. Therefore, it is not that useful in my case. Is it possible or are there any plans for adding the USAGE_TYPE_GROUP as possible groupBy value? For known entities (e.g. EC2: Running Hours) it could just use them and for unknown entities N/A could be returned. Or are there any other possibilities to tackle that problem?

Thanks for you feedback and help

질문됨 2년 전541회 조회
1개 답변
0

You might want to consider the Cloud Intelligence Dashboards which are deployed on top of the AWS Cost & Usage report (CUR). This will give you a scalable way to see a ton of insights into your spend, give you customizable visuals to understand your usage, track every dollar spent, see lots of cost optimization opportunities and visualize how much they'd save you and more. One of the dashboards, the Cost Intelligence Dashboard, has a Cost Explorer++ built in as well so you can continue to do ad hoc queries from a single pane of glass. The CUR is a super granular big data dump AWS can do into an S3 bucket up to 3 times a day, but it can be hard to parse so the dashboards make it really easy to access.

AWS
답변함 2년 전
  • Thanks for the detailed explanation. Unfortunately, we are not able to use the Cloud Intelligence Dashboards because we want to operate on that data. It seems like the only option is to retrieve the data via the S3 bucket and not via an exposed AWS API because the GetCostAndUsage endpoint is not able to return all data, but you are only able to retrieve it using a filter and max. 2 groupBy arguments. Is my assumption right, or is there a way to easily consume it?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠