Mobile app version of vmapp.org
Login or Join
Gretchen104

: Amazon S3 data usage and request counter Is there any way to get detailed info about how much requests done to my S3 bucket and how much space used by my files in bucket? I need it to

@Gretchen104

Posted in: #AmazonAws #AmazonS3

Is there any way to get detailed info about how much requests done to my S3 bucket and how much space used by my files in bucket? I need it to watch whether or not I exceeded limits
(in my case free usage tier). I want something precious like "you've used 800 requests per 1000 available", so please do not refer to automatic billing alert emails or something similar.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

2 Comments

Sorted by latest first Latest Oldest Best

 

@Merenda212

This won't get you the exact real-time figures, but I needed to have an idea of how much I'm spending on the S3 putObject requests, and how those changed over time after I made some optimizations in my code, and this worked for me.


Launch the Cost Explorer and click New Report
Choose Day or Month on the top left and set the Time Range (7 days, 14 days, 3 months etc)
Filter by Service and select the one you're interested in (SNS, SQS or S3), don't forget to click Apply
Group your report by a dimension (API Operation, Instance type, Region etc.)
Save your report for future use

10% popularity Vote Up Vote Down


 

@Si4351233

(Answer By @Frank )
You can enabble logging on the bucket and then use the API to figure out what is going on. You can also access your live usage figures in your AWS Account Console. docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme