Hello, I am building a video tube based website.
And I am using AWS S3 for storage and Cloudflare Free for CDN.
I just checked my AWS S3 billing and found it cost me a lot today.
(because it usually cost me less than 0.1USD/day)
I saw the cost mainly comes from datatransferring
FYI, this is against Cloudflare’s Terms of Service if you’re serving the video through a proxied record.
Unless you have an Enterprise plan, you can only serve video content from specific products like Cloudflare Stream or Workers KV/Durable Objects/R2.
Cloudflare has no specific location - when a user visits your site, it’s typically (but not always) the closest point of presence to them.
Your content is cached per-colo so if it’s cached in LHR, it isn’t necessarily cached in MAN until someone visits your site and hits MAN.
Argo Tiered Cache can help with this by electing a “upper tier” colo that is the only one which will fetch from your origin, with other colos talking to the upper tier colo.
But, back to my first point - if you’re serving videos through Cloudflare then you need the appropriate plan or product.
Thanks for your reply, I will switch to stream plane.
But since I cant not pick the CDN location.
AWS S3 will have transfer my data to random location Cloudflare assigned
which can cost me huge (i am spending $11 to make $1income)
Is there any solution? or should i switch to AWS Cloudfront instead?