'How to find updated S3 bucket size via console?
The Storage Metrics for Amazon S3 Bucket is updated once in a day.
I observed that via CLI, I get the updated size of bucket as required, but via console it is only once per day.
How can I customize the metric via console where I can get the updated bucket Storage size once in every 30 minutes?
Solution 1:[1]
You cannot change the update frequency of the size shown in the S3 management console.
However, you could use the AWS Command-Line Interface (CLI) to make API calls to S3 to calculate the size.
From AWS S3: how do I see how much disk space is using:
aws s3 ls s3://mybucket --recursive --human-readable --summarize
However, if the bucket has many objects (eg 100,000+), this can take considerable time to calculate.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | John Rotenstein |
