How to mount EO DATA as a filesystem using goofys (Linux)?

To mount EO DATA resources as file system do following steps:

For Ubuntu:

$ sudo add-apt-repository ppa:gophers/archive && sudo apt-get update && sudo apt-get install golang-1.10-go

$ echo "export PATH=$PATH:/usr/lib/go-1.10/bin" >> ~/.profile

$ source ~/.profile

$ mkdir work

$ export GOPATH=$HOME/work && go get && go install

For Centos:

$ sudo rpm --import

$ curl -s | tee /etc/yum.repos.d/go-repo.repo

$ sudo yum install golang

Next, create file ~/.aws/credentials with content:


Fill in aws_access_key_id and aws_secret_access_key with random data. (URL does not require an authorization)


After creating the credentials file you may mount EO DATA:


$ $GOPATH/bin/goofys --region RegionOne --profile s3 --endpoint \
Store ec2 credentials in root home directory if you use goofys with sudo.

DIAS is the name of our bucket that contains of EO DATA resources.
According to the example above, you have to provide MOUNT-POINT at the end of the command.

Example configuration in /etc/fstab (additionally):

/home/eouser/work/bin/goofys#/container /mountpoint fuse _netdev,allow_other,--dir-mode=0777,--file-mode=0666,--region=RegionOne,--profile=s3,--endpoint= 0 0