Bring Your Own Storage (BYOS) with Backblaze B2 Cloud Storage

Camio provides the option to read and write video, images, and metadata using the Backblaze B2 Cloud Storage.

Camio BYOS enables your team to control the storage policies, retention, permissions, backups, capacity, and billing directly from your own Backblaze B2 Cloud Storage account. 

This article describes:

How BYOS works

BYOS with Backblaze B2 Cloud Storage

Backblaze B2 Cloud Storage (B2) supports signed URLs. These enable the Camio Box gateway to write directly to your bucket(s) using URLs that the server provides for specific write requests. Signed URLs also enable Camio to serve video, images, and metadata from your own buckets directly from B2 from their Web Browsers (without passing through Camio servers). One big benefit of signed URLs is that the credentials to access your encrypted content are never stored on client devices.

Creating credentials to access your storage

In order for Camio to access the specific B2 storage bucket(s) you've chosen to use with Camio, you need to create and supply two separate credentials per bucket that allow Camio to read and write to your storage. 

Before beginning, you must create the B2 storage bucket(s) you would like to provide Camio access to, if they do not already exist, before creating credentials for their access. You will need to provide us the unique Bucket Name, as well as the Endpoint URL for each bucket at a later point.

  1. Create two separate App Keys (non-master) for Camio to use when accessing the specific buckets:
    • one with Read Only access to the desired bucket (e.g. keyName camio-downloader)
    • one with Write Only access to the desired bucket (e.g. keyName camio-uploader)
  2. Copy and Save the provided keyID and applicationKey upon creation of each App Key. The applicationKey of your new App Key will only appear once after creation, so make sure to copy and save it, as you will need to provide it to Camio for access to these credentials.

Now that you have the keyID and applicationKey of the created App Keys, along with the Bucket Name and Endpoint URL for the storage bucket(s) these credentials access, you can provide this information to Camio.

Providing the access credentials to Camio

To provide Camio access to your B2 storage buckets, you will need to provide the B2 storage bucket and access credential information you've retrieved above to the Camio settings page: https://camio.com/settings/storage

  1. read, provide the Read Only App Key's keyID and applicationKey.
  2. write, provide the Write Only App Key's keyID and applicationKey.
  3. video, provide the bucket name (e.g. "acmeproject1_camio_video") and endpoint URL (e.g. "s3.us-west-004.backblazeb2.com") for video storage.
  4. images and metadata, provide the bucket name (e.g. "acmeproject1_camio_metadata") and endpoint URL (e.g. "s3.us-west-004.backblazeb2.com") for image and metadata storage.

When you press Save, Camio begins storing and serving your video, images, and metadata in your own bucket(s).

 

Have more questions? Submit a request

Comments