Links

SeaweedFS

Learn how to configure SeaweedFS for use with Filebase.

What is SeaweedFS?

SeaweedFS is an open-source distributed storage system for objects, files, and data. SeaweedFS is highly scalable and designed to serve files and their associated metadata with low latency. SeaweedFS transparently integrates with cloud storage and has native integration with Filebase.
Read below to learn how to use SeaweedFS with Filebase.
This guide uses Ubuntu 20.04. Commands may vary based on the operating system.

Prerequisites:

  • Download and install SeaweedFS.
  • Sign up for a free Filebase account.
  • Have your Filebase Access and Secret Keys. Learn how to view your access keys here.
  • Create a Filebase Bucket. Learn how to create a bucket here.

1. Run the weed shell:

./weed shell

2. Configure SeaweedFS to use Filebase.

Filebase has native integration with SeaweedFS:
remote.configure -name=filebase -type=filebase -filebase.access_key=FILEBASE_ACCESS_KEY -filebase.secret_key=FILEBASE_SECRET_KEY -filebase.endpoint=https://s3.filebase.com
Replace the following values:
  • Filebase.access_key: Filebase Access Key
  • Filebase.secret_key: Filebase Secret Key

3. To confirm that Filebase was configured properly by using the remote.configure command to output the current configuration:

4. To mount a Filebase bucket to your local filesystem, use the following command syntax:

remote.mount -dir=/path/to/mount/to -remote=filebase/filebase-bucket-name
You should receive output that resembles the following:

5. Alternatively, you can amount all your Filebase buckets with the command:

remote.mount.buckets -remote=filebase
If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 3mo ago