Hi everyone and thanks Wim for this great module and your superb blog!

I enabled cdn 4 days ago with Amazon Cloudfront and it was a cakewalk. Thanks a lot for making the module so easy to use, Wim!

After enabling CDN, in just 4 days we exhausted the cloudfront free tier's 50GB. We've used close to 100 GB. Our monthly bandwidth usage without CDN is around 800 GB, so 100 GB in 4 days sounds reasonable.

But isn't a CDN supposed to be cheaper than hosting? I mean... our CDN bill is going to be 4x our hosting bill on Hostgator Level 4 VPS.

Is this just normal? My settings are:

  • We serve images, css and js from the CDN.
  • Origin pull mode
  • Far future expiration with UFI defaults
  • .htaccess modified as per cdn module's readme
  • Forward query strings = yes (on Cloudfront) because we have those itok parameters attached to all our images - I read one one of the issues that this is required.

Is there anything I can do to reduce my CDN bill? I'm okay with 1/4th the hosting charge, not 4x!

Comments

kiranbr created an issue. See original summary.

kandrupaler’s picture

Issue summary: View changes
Wim Leers’s picture

Status: Active » Postponed (maintainer needs more info)

Who said CDN is cheaper than hosting? It's *faster*, not necessarily cheaper.

The amount of use your CDN gets depends on the number of pageviews, the size of images, etc.

If you have hosting of a few dollar per month, then a CDN will likely e more expensive indeed.

Don't use a CDN to make things cheap, use it to make things fast.

kandrupaler’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Thanks for that, Wim.