https://discord.cloudflare.com logo
R2 actual egress limits ?
h

HappyCathode

05/24/2023, 11:23 PM
Hello ! If you read around the R2 discord channel, Reddit, or just Google for it, the general consensus seams to be that if you use too much bandwidth, at some point Cloudflare will contact you to go Enterprise, and that starts at around 2000$ per month. I want to know if that's the case with R2, and R2 + CDN. Let's say I distribute 20-40GB files over pre-signed R2 URLs, is it really just 0.36$ per million Class B operations ? Can I distribute 1 billion times a single 50GB file over presigned-url directly from R2 for 1000x0.36$ = 360$ ? If I add a custom domain in front of an R2, buy Cloudflare Pro to get access HMAC tokens to mimic presigned URLS on CDN to cache files under 512MB, what happens ? What Happens at 5TB of Bandwitch, 20TB, 50TB, 1PB ? Will I get contacted to switch to Enterprise ? I'm trying to figure out pricing plans for my product, so I need to know exactly what my costs will be at scale. Are the publicly available R2 pricing details truly 100% complete ? Are people just freaking out ? The terms and conditions for Developer Platform mentions that services can be limited "if processing such requests would put an undue burden on the Cloudflare network". It feels like an exit clause to nullify the public R2 pricing page and force you to Enterprise. I just want to know the threshold where that happens, if it does ?
j

James

05/24/2023, 11:37 PM
The simple answer is yes, eventually, once you push enough traffic, Cloudflare will reach out and you'll have to pay for egress with something like ENT. The exact agreement will differ depending on usage/needs. For the vast majority of use-cases, you'll probably never hit these limits - I don't believe they're public or even well defined if I'm honest - but with recent T&S changes, you can be comfortable in that your stuff won't just be flagged and taken down by an automated system anymore like we've seen in the past with some reports.
You won't get any specifics from folks here when it comes to what an ENT agreement and bandwidth will look like though I'm afraid. Those who have agreements like that will be under strict NDAs not to share such information. 😦
Your best bet if you have a clear idea of what your traffic is going to look like in 3 months, 6 months, 18 months orwhatever from now, is going to be to reach out and hop on a sales call unfortunately.
h

HappyCathode

05/25/2023, 1:14 AM
To be clear, I'm not looking for freebies, I understand for free services like CDN that you need to pay something at some point. But for R2, the prices are very well defined. All from the official https://developers.cloudflare.com/r2/pricing/ : - They are pay per use, $0.015 / GB-month, $4.50 / million Class A Operations requests per month, $0.36 / million Class B Operations requests per month - There are no charges for egress bandwidth In the "R2 billing examples" down that page, the first example costs 14.85$ for 1000 downloads of 1GB files, so 1 TB of bandwidth. The second example costs 104.40$ for 290,000,000 downloads of 100KB assets, and that's 27 TB of bandwidth. There is also not a single mention of total bandwidth you can use on https://developers.cloudflare.com/r2/reference/limits/ For R2, it sounds like everybody is scared of some salesperson Boogeyman :/ Can anybody working at Cloudflare answer this : Is there any R2 usage level at which R2 Class A or Class B Operations are not charged $4.50 / million requests for Class A Operations and $0.36 / million requests for Class B Operations ? Is there any threshold where I will be called by Cloudflare to pay more per Operation or switch completely to a per GB of bandwidth pricing model ? This is in the context that these requests do not go through a custom domain, it will all be 100% pre-signed requests directly to R2.
I was wrong, the first example in the pricing page is 1 000 000 (1 million) downloads of files averaging 1GB in size, so 976.56 TB for 14.85$ 🤷‍♂️
j

James

05/25/2023, 4:15 PM
> Can anybody working at Cloudflare answer this It's unlikely you're going to get an official response to this I'm afraid. Generally once you hit certain thresholds with any service, you'll be able to negotiate cheaper pricing per operations, and things like that, but you're only going to get specifics by chatting with Sales.
h

HappyCathode

05/25/2023, 4:32 PM
Thanks James, I'm trying to reach sales. I hope they don't think I'm too small of a fish to talk!
s

Sid | R2

05/26/2023, 3:19 AM
Hey just FYI, I've seen this, and I'll ask someone to respond to this
h

HappyCathode

05/26/2023, 12:45 PM
Much appreciated 🙂