mount Amazon S3 bucket to local system Or VPC EC2-instances
mount Amazon S3 bucket to local system Or VPC EC2-instances
Then run
Output will be like this:
Then run
sudo sh -C 'echo AMAZON_KEY:AMAZON_SECRET > /etc/passwd-s3fs'
sudo chmod 600 /etc/passwd-s3fs
sudo mkdir -p /mnt/s3/
sudo chmod -R 0777 /mnt/s3/
Then run
id
Output will be like this:
uid=1001(deploy) gid=0(root) groups=0(root)
Then run
sudo s3fs bucket_name /mnt/s3/ -o noatime -o allow_other -o uid=uid_from_above -o
gid=gid_from_above -o use_cache=/tmp -o default_acl=public-read-write
And if you get stuck… Ask Here