S3FS With Wasabi
    • 20 Jun 2024
    • 1 Minute to read
    • PDF

    S3FS With Wasabi

    • PDF

    Article summary

    How do I use S3FS with Wasabi?

    S3FS (fuse) certified for use with Wasabi. To use S3FS with Wasabi, please follow the command syntax example below. This tutorial may also be helpful.  

    Setup Access Key 

    Both access key and secret key of your s3 AWS account is required for configuring S3FS.

    Replace the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY with your actual Wasabi access key and secret key values. 

    $ vi /etc/passwd-s3fs AWS_ACCESS_KEY_ID:AWS_SECRET_ACCESS_KEY 

    Make sure that the file has proper permission

    $ chmod 600 /etc/passwd-s3fs 

    Mount S3 Bucket

    You can run the below command to mount s3fs

    $ s3fs mybucket /path/to/mountpoint -o passwd_file=/etc/passwd-s3fs -o url=https://s3.wasabisys.com 

    After that the mount point should work

    $ cd /tmp/wasabi/ 
    $ ls 
    BEOST_SInf BEOST_SInf-Bak BEOST_SMap keys.rtf 
    $ cp example.deb /tmp/wasabi/ 
    $ ls 
    BEOST_SInf BEOST_SInf-Bak BEOST_SMap 
    example.deb keys.rtf

    Note that this example discusses the use of Wasabi's us-east-1 storage region. To use other Wasabi storage regions, please use the appropriate Wasabi service URL as described in this article.