Adrián Bíro

S3

Mount S3

$ vi /etc/passwd-s3fs
ACCESS_KEY_ID:SECRET_ACCESS_KEY
$ chmod 640 /etc/passwd-s3fs
$ sudo apt install s3fs
$ mkdir /mnt/s3-bucket
$ vi /etc/fuse.conf # Enable user_allow_other 
$ vi /etc/fstab
s3fs#<s3_bucket_name> /mnt/s3-bucket/ fuse _netdev,allow_other,url=https://s3-<aws_region>.amazonaws.com 0 0
$ reboot
$ s3fs <s3_bucket_name> \
    -o use_cache=/tmp -o allow_other -o uid=1000 \
    -o mp_umask=002 -o multireq_max=5 \
    -o url='https://s3-<aws_region>.amazonaws.com' /mnt/s3-bucket