This file calculates the size of your S3 bucket.
-
It takes AWS credentials from /etc/boto.cfg. You can configure credentials as you want
-
AWS region is hard-coded in Line 53. You can change region in respect to your S3 bucket.
-
pip_requirements is shipped with this. Please ensure to install modules before running.
-
It takes bucketname as a parameter.
Example Run -: python gets3size.py -b "YourS3bucketname"
-
Error and Success Logs are stored in '/var/log/gets3size.log'
In case of any queries, please drop an email to "[email protected]"