Get s3 buckets size and cost
S3( simple storage Service) is object storage provided by AWS. S3 even helps to host a static website. S3 support to store any kind of data. It’s highly scalable and secure. Security depends all on how the cloud administrator has defined the Access control.
If you are a continuous user who pushes your data to the s3 bucket, then you might have noticed the size of the s3 buckets also keeps increasing. So it’s always a better idea to archive the data which are not frequently used. S3 provides to create some rules which will push to data to AWS glacier based on the rules defined or even you move those data manually if you are preferred to go with some kind of automation rules.
As a cloud administrator is always responsible for the billing of a company AWS account, and he is the first point of contact for management for all the billing related queries. But for a cloud administrator from the AWS billing report, he can only get how much resources are utilized separated by the services on used regions. But he always preferred to have a break of all his resources.
In this article, we show you how to get S3 buckets sizes using a cloudwatch.
Step 1: log in to aws console.
Step 2: Select cloudwatch from the aws services list.
Step 3: Select s3 from the metrics tab option in the left sidebar and then select the storage metrics.
Step 4: Now you will be able to see all the s3 buckets and filter BucketSizebytes and select all the buckets.
Step 5: Now if you adjust the time picket to 1d you will be able to see the size of all the buckets in which you are selected.
Step 6: Now we can add this widget to a dashboard by click on the action -> add to the dashboard.
Step 7: Now can change the widget representation based on your need by selecting Line/Stack/number
happy Learning 🙂
© 2020, Techrunnr. All rights reserved.