How do I view S3 usage and cost in cost explorer ?

0

I am able view cost of S3 in cost explorer but I would like to see it against data size and number request was charged. In the billing dashboard I could see usage against cost but not in cost explorer.

Amudhan
質問済み 9ヶ月前1085ビュー
3回答
1
承認された回答

To see cost AND usage in Cost Explorer, you can filter out specific usage types. There are several charges under S3 service, and they will have different pricing units. For example, the actual storage is charged Gb per month; the API calls (like PUT, COPY, GET) are charged for X number of calls; then there may be data transfer (traffic charges) that will also be charged Gb per month. Because of the different pricing units, when you simply look at the total cost for S3, you won't get the usage graph.

I see on the screenshot you are grouping your cost by API operation. To see both cost (top graph) and usage (bottom graph), associated with each individual usage type, you would have to apply additional filters, and look ONLY at the usage types that have the same pricing units. For example... let's say I want to see how much I pay for Standard Storage in S3, the actual Gb/month of storage. I would then apply Usage Type filter, and search for anything that looks like "TimedStorage-ByteHrs" S3-standard-storage-usage-type

Alternatively, for some services, there are pre-defined groups of usage types already in the "Usage Type Group" filter. Those are essentially usage types for particular services / features, that are billed with the same pricing unit (like Gb-month for storage or traffic; or Hours for compute usage), grouped for convenience. If you filter with the Usage Type Group, it will output both cost and usage graphs.

profile pictureAWS
エキスパート
回答済み 9ヶ月前
0

Hi,

This blog post will show you how to use cost allocation tags with Cost Explorer to separate S3 costs per bucket: https://aws.amazon.com/blogs/mt/using-aws-cost-explorer-and-cost-allocation-tags-to-view-amazon-s3-costs-by-bucket/

It's close to this guidance: https://repost.aws/knowledge-center/s3-find-bucket-cost

The official doc about S3 cost allocation tags is here: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html

Best,

Didier

profile pictureAWS
エキスパート
回答済み 9ヶ月前
  • Actually, I am not looking for individual bucket usage. I want the cost explorer to include data like ex.: S3 standard 100GB usage cost 100$. Right now in cost explorer it's just giving out only the amount but not the usage.

0

Hello.
It is better to activate Storage Lens than Cost Explorer to see the exact number of requests to S3, etc.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html

It is also possible to see how much is being charged for any given request in Cost Explorer.
s3

profile picture
エキスパート
回答済み 9ヶ月前
  • Hi, Yeah, cost explorer is giving out cost but I am looking for the usage which was billed against. Like displayed in billing dashboard.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ