TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Backblaze B2 Cloud Storage Now Has S3 Compatible APIs

641 点作者 pyprism大约 5 年前

45 条评论

ksec大约 5 年前
Backblaze is also the founding member of Bandwidth Alliance, meaning getting those B2 via Cloudflare is essentially free.<p>So you are only paying for Storage. ( Correct me if I am on this one )<p>I wonder why doesn&#x27;t <i>ALL</i> 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.
评论 #23070474 未加载
评论 #23071804 未加载
评论 #23070150 未加载
评论 #23070672 未加载
waffle_ss大约 5 年前
Just a year ago B2 couldn&#x27;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.<p>Glad to see they&#x27;ve since fixed that, and with this update are clearly continuing to improve ergonomics. I&#x27;ll have to give B2 a fresh look.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;Backblaze&#x2F;B2_Command_Line_Tool&#x2F;issues&#x2F;175" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Backblaze&#x2F;B2_Command_Line_Tool&#x2F;issues&#x2F;175</a>
评论 #23069849 未加载
评论 #23069969 未加载
nielsole大约 5 年前
Here is the reasoning why they didn&#x27;t have &quot;s3 compatibility&quot; before: <a href="https:&#x2F;&#x2F;www.backblaze.com&#x2F;blog&#x2F;design-thinking-b2-apis-the-hidden-costs-of-s3-compatibility&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.backblaze.com&#x2F;blog&#x2F;design-thinking-b2-apis-the-h...</a>
评论 #23069622 未加载
评论 #23069564 未加载
christophilus大约 5 年前
Swank. One of the reasons I&#x27;m not using Backblaze is because I couldn&#x27;t find a way to generate a private url which allowed secure upload from the browser. It only allowed (so far as I can tell) a private url that had access to an entire bucket. If they&#x27;ve got an S3 compatibility layer now, this problem is solved. I&#x27;m gonna invest some time on this tomorrow.
评论 #23072917 未加载
jedberg大约 5 年前
This is huge because it means you can use things like S3 Fuse to mount your storage. Which means you can use it to extend your local disk, or run your own backups, or whatever.<p>Amusingly the price to store 1.2TB of data is the same as the cost of their backup plan, so if your disk is smaller than that, you could save a few bucks running your own backups. Until you have to restore (from what I can tell restores are free on their backup plans but would cost money on the S3 plan).
评论 #23071652 未加载
评论 #23072893 未加载
bithavoc大约 5 年前
I migrated a client from Cloudinary($1k+ &#x2F;mo) to B2, a Go+ImageMagick program running in DigitalOcean and Cloudflare CDN for a total of $60 &#x2F;mo. It’s been running for two years now, B2 has been incredibly reliable.
评论 #23071580 未加载
hemancuso大约 5 年前
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.<p>That being said, I wish B2 performance was better. Throughput is dramatically slower than S3.
评论 #23070949 未加载
评论 #23072845 未加载
评论 #23070404 未加载
ing33k大约 5 年前
Used B2 heavily until recently as a origin server for a CDN. Few weeks ago we saw a spike in 502 &#x2F; 504 responses.<p>When I contacted their customer supported , I was pointed to the following URL where they explain in detail how they handle these errors <a href="https:&#x2F;&#x2F;www.backblaze.com&#x2F;blog&#x2F;b2-503-500-server-error&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.backblaze.com&#x2F;blog&#x2F;b2-503-500-server-error&#x2F;</a><p>Essentially they are not considered as errors and expect the client to retry loading the file. This approach won&#x27;t work in our use case.
评论 #23074845 未加载
评论 #23073085 未加载
评论 #23082411 未加载
评论 #23077294 未加载
avolcano大约 5 年前
Huh, I thought it already had this! Must have mixed it up with a different object storage service (maybe DigitalOcean?).<p>I&#x27;ve been using B2 for backup storage for some personal projects. It doesn&#x27;t necessarily do anything &quot;better&quot; than S3 from what I&#x27;ve seen, but never having to log into AWS&#x27;s dashboard is a reward enough on its own.<p>They do have a command-line client that&#x27;s a quick PIP install, so you can do something like:<p><pre><code> b2 upload-file bucket-name &#x2F;path&#x2F;to&#x2F;file remote-filename </code></pre> Which is, of course, nice for backups.
评论 #23070726 未加载
评论 #23069537 未加载
jszymborski大约 5 年前
Ooo, even more reason to set-up a NextCloud instance now! Previously, it wasn&#x27;t really practical to set-up B2 as external storage because you&#x27;d need to also set up a compat layer.
评论 #23095657 未加载
mgamache大约 5 年前
S3 is now the standard for cloud storage APIs? Not sure if that&#x27;s good or bad. I guess competitors have to reduce switching costs.
评论 #23069911 未加载
评论 #23069920 未加载
评论 #23069925 未加载
评论 #23069667 未加载
评论 #23070633 未加载
heipei大约 5 年前
Now that we&#x27;re talking about B2, has or is anyone using them for latency-sensitive small-file object storage? I&#x27;m about to take the plunge and set up benchmarks, my use-case is that I want to store and serve ~ 500k small files (30b-1MB) per day to website visitors. So far B2 support has told me that it shouldn&#x27;t be a problem, and early benchmarking indicates the same, just curious if anyone had stories from the trenches.
评论 #23070923 未加载
评论 #23071303 未加载
评论 #23072850 未加载
rkrzr大约 5 年前
Does Backblaze offer strong consistency for files?<p>The killer feature of Google Cloud Storage in my eyes is its ability to be strongly consistent, if you set the right HTTP headers. This is not possible for Amazon S3, which is always eventually consistent and makes it unusable for many use cases where you need to be able to guarantee that customers will always see the newest version of a file.
评论 #23074722 未加载
评论 #23072722 未加载
kstrauser大约 5 年前
As a Synology user, <i>please</i> let this mean that Hyper Backup can work with B2 now (or at least soon).
评论 #23074731 未加载
评论 #23072666 未加载
评论 #23072736 未加载
WalterBAmaQ大约 5 年前
Great. How about rsync.net-compatible (i.e. bog-standard, vendor-neutral) &quot;APIs&quot;?
评论 #23069635 未加载
unilynx大约 5 年前
I&#x27;ve looked at B2 from time to time, but doing database blob storage over S3 or to disk and backing up database and files over rsync made us stick to our existing technology (eg Transip cloud storage which also charged 10 EUR&#x2F;month per 2TB). One thing we didn&#x27;t look forward to was having to reimplement cataloging and garbage collection for all of disk, S3 and B2, so we just stuck to a rsync hardlinking solution (which makes incremental backups painless)<p>having access to primary storage and cheap backup storage using the same S3 API will make us reconsider that and will probably make it worth the effort to dump our rsync-based solution for B2.
numbsafari大约 5 年前
I would absolutely love to replace my use of S3 with B2 as a backup for data stored elsewhere. Personally, I would much rather this storage to to a service that only does storage, rather than everything else that AWS does, so I don&#x27;t have to worry about anything strange happening in a cloud service I don&#x27;t use every day.<p>When they first launched B2, I inquired about ability to enter into a BAA (Business Associates Agreement) for HIPAA compliance and was told that it wasn&#x27;t &quot;on the roadmap&quot;. It sounds like B2 has come a long way on the compliance side. Would be great if they were open to this.
评论 #23069685 未加载
hartator大约 5 年前
Actually excited by this. I was benchmarking S3 vs B2 vs others 2 years ago and I had to give up on B2 because its implementation for performance was so much more difficult. (88 lines vs 36 lines for all others in Ruby)
评论 #23069691 未加载
评论 #23070538 未加载
sida大约 5 年前
Can Amazon actually patent their API (per the google vs oracle case) - basically like prevent other vendors to provide S3 APIs so that Amazon can lock in users.<p>I am not a lawyer. So this is a genuine &#x2F; dumb question.
评论 #23071627 未加载
评论 #23073723 未加载
IvanK_net大约 5 年前
It reminds me a moment three years ago, when I asked Dropbox to make their API similar to Google Drive, as they basically provide the same service. <a href="https:&#x2F;&#x2F;github.com&#x2F;dropbox&#x2F;dropbox-api-spec&#x2F;issues&#x2F;3#issuecomment-320685313" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dropbox&#x2F;dropbox-api-spec&#x2F;issues&#x2F;3#issueco...</a><p>It is just awful to see, how everyone tries to reinvent the wheel and not to be compatible with anyone else.
评论 #23071202 未加载
willcodeforfoo大约 5 年前
This is great news... there are lots more good clients for S3 than B2, and implementing one is less than trivial because of some special considerations B2 had in the beginning (namely: uploading directly to a pod.)<p>I see this isn&#x27;t available for old buckets, is there a straightforward way to duplicate a bucket to make it compatible or do you have to use something like rclone?
评论 #23071710 未加载
shanemhansen大约 5 年前
I&#x27;m curious what their load balancing layer looks like. There&#x27;s alot of interesting options. (Disclaimer: I&#x27;ve worked in the CDN and the storage space in the past)<p>If their load balancer is smart enough it can call the dispatcher, and make use of something like <a href="https:&#x2F;&#x2F;zaiste.net&#x2F;nginx_x_accel_header&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zaiste.net&#x2F;nginx_x_accel_header&#x2F;</a> to figure out where to forward the request. Unfortunately this still requires uploads be proxied through the dispatcher.<p>You could get crazy and involve a CDN (akamai or cloudflare or fastly) that could do some smart logic, especially if you can emit your dispatcher as a lookup table that&#x27;s updated frequently. I don&#x27;t know what bandwidth costs would be for that though. Probably high.<p>It&#x27;s an interesting problem space and I&#x27;d love to talk to these folks about it.
评论 #23071253 未加载
whalesalad大约 5 年前
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.
评论 #23070456 未加载
评论 #23070582 未加载
haywirez大约 5 年前
That&#x27;s awesome, but I really want to see lightning fast response times and TTFB... Second pain point is the number of retries needed for uploading a large batch of small files. Those are the main reasons I&#x27;m still considering migrating away. I really wish I shouldn&#x27;t as otherwise I love the pricing and the philosophy.<p>Edit: also think DigitalOcean Spaces and B2 might be better off merging together, or Spaces being a whitelabel B2 in disguise (both are part of BWA).
评论 #23071551 未加载
评论 #23075487 未加载
Waterluvian大约 5 年前
Okay dumb it down for Monday Me. Does this mean I can read from and write to my B2 storage using AWS S3 libraries (like the CLI, Python, and Node libs)?
评论 #23071365 未加载
dopamean大约 5 年前
I have a decent sized music collection consisting a lot of lossless vinyl rips that I&#x27;ve made from my record collection. It totals around 200gigs at the moment but is growing weekly. I&#x27;ve been looking for somewhere to back this all up in the cloud and backblaze is looking most promising at the moment. Anyone here have any thoughts on where I should go with this?
评论 #23069609 未加载
评论 #23069641 未加载
评论 #23069767 未加载
评论 #23069580 未加载
评论 #23069642 未加载
评论 #23073936 未加载
artellectual大约 5 年前
This is wonderful news for me. I host a video on demand site Codemy.net and all the original source videos are on backblaze. Originally I had to write a library to connect to the backblaze api. Now I look forward to using the existing aws client libraries, one less thing I have to maintain.
评论 #23075464 未加载
tgtweak大约 5 年前
I remember when they had all their servers in one room and the redundancy boiled down to erasure encoding in single servers.<p>They&#x27;ve been doing incredible work in the open (storage server design, hardware reliability data, etc) and I&#x27;m really happy they&#x27;ve grown to where they are today.
jjice大约 5 年前
I was actually looking at B2 vs S3 literally 2 days ago and went S3 for the universal API. Luckily, it was a personal project and I I can probably migrate everything very quickly. This is a killer feature, and I bet this will convince a lot of people to move to Backblaze.
idrock大约 5 年前
Given all the Cloudflare discussion - Cloudflare webinar with Backblaze coming up next week: <a href="https:&#x2F;&#x2F;www.brighttalk.com&#x2F;webcast&#x2F;14807&#x2F;405472" rel="nofollow">https:&#x2F;&#x2F;www.brighttalk.com&#x2F;webcast&#x2F;14807&#x2F;405472</a>
manigandham大约 5 年前
Just switched to Wasabi last week for better pricing and S3 interface... but great to see this.
kcdipesh大约 5 年前
Great news. Only a few days ago I was trying to figure out ways to use minio to use backblaze as mattermost cloud storage which needs to be s3 compatible. I expect that will work straight now. Have anyone already tried this integration?
polskibus大约 5 年前
Is there an open source S3-compatible component that I could rollout on prem?
评论 #23072846 未加载
评论 #23072902 未加载
mdevere大约 5 年前
Every day I have to use something like 4gb of data to let Backblaze sync. This is despite the fact that I might only have created&#x2F;changed 100mb worth of files since the previous day&#x27;s sync.
rb808大约 5 年前
Is there a cheap s3 compatible service that is less reliable? I dont want to pay for redudancy Eg its my backups I can handle a 3% chance that my data is lost as long as I find out about it.
评论 #23074325 未加载
sparrc大约 5 年前
Does this mean I can use awscli to interact with b2 by specifying some backblaze server with --endpoint-url? What is the endpoint I would use?
评论 #23074339 未加载
hannibalhorn大约 5 年前
Just signed up to try it out - would really like to see some form of two factor auth that isn&#x27;t SMS based. TOTP and&#x2F;or FIDO U2F.
评论 #23070901 未加载
benbro大约 5 年前
Is B2 suitable for streaming video files? Can I stream the same file to 1,000 viewers at the same time?
评论 #23071633 未加载
siscia大约 5 年前
Did somebody actually tried to use the S3 API? It seems like they are not working for me.
gramakri大约 5 年前
Fantastic news. B2 Storage is one of the most requested backup storage backend for us.
S3raph大约 5 年前
happy customer of backblaze. Love how transparent they are with everything (especially the Harddisk statistics) and how the CEO takes time to respond to a lot questions only confirms how down to earth they are.
ghawkescs大约 5 年前
Any chance of adding Azure storage compatible APIs in the future?
brian_herman__大约 5 年前
There is no mention of the durability guarantees that s3 has.
评论 #23072102 未加载
评论 #23071173 未加载
ckdarby大约 5 年前
Another step towards Amazon acquiring them.
评论 #23074674 未加载
joshuaellinger大约 5 年前
Any plans for an Azure Blob API?