0

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?

1 Answers1

0

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.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470