I don't seem to be able to find a total amount of data I have stored in Amazon S3.
Total per bucket is okay, entire total also, and both would be best.
Web Applications Stack Exchange is a question and answer site for power users of web applications. It only takes a minute to sign up.
Sign up to join this communityGo to aws.amazon.com and click Account > Usage Reports
After signing in, select Amazon Simple Storage Service from the Service drop down and then select TimedStorage-ByteHrs from the Usage Types drop down. Select the period of time you want to be reported and use the buttons at the bottom to download the report.
The usage report gives a storage total for each bucket and each day, which is necessary to bill properly for additions and deletions. If all you need is the current total, just select a custom date range that includes only yesterday. If you download in CSV format it should be an easy matter to open the file in a spreadsheet application and sum the storage totals for all the buckets.
Here's my HowTo explaining how to parse S3 Usage Report using bash one liner to get readable results.
cat report.csv | awk -F, '{printf "%.2f GB %s %s \n", $7/(1024**3 )/24, $4, $2}' | sort -n
You can now view the size of each S3 bucket directly in the console. Click on the Amazon S3 -> -> Management -> Metrics.
Why can't you use your bill to get that number ? Is that not what shows up in the detail section of the Amazon Simple Storage Service TimedSTorage-ByteHrs section? It breaks it down by total size of stored object (<1TB, 1-50TB, 50+ ...et.c.) but you can do simple math then.
An awesome solution is to use S3Stat solution which provides very nice reports and not free, but affordable.
A sample:
This is a follow on to Darren Kraker's answer (Amazon S3 -> [your bucket] -> Management -> Metrics) and Martin Eden's comment to say that I too was getting the "No metrics are currently available for Storage" when I first checked the Metrics panel on one of my buckets. Subsequently though, I checked several of my other buckets and got the data I was looking for. The difference? The buckets which had the info available only contained Standard class storage objects, whereas the first bucket I checked, the one with "no metrics... currently available" contained both Standard glass and Glacier objects. I am guessing that the Metrics panel cannot yet accurately tabulate the two separately, hence the "unavailable" message.