Usually everytime I connected(start or restart) my instances I have to manually
mount the S3 bucket to it. I do it with the following command using Goofys (or alternatively s3fs)
ubuntu@ip-172-00-23-230:~$ ./go/bin/goofys mybucket my_mountdir
Is there away I can automatically mount it everytime I login to my instances
With Linux you automatically mount the drives using
fstab; which requires special drivers for different filesystems.You should install the
fusedrivers and add entry for s3 bucket in/etc/fstabUpdate
There is a new open source project simplifying the things https://github.com/s3fs-fuse/s3fs-fuse