News for hackers. Stuff that matters.
Re:S3 isn't getting cheaper by jrochkind1 on Thursday July 28, 2022 @06:28PM (#32270818)
I didn't realize Cloudflare R2 was available yet. Took a look based on your mention... "currently in beta". But you can still just sign up and use it already?

Anyone here done that and want to report back?

Ah, I found this posted by it's author elsewhere in these threads:

https://www.vantage.sh/blog/cloudflare-r2-aws-s3-comparison

Very useful. Wait.... "no public access" AND "no pre-signed URLs"? Am I misunderstanding what that means? That would seem to make this not use cases of serving files to end-users? or what am I missing?

Re:S3 isn't getting cheaper by chc on Thursday July 28, 2022 @07:08PM (#32271137)
I haven't used it, but my understanding from reading about it is that the intended use-case is to create a Worker (roughly equivalent to an AWS Lambda) that mediates access to the bucket. So you could have the worker provide public access, or have the worker do some kind of authentication — you just have to roll that part yourself.
Re:S3 isn't getting cheaper by camhart on Thursday July 28, 2022 @07:48PM (#32271455)
They plan on adding features so you don't need to use workers.

See the last section of this article: https://blog.cloudflare.com/r2-open-beta/

Re:S3 isn't getting cheaper by jrochkind1 on Thursday July 28, 2022 @08:05PM (#32271571)
Thanks!

Also interesting to see that a future goal is: "Integration with Cloudflare’s cache, to scale read requests and provide global distribution of data."

I had wrongly assumed that would be the whole point of R2, that it would do that out the gate!

Re:S3 isn't getting cheaper by gsanderson on Thursday July 28, 2022 @07:48PM (#32271454)
I haven't used it either but it certainly sounds like it's open to anyone to use. As @chc mentions, it reads like you use a Worker to control access. So you can make your files public by simply not requiring any authentication. I've just been scrolling through their getting started guide. It looks promising: https://developers.cloudflare.com/r2/get-started
Re:S3 isn't getting cheaper by vlovich123 on Thursday July 28, 2022 @10:54PM (#32272659)
We do have presigned URLs actually. Public buckets coming soon
Re:S3 isn't getting cheaper by jrochkind1 on Friday July 29, 2022 @10:10AM (#32277140)
Thanks! That may meet all my requirements...

Although one of my use cases is video files (fairly small non-profit usage), which I have understood are not allowed by CloudFlare CDN terms of service (at least at non-"enterprise" tiers?)... it's been confusing to me understanding if I could, for example, serve video files from Backblaze via CloudFlare CDN and Bandwidth Alliance; or with R2, if there's a way to serve video files from R2 to the public that is allowed by tos.

Re:S3 isn't getting cheaper by vlovich123 on Sunday July 31, 2022 @02:32PM (#32297583)
Yes you can serve whatever you want from R2 directly. From [1]:

> The Cloudflare Developer Platform consists of the following Services: (i) Cloudflare Workers, a Service that permits developers to deploy and run encapsulated versions of their proprietary software source code (each a “Workers Script”) on Cloudflare’s edge servers; (ii) Cloudflare Pages, a JAMstack platform for frontend developers to collaborate and deploy websites; and (iii) Workers KV, Durable Objects, and R2, storage offerings used to serve HTML and non-HTML content.

Now it’s important to note that the Cache product does not fall into these supplemental terms (even if you use the Workers API to access it). So if you are Caching the video files you’d potentially run into problems (but that would also be true of serving video content from Blackblaze that you were caching).

[1] https://www.cloudflare.com/supplemental-terms/#cloudflare-de...

Re:S3 isn't getting cheaper by jrochkind1 on Monday August 01, 2022 @10:08AM (#32306146)
Thanks this is helpful.

Delivering video files without caching them is probably a mistake, of course!

Re:S3 isn't getting cheaper by i5heu on Friday July 29, 2022 @06:15AM (#32275141)
Sadly this dose not speak about data-integrity via eg. CRC.

Also I don't like it 1mm that I cants see how often and where my data is replicated

Re:S3 isn't getting cheaper by vlovich123 on Friday July 29, 2022 @09:19AM (#32276466)
Overlooked this question:

> But you can still just sign up and use it already

Yes. You can just enter a credit card & start using it.