Adding Backblaze B2 Bucket to Coolify

24 Sep 2024

I recently set up a new Coolify instance and had to redo configs for Coolify’s S3 storage backups. I realized that the official docs don’t go into the Backblaze B2 configs.

It’s not difficult, but this would be useful if you don’t want to do slight trial and error to get the details correct. So I wrote the short steps to add a Backblaze B2 bucket to Coolify’s S3 storages for backup.

  1. Create your bucket at B2 Cloud Storage Buckets

    B2 Cloud Storage > Buckets > Create a Bucket
  2. Create an application key at Application Keys

    B2 Cloud Storage > Application Keys > Add a New Application Key
  3. Set the application key Type of Access as “Read and Write”.

  4. Go to your Coolify instance and add an S3 storage

    S3 Storages > Add
  5. Grab the details from your Backblaze dashboard

    Endpoint: Get URL from the dashboard (e.g., https://s3.us-west-002.backblazeb2.com)
    
    Bucket: Bucket Name
    
    Region: Leave it (mine is the S3 default, us-east-1)
    
    Access key: keyID
    
    Secret key: applicationKey

You’re done! After this, just set your Coolify instance/project backups to this Backblaze B2 bucket.

Tags: CoolifyBackblazeB2backupS3
Copyright © 2024 Zixian Chen. All rights reserved.