Spread the love

So there are plenty of guides out there to install S3FS on your EC2 instance. The only thing I can add is that I found that it doesn’t seem to work if your buckets uses a period at all in the name.

The code below is known to work. Also I know I am using fuse but I am used to using elevated privileges.

# Firstly you will need to download a number of packages. Some of these are development tools and probably re-inforces the notion of not using this in production.

ec2-user$ sudo yum install automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel

ec2-user$ git clone
ec2-user$ cd s3fs-fuse
ec2-user$ ./
ec2-user$ ./configure
ec2-user$ make
ec2-user$ sudo make install

ec2-user$ echo MYIDENTITY:MYCREDENTIAL > /etc/passwd-s3fs
ec2-user$ chmod 600 /etc/passwd-s3fs

ec2-user$ s3fs <bucket> /mnt/mountpoint -d -d -f -o f2 -o curldbg   # This is for debug purposes


/etc/fstab      ### Note the "#" is needed below in fstab ###
s3fs#<bucket> /mnt/mountpoint fuse defaults,uid=500,gid=500,allow_other 0 0
ec2-user$ sudo mount -afv


Written by


Technology, Science and Philosophy