Reputation: 9544
I have a small static site hosted on s3, served through cloudfront. I've been trying to reduce the costs but now I'm at a point that I really just need to know which files are getting downloaded the most. How can I figure that out?
Thanks.
Upvotes: 0
Views: 384
Reputation: 36073
Take a look at your CloudFront distribution statistics. In the AWS Management Console, go to CloudFront, and select "Popular Objects" from the left navigation panel.
It will show you the the following statistsics:
Upvotes: 3
Reputation: 1552
You can enable analytics for the bucket (under Management tab), which will help you understand if any files can be moved for example to Infrequent Access storage class.
If you want to have the exact access logs, you could also enable Access Logging
Upvotes: 0