Mount Amazon s3 on Linux

To mount Amazon S3 bucket as a filesystem on linux, you can use s3fs.

To install s3fs on Ubuntu/Debian, run

apt install s3fs

To mount an s3 buclet, create a password file with your AWS secret key and

chmod 600 ${HOME}/.passwd-s3fs

Then run

s3fs sokmount /home/boby/ -o passwd_file=${HOME}/.passwd-s3fs -o dbglevel=info -f -o curldbg -o endpoint=ap-southeast-1 -o url=””

In above command replace

sokmount = bucket name
/home/boby/ = your mount point
ap-southeast-1 = AWS region where bucket is created.

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat