Strange spike in CloudFront cost

0

First off, I am a complete newbie with AWS. We set up an account to use S3/CloudFront as our Content Delivery Network for streaming video clips on our website. So far our monthly costs have been extremely reasonable - until our Dec bill where we saw a spike in cost, related to CloudFront costs specifically. Looking at the Cost Explorer, the spike seems specific to a short time period between Dec. 22-31, and as of Jan 1 the spike is gone (see screenshot). Any thoughts on how to understand what caused that spike in usage/cost, other modules/areas to drill down for detail?

CloudFront cost spike

2 Answers
0

Hi,

To start understanding such traffic splikes, you need to analyze the CloudFront standard logs and dive deeper from there: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html#access-logs-analyzing

This blog post details how to do it with CloudWatch: https://aws.amazon.com/blogs/mt/sending-cloudfront-standard-logs-to-cloudwatch-logs-for-analysis/

Best,

Didier

profile pictureAWS
EXPERT
answered 3 months ago
0

In addition to what @Didier_Durand mentioned around CloudFront logs, you can also get some clues from Cost Explorer. If you filter to only show the Service CloudFront and Group By Usage Type, you should see what constituted the CloudFront charges.

Give this happened at the end of the month and then disappeared, I suspect that your CloudFront free tier was exhausted.

There is an article tracking free tier usage. You may want to enable an alert to tell you about free tier usage being exhausted.

profile pictureAWS
EXPERT
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions