News for hackers. Stuff that matters.
Re:Cloudflare R2 storage: Rapid and reliable object storage,... by nilayp on Wednesday September 29, 2021 @06:54PM (#28701051)
Nilay from Backblaze here. Amongst other things, the solution engineering team reports up to me... and when I saw this comment yesterday, I had them dig into why the B2 S3 API doesn't did not work for you.

It turns out that Backblaze B2 absolutely does support uploading objects via S3 style presigned URLs. However, there are a couple of caveats:

1. B2 doesn't currently support PostObject operations. Therefore, you must use PutObject to upload to a pre-signed URL. Many of the AWS SDKs default to PostObject.

2. B2 only supports AWS v4 authentication and not v2, which AWS has deprecated. However, some AWS SDKs default to v2.

I've put together a very simple python code sample that successfully works for me. https://gist.github.com/nilayp/2c2a04f033d8992ce4b8f591ab449...

Would this solve your issue?

Re:Cloudflare R2 storage: Rapid and reliable object storage,... by busymom0 on Wednesday September 29, 2021 @09:41PM (#28702289)
I appreciate you responding here.

I am currently away for this week, so I can't try it this week. Can I reach out to you next week with my findings? Is there an email address I can reach you at?

Just wanted to mention that I had raised my issues on the backblaze subreddit back then:

https://www.reddit.com/r/backblaze/comments/m9tioi/backblaze...

https://www.reddit.com/r/backblaze/comments/kzszym/is_backbl...

https://www.reddit.com/r/backblaze/comments/l0c9s7/is_there_...

Re:Cloudflare R2 storage: Rapid and reliable object storage,... by nilayp on Thursday September 30, 2021 @11:28AM (#28707490)
Absolutely! I’d love to know whether this worked for you.

Drop me an email using my GitHub username at backblaze.com

We will correct the record on Reddit after hearing that this was successful for you.