Skip to content

S3FS

S3FS allows you to mount your S3 buckets as a user-space filesystem.

Mount bucket

In this example, we mount a bucket with the name project-bucket to folder ~/project-folder (that needs to exist).

Copy your keys from ICE Connect and paste them into a file called ~/.s3-key

Services ➡ S3 Storage ➡ Keys

The file should be in the format access_key:secret_key:

~/.s3-key
VPVXZ9WG8CUY8AWE37KJ:JEG5GYhUM6Uc9BPMbDVBtx0Jz48haxjZMJ3lNO8m

Set permissions on the file:

chmod 600 ~/.s3-key

Mount project-bucket:

s3fs project-bucket ~/project-folder/ -o url=https://s3.ice.ri.se -o passwd_file=$HOME/.s3-key -o use_path_request_style

Use ~/project-folder as a normal filesystem.

Unmount bucket

umount ~/project-folder