Live data from Hacker News

Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

backblaze.com

51–60 of 293 posts

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#51

Just a year ago B2 couldn't do server-side file copying.[1] If you wanted to rename or move a file you had to re-upload the whole thing (not great for large multi-gigabyte files)! That ruled them out of consideration for storing my personal backups. Glad to see they've since fixed that, and with this update are clearly continuing to improve ergonomics. I'll have to give B2 a fresh look. [1]: https://github.com/Backbl…

For backups, mapping one file to one object rarely works well. Tools that use this strategy come with a long list of scenarios requiring expensive operations. For instance renaming a directory or changing a few bytes in a large file. On the other hand tools that don't view the object storage as a file system have way less gotchas. In my experience B2 + restic works really well.

> For backups, mapping one file to one object rarely works well.

Same for archiving. At my former workplace we however figured that out only after the horse left the barn.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#52
post #45
post #44

Earlier quoted context omitted.

I believe you still pay Cloudflare costs, but the traffic between Cloudflare and B2 is free on both platforms. But it might be worth double-checking the fine print.

Isn't the Cloudflare CDN included in the free plan as well?

CloudFlare's free plan can and does end at any moment, I wouldn't rely on it for any serious application

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#54

As a developer that supports B2 (I write ExpanDrive) I think it’s great that they are moving on from an API that doesn’t expose any extra value. That being said, I wish B2 performance was better. Throughput is dramatically slower than S3.

What region are you moving from/to? Last I checked, b2 only exists in datacenters on the US west coast.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#55
post #45
post #44

Earlier quoted context omitted.

I believe you still pay Cloudflare costs, but the traffic between Cloudflare and B2 is free on both platforms. But it might be worth double-checking the fine print.

Isn't the Cloudflare CDN included in the free plan as well?

It is, but they cap out the file size they will cache on the free plan to be 512MB. So you would need to chunk up your videos to get free bandwidth.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#56
post #54

As a developer that supports B2 (I write ExpanDrive) I think it’s great that they are moving on from an API that doesn’t expose any extra value. That being said, I wish B2 performance was better. Throughput is dramatically slower than S3.

What region are you moving from/to? Last I checked, b2 only exists in datacenters on the US west coast.

It remains the case even if you’re only a few ms away.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#57

This is great. Their current API requires you to identify a unique host to send data to, so you’re constantly performing a metric ton of DNS queries. Until I white listed the base domain it was the #1 client of my Pihole installation by multiple orders of magnitude.

The DNS resolver library of your client is allowed to cache the IP address for a given hostname for up to TTL. If it does so, the cost should be negligible.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#58
post #38

Backblaze is also the founding member of Bandwidth Alliance, meaning getting those B2 via Cloudflare is essentially free. So you are only paying for Storage. ( Correct me if I am on this one ) I wonder why doesn't ALL non HyperScale Cloud Vendors, like Linode and DO provide one click third party backup to B2. You should always store offsite backup somewhere. And B2 is perfect.

Yev from Backblaze here -> That's correct. We're a founding member of the Bandwidth Alliance and you can find more info about that on our Blog (https://www.backblaze.com/blog/backblaze-and-cloudflare-part...) or FAQ (https://help.backblaze.com/hc/en-us/articles/217666928-Using...). May the 4th be with you ;-)

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#59
post #41
post #38

Backblaze is also the founding member of Bandwidth Alliance, meaning getting those B2 via Cloudflare is essentially free. So you are only paying for Storage. ( Correct me if I am on this one ) I wonder why doesn't ALL non HyperScale Cloud Vendors, like Linode and DO provide one click third party backup to B2. You should always store offsite backup somewhere. And B2 is perfect.

How does that work? Can I just dumb two terabytes of video into Backblaze B2, setup a Cloudflare account and have people watch those videos with it costing me only $10 a month? Because that doesn't sound right.

The Cloudflare ToS explicitly exclude that use-case.

2.8 Limitation on Serving Non-HTML Content The Service is offered primarily as a platform to cache and serve web pages and websites. Unless explicitly included as a part of a Paid Service purchased by you, you agree to use the Service solely for the purpose of serving web pages as viewed through a web browser or other functionally equivalent applications and rendering Hypertext Markup Language (HTML) or other functional equivalents. Use of the Service for serving video (unless purchased separately as a Paid Service) or a disproportionate percentage of pictures, audio files, or other non-HTML content, is prohibited.

Re: Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

#60
post #41
post #38

Backblaze is also the founding member of Bandwidth Alliance, meaning getting those B2 via Cloudflare is essentially free. So you are only paying for Storage. ( Correct me if I am on this one ) I wonder why doesn't ALL non HyperScale Cloud Vendors, like Linode and DO provide one click third party backup to B2. You should always store offsite backup somewhere. And B2 is perfect.

How does that work? Can I just dumb two terabytes of video into Backblaze B2, setup a Cloudflare account and have people watch those videos with it costing me only $10 a month? Because that doesn't sound right.

Cloudflare's main service excludes video.
Post reply on HN