4 ms·
While we are on the subject of rate limiting and such, does Cloudflare allow using its service for serving video files for a media heavy social media app where
by codetrotter 6y ago
While we are on the subject of rate limiting and such, does Cloudflare allow using its service for serving video files for a media heavy social media app where we store the videos on Backblaze B2?
I’m working on such an app, and am hoping to use Cloudflare + Backblaze B2, because of the bandwidth alliance. https://www.cloudflare.com/en-gb/bandwidth-alliance/ https://www.cloudflare.com/en-gb/bandwidth-alliance/
However, the Terms of Service say:
> 2.8 Limitation on Serving Non-HTML Content
> The Services are offered primarily as a platform to cache and serve web pages and websites. Unless explicitly included as part of a Paid Service purchased by you, you agree to use the Services solely for the purpose of (i) serving web pages as viewed through a web browser or other functionally equivalent applications, including rendering Hypertext Markup Language (HTML) or other functional equivalents, and (ii) serving web APIs subject to the restrictions set forth in this Section 2.8. Use of the Services for serving video or a disproportionate percentage of pictures, audio files, or other non-HTML content is prohibited, unless purchased separately as part of a Paid Service or expressly allowed under our Supplemental Terms for a specific Service. If we determine you have breached this Section 2.8, we may immediately suspend or restrict your use of the Services, or limit End User access to certain of your resources through the Services.
https://www.cloudflare.com/en-gb/terms/ https://www.cloudflare.com/en-gb/terms/
And I am wondering what kind of subscription would be appropriate for my use-case if any, that would allow me to host the files on Backblaze B2, and serve these files through Cloudflare.
(Cloudflare would also be hosting our API, so it’s not just video files that we want to serve via Cloudflare.)
- Sayrus 6y agoFor what is is worth, I've been using their Free Tier to serve over 10k requests per hour with ~60% html / ~40% media (mainly pictures, very few videos) and I've never had a problem. However, for a CDN for video content YMMV. Perhaps you should try contacting them directly to have a written estimate.
- tmikaeld 6y agoThey do NOT allow video or large files (+50MB) on the Free plan or even on the paid plans! You'll have to get an Enterprise account for that (it's no longer starting at $5K/mo, you can get custom accounts setup to match your needs).
- codetrotter 6y ago> it's no longer starting at $5K/mo, you can get custom accounts setup to match your needs Meaning that it might be possible to get what we need at a suitable price? $5K/mo is way over our budget until we have actual users and revenue. If so then that is great. Thanks for the tip :)
- frankietaylr 6y agoThey do have a separate offering for video streaming which is pay as you go. https://www.cloudflare.com/products/cloudflare-stream/ https://www.cloudflare.com/products/cloudflare-stream/
- tmikaeld 6y agoIt's not compatible with Cloudflare Workers afaik.
- jimz 6y agoI basically have something similar to your use-case. While I'm on the free tier for all my domains, the supplemental agreement, at least in the US version, removes the specific limitation to serve primarily html/text content if you enable Cloudflare Workers, which also has a free tier, applies on an account and not domain level, and has no requirement for you to serve your content through their KV system. I ended up paying for my CF Workers subscription for a different project on my account but the system worked fine prior to that. I served 111GB of a combination of m4a and png files in data from my B2 bucket via CF in the past month.
- tmikaeld 6y agoVideo is really not allowed in the TOS for Cloudflare Workers either, see this discussion about the topic: https://community.cloudflare.com/t/cloudflare-workers-live-video https://community.cloudflare.com/t/cloudflare-workers-live-v...
- psz 6y agoServing videos (cached or not) is only allowed by using Cloudflare Stream or as a part of Enterprise contract.