Posts

Showing posts from September, 2018

figuring out s3 bucket size

You can calculate the size of your buckets with commandline tools, or using the analytics feature.  However, all of these incur charges. Alternatively you can run a ' usage report ', save it as a csv , and then do some math cat report.csv | awk -F, '{printf "%.2f GB %s %s \n", $7/(1024**3 )/24, $4, $2}' | sort -n