You can actually mount a S3 bucket:
You can run the below command to mount s3fs.
s3fs mybucket /path/to/mountpoint -o passwd_file=/etc/passwd-s3fs
You can also mount the s3 bucket on boot by following below commands.
mkdir /tmp/cache
mkdir /path/to/mountpoint
chmod 777 /tmp/cache /path/to/mountpoint
Edit /etc/fstab
and add:
s3fs#mybucket /path/to/mountpoint fuse allow_other,use_cache=/tmp/cache,uid=userid,gid=groupid 0 0
If you want to mount /etc/fstab
before reboot:
mount -a
Check more details here:
https://github.com/s3fs-fuse/s3fs-fuse/blob/master/README.md
https://medium.com/@linuxonze/mount-amazon-s3-bucket-aa069d9f6f0a