TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Backblaze is now a Terraform provider

317 pointsby cautionabout 4 years ago

13 comments

mattjaynesabout 4 years ago
If you&#x27;ll be using B2 for live production data, a couple points:<p>First, B2&#x27;s pricing is pretty amazing, especially compared to S3 and similar competitors: <a href="https:&#x2F;&#x2F;www.backblaze.com&#x2F;b2&#x2F;cloud-storage-pricing.html" rel="nofollow">https:&#x2F;&#x2F;www.backblaze.com&#x2F;b2&#x2F;cloud-storage-pricing.html</a><p>Second, be aware those savings come with some downsides. The major one for us has been their maintenance window every Thursday from 2:00-3:00pm Pacific Time. Usually there&#x27;s no outage, but sometimes there is. There&#x27;s no warning - it&#x27;s just down sometimes during that window. So, if uptime is important for your data, consider the cost of also implementing a fallback solution to cover your production use during those maintenance windows. <a href="https:&#x2F;&#x2F;www.backblaze.com&#x2F;scheduled-maintenance.html" rel="nofollow">https:&#x2F;&#x2F;www.backblaze.com&#x2F;scheduled-maintenance.html</a>
评论 #26427811 未加载
评论 #26430959 未加载
评论 #26428681 未加载
评论 #26427426 未加载
评论 #26427537 未加载
评论 #26427450 未加载
评论 #26427482 未加载
评论 #26443996 未加载
nikisweetingabout 4 years ago
I love B2&#x27;s free ingress and egress when you use CloudFlare, they utterly destroy the competition on price.<p>But my true dream would be for backblaze to someday offer ZFS as a service.<p>I want to `zfs send -i my_pool@2020-03-11 | b2zfs recv some_bucket_id`, then be able to view my snapshots and files within in the backblaze web UI, and restore with `b2zfs send -i some_bucket_id&#x2F;my_pool@2020-03-11 | zfs recv my_pool`.<p>You can already mount B2 as a FUSE filesystem with something like ExpanDrive, then write ZFS raw file vdevs to the B2 FUSE mount, but it&#x27;s horrifically slow and probably too janky for any real use.
评论 #26427660 未加载
评论 #26430183 未加载
评论 #26429624 未加载
philsnowabout 4 years ago
The wording is a little clunky; the &quot;is&quot; in &quot;Backblaze <i>is</i> now a Terraform provider&quot; makes me think that BB is competing with Terraform Cloud.<p>&quot;Backblaze now has a Terraform provider&quot; or &quot;Backblaze released a Terraform provider&quot; makes more sense to me.
OJFordabout 4 years ago
But unfortunately plugins cannot provide remote backends, and it&#x27;s a little clunky to use the S3 one:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;hashicorp&#x2F;terraform&#x2F;issues&#x2F;27304" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hashicorp&#x2F;terraform&#x2F;issues&#x2F;27304</a>
评论 #26427275 未加载
renewiltordabout 4 years ago
Very cool! Great job, guys.<p>Do you use a similar technique to <a href="https:&#x2F;&#x2F;poweruser.blog&#x2F;embedding-python-in-go-338c0399f3d5" rel="nofollow">https:&#x2F;&#x2F;poweruser.blog&#x2F;embedding-python-in-go-338c0399f3d5</a> to embed the Python SDK?<p>Also, was there a reason it&#x27;s not against the B2 API? Not a judgment, just curious about the design tradeoffs in a professional-talking-to-professional sense.
评论 #26430062 未加载
vbstevenabout 4 years ago
Terraform is an amazing tool and it’s always great to see more infrastructure providers jumping on the bandwagon.
评论 #26427293 未加载
评论 #26427622 未加载
rattrayabout 4 years ago
I sure wish this post had included a few code snippets, just to make it extra-clear what using Backblaze through Terraform might look like.
评论 #26428174 未加载
solaticabout 4 years ago
&gt; Terraform is an open-source infrastructure as code (IaC) tool<p>Maybe it was in the beginning, but Terraform is far more powerful than that now. Terraform is a monad that neatly separates pure declarative configuration from the I&#x2F;O (side effects) that are factored out into providers. Terraform used at its most powerful is not limited to infrastructure, it also sets up the platforms and applications running on that infrastructure for you, by separating the configuration of the platforms and applications from the generic API calls that apply that configuration. Terraform&#x27;s dependency graph ensures that the calls are made in the right order, no matter if they are made to infrastructure APIs, platform APIs, or APIs belonging to layers further up the stack
1vuio0pswjnm7about 4 years ago
For large downloads, does BB support the Range header. If the user is on a connection that that is not suitable for long downloads, could the Range header be used to download a large file in several parts.
评论 #26429502 未加载
nhoughtoabout 4 years ago
Popped in to say backblaze built out a tf provider at our request and they were great about it! Got a quick early build out to test, GA build a few months later and are very responsive to feedback. Pleasure to deal with
评论 #26443570 未加载
majormjrabout 4 years ago
I was just looking at this new Terraform provider yesterday how timely. Nice to see the quickstart guide this will be helpful for managing the buckets and application keys.
评论 #26427297 未加载
satyrneinabout 4 years ago
Anyone have any experience with the Backblaze compute partners? I want to put data up on B2, but then I still need to do things with it.
snicker7about 4 years ago
Terraform is great, but I wish more cloud providers had Guix&#x2F;Nix integration.
评论 #26428908 未加载
评论 #26431472 未加载
评论 #26429254 未加载
评论 #26428891 未加载