Skip to content

Instantly share code, notes, and snippets.

@arfon
Last active Jan 12, 2021
Embed
What would you like to do?
# Install go
$ sudo apt-get install golang-go
# Download goofys package
$ go get github.com/kahing/goofys
# Install goofys
$ go install github.com/kahing/goofys
# Copy the goofys binary to somewhere in your path
$ sudo cp go/bin/goofys /usr/bin/
$ cat .aws/credentials
[default]
aws_access_key_id=YOURAWSACCESSKEY
aws_secret_access_key=YOURAWSSECRETKEY
# Make a directory to mount the S3 bucket
$ mkdir /home/ubuntu/data
# Mount the S3 bucket
$ goofys --profile=tess stpubdata /home/ubuntu/data
# Finally, list the contents of the S3 bucket
$ ls /home/ubuntu/data/tess/public/
engineering ffi mast models pixel_list tid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment