09/05/2024 | Press release | Distributed by Public on 09/05/2024 10:49
If you work with Backblaze B2, you're probably already aware of resources such as the Backblaze B2 Python SDK and the Backblaze B2 Command Line Tool, but did you know that there is also a Terraform Provider for Backblaze B2, an SDK for Java, and a whole slew of open source samples showing how to integrate with Backblaze B2 from web browsers, serverless platforms, and more? Today, I'll take you on a quick tour of our open source SDKs, tools, and sample code, pointing out some interesting sights along the way.
We've long been believers in open source code here at Backblaze, open sourcing our implementation of Reed-Solomon erasure coding back in 2015, and, even before then, sharing our Storage Pod designs and, of course, Drive Stats, the statistics and insights based on our observations of the hard drives we operate in our data centers, including the raw metrics we collect from many thousands of hard drives, every day.
While the Storage Pod designs and Drive Stats live here on the Backblaze website, we make our open source code available via two GitHub organizations:
Let's take a closer look.
You can use any of AWS' range of SDKs, plus the AWS Command Line Interface (CLI), to access Backblaze B2 via its S3 Compatible API; just remember to configure the endpoint URL as well as the access key ID and secret access key.
Not every Backblaze B2 operation is accessible via the S3 Compatible API-for example, application key management-so we also support a range of open source SDKs for accessing Backblaze B2's Native API from a variety of programming languages:
The Backblaze GitHub organization also contains a pair of tools built on the Python SDK:
The remaining repositories contain utilities and other code that we have published over the years, including our open source Reed-Solomon erasure coding implementation and a utility we wrote to support migrating a live Cassandra cluster from one data center to another.
Our https://github.com/backblaze-b2-samples organization contains, at the time of writing, 34 repositories, demonstrating how to use Backblaze B2 in a wide variety of situations. We've covered a few of them in past blog posts:
As you explore the https://github.com/backblaze-b2-samples organization, you'll also find repositories that have not yet been covered here on the Backblaze blog:
We'll write more about these, and other, as yet unreleased, open source projects, over the coming weeks and months, but, if you'd like us to prioritize any of the above three repositories, or any of our other projects, let us know in the comments!