Ruby developers are able to use Backblaze B2 Cloud Storage with the AWS SDK for Ruby via the Backblaze S3 Compatible API. Below is an example of configuring the required variables and creating a bucket:
#v2: require 'aws-sdk'
s3 = Aws::S3::Client.new(
The S3 Compatible API for Backblaze B2 Cloud Storage allows 1000’s of integrations to work with B2 natively. If you’re new to the S3 Compatible API, please see our Getting Started Guide. If you have any trouble using the AWS SDK for Ruby with B2, please let us know by emailing us at email@example.com.