Getting Started with S3FS-C

S3FS-C is a FUSE (File System in User Space) based file system backed by Amazon S3 storage buckets. Once mounted, S3 can be used just like it was a local file system.

Install libs for S3FS-C into Ubuntu-12.04

$ sudo apt-get install libfuse-dev libcurl4-openssl-dev fuse-utils

Install “S3FS-C”

$ git clone
$ cd s3fs-c
$ ./configure
$ make
$ sudo make install

Modify “/etc/hosts”

  • Add a LeoFS domain in /etc/hosts
  • LeoFS’ domains are ruled by this rule
$ sudo vi /etc/hosts

## Add a LeoFS domain ## localhost <bucket>.localhost

Create a credential file for S3FS

$ vi ~/.passwd-s3fs

## Set access-key and secret-key ##

$ chmod 600 ~/.passwd-s3fs

Mount “LeoFS”

$ s3fs <bucket> <mount-point> -o url='https://<endpoint>:<port>'