Monday, September 14, 2009

How to configure S3Stat Log Analyzer Managed Mode for Amazon S3 and CloudFront with CloudBerry S3 Explorer

Note: this post applies to CloudBerry Explorer 1.6.1 and later.

Amazon S3 Server access logging is an important part of Amazon S3 account management and there are several services available to analyze the log. S3stat is a popular service and cost effective service that delivers reports on the log files directly to an S3 bucket.


Some users have been concerned with the requirement to provide Amazon S3 access identifiers (access and security keys) to be able to use this service. It is no longer necessary if you use Self-Managed Mode It is possible to set up your own S3 Buckets in such a way that S3Stat can process them for you without needing your AWS credentials. It is a lot of effort to set it all up properly and we decided to support s3stat configuration in CloudBerry Explorer freeware.

Using CloudBerry Explorer to configure Self-Managed Mode

To enable s3stat support right click a bucket and click Logging| Logging Settings. This will take you to the logging screen.


Select S3Stat logging option and click ok. Then right click the same bucket and click ACL|ACL Settings. You should see S3Stat account in the list with Read/Write permissions on.



As you can see on the Logging tab S3Stat log files reside in the same bucket you configure S3Stat logging with prefix “log/access_log-”.



What about CloudFront log?

It is getting a little trickier with CloudFront log. First, enable S3stat on CloudFront Logging tab.


Since CloudFront log delivery mechanism doesn’t set ACL on the newly created log files to anybody but the bucket owner to make s3stat work you have to provide S3stat account with appropriate permissions to the log files. To do that you should use Schedule ACL Updates feature for a bucket. It will automatically apply bucket ACL to all files in the bucket


According to S3Stat Amazon CloudFront team is working on making it easier and in the future the second step will not be required.

If you came to this post by chance you should know that CloudBerry S3 Explorer is a Windows freeware product that helps managing Amazon S3 storage and CloudFront . You can download it at http://cloudberrylab.com/

You can sign-up for S3Stat Free trial without any obligations here http://www.s3stat.com/Setup/Register.aspx

Read more in S3stat blog Code on the Road: S3stat announces Self-Managed mode

Like our products? Please help us spread the word about them. Learn here how to do it.

3 comments:

Randal said...

"I was blind and now I see." I love S3Stat. Now I know at a glance what is going on with my S3 usage. And CloudBerry S3 Explorer makes interacting with S3 much easier.

Randal said...

Oh, and S3Stat is free if you spread the word! Great for us trying to start a company and have no money.

andy said...

Thanks for your comment, Randal, CloudBerry Explorer PRO is also FREE if you spread the word ;-)