First lets install the open source s3 Fuse
sudo apt-get install s3fs
Next you’ll need an access key id and secret access key; and you can get one from here
https://console.aws.amazon.com/iam/home?#/security_credentials
We’ll create a password file using these credentials
echo ACCESS_KEY:SECRET_ACCESS_KEY > ~/aws_s3.key chmod 600 ~/aws_s3.key
The next step is to create the mounting point directory
mkdir ~/mount/s3-bucket
Now for the actual mount command
s3fs bucketname ~/mount/s3-bucket -o passwd_file=~/.aws_s3.key
Now you should be able to see the mounted files.
Comments