Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# Backblaze B2

Backblaze B2 implements an S3 Compatible API. To use it as a django-storages backend:

1. Sign up for a Backblaze B2 account, if you have not already done so.

2. Create a public or private bucket. Note that object-level ACLs are not supported by B2 - all objects inherit their bucket’s ACLs.

3. Create an application key. Best practice is to limit access to the bucket you just created.

4. Follow the instructions in the Amazon S3 docs with the following exceptions:

   - Set `region_name` to your Backblaze B2 region, for example, `us-west-004`

   - Set `endpoint_url` to `https://s3.${AWS_S3_REGION_NAME}.backblazeb2.com`

   - Set the values of `access_key` and `secret_key` to the application key id and application key you created in step 2.