- 最新
- 投票最多
- 评论最多
To start working with CUR, folks usually use Athena or Athena + Quicksight or some other kind of BI query tool that can see the S3 data. I recommend looking through the Labs that walk you through how to query CUR. There are also sample queries in the Level 300 area of that website. Using those queries, you can query a specific time (day, week, month, etc) or range of time. With that data, then you can calculate the cost per instance (using line_item_resource_id). This is under the expectation that you have enabled Resource IDs to be delivered in the CUR.
you can follow the below link to enable your Cost and Usage Reports to integrate with Amazon Athena, Amazon Redshift, or Amazon QuickSight.
https://docs.aws.amazon.com/cur/latest/userguide/cur-create.html
-
Follow exactly the steps in this page, if in your previous step you have already done it but not as per what this page - https://www.wellarchitectedlabs.com/cost/100_labs/100_1_aws_account_setup/3_cur/ , you have to create another one as per the instructions.
-
Give it a few days to allow the data to populate.
-
Go to AWS Athena console and use this query - https://www.wellarchitectedlabs.com/cost/300_labs/300_cur_queries/queries/compute/#ec2-total-spend
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
Hello Shlomo Dubrowin,
Thanks for the response. I will need to go through those labs to understand this option. could you please confirm, if it is possible to similar details through cost explorer? There I can see option (drop down) name resources. However, unable to search with instance ID there. Do I need to enable anything on account level?