These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
In general, object storage solutions like Spaces are not meant to be accessed like a file system. They are API driven and most often used programmatically. Check out this tutorial to learn more about object storage and if it’s right for your use case.
For managing Spaces from the desktop, there are a number of GUI tools. One popular option is Cyberduck:
If your use case really requires mounting your Space like a local filesystem, s3fs-fuse is probably the tool you are looking for. On Ubuntu, you can install it with:
sudoaptinstall s3fs
You’ll also need to get your Spaces access key and secret key (see here).
Then add those credentials to ~/.passwd-s3fs, create the local directory, and mount your Space:
In general, object storage solutions like Spaces are not meant to be accessed like a file system. They are API driven and most often used programmatically. Check out this tutorial to learn more about object storage and if it’s right for your use case.
For managing Spaces from the desktop, there are a number of GUI tools. One popular option is Cyberduck:
If your use case really requires mounting your Space like a local filesystem, s3fs-fuse is probably the tool you are looking for. On Ubuntu, you can install it with:
sudoaptinstall s3fs
You’ll also need to get your Spaces access key and secret key (see here).
Then add those credentials to ~/.passwd-s3fs, create the local directory, and mount your Space:
If your use case really requires mounting your Space like a local filesystem, s3fs-fuse is probably the tool you are looking for. On Ubuntu, you can install it with:
sudo apt install s3fs
Then add those credentials to ~/.passwd-s3fs, create the local directory, and mount your Space:
fstab Auto mount on startup
s3fs#bucket /path/to/local/directory fuse allowother,netdev,nosuid,nodev,default_acl=public-read,url=https://ams3.digitaloceanspaces.com 0 0
I have a question, once is mounted, why I can’t explore my directories in spaces, basically, I only can work in spaces root, any suggestion?
In general, object storage solutions like Spaces are not meant to be accessed like a file system. They are API driven and most often used programmatically. Check out this tutorial to learn more about object storage and if it’s right for your use case.
For managing Spaces from the desktop, there are a number of GUI tools. One popular option is Cyberduck:
If your use case really requires mounting your Space like a local filesystem, s3fs-fuse is probably the tool you are looking for. On Ubuntu, you can install it with:
You’ll also need to get your Spaces access key and secret key (see here). Then add those credentials to
~/.passwd-s3fs
, create the local directory, and mount your Space:In general, object storage solutions like Spaces are not meant to be accessed like a file system. They are API driven and most often used programmatically. Check out this tutorial to learn more about object storage and if it’s right for your use case.
For managing Spaces from the desktop, there are a number of GUI tools. One popular option is Cyberduck:
If your use case really requires mounting your Space like a local filesystem, s3fs-fuse is probably the tool you are looking for. On Ubuntu, you can install it with:
You’ll also need to get your Spaces access key and secret key (see here). Then add those credentials to
~/.passwd-s3fs
, create the local directory, and mount your Space:Hello, all
You can also check this question that was posted in our community on How to mount DigitalOcean Spaces on droplets with s3fs:
https://www.digitalocean.com/community/questions/how-to-mount-digitalocean-spaces-on-droplets-with-s3fs
Regards, Alex
If users updating files in a local mount area its will automatically sync with space.
If your use case really requires mounting your Space like a local filesystem, s3fs-fuse is probably the tool you are looking for. On Ubuntu, you can install it with:
Then add those credentials to
~/.passwd-s3fs
, create the local directory, and mount your Space:fstab Auto mount on startup s3fs#bucket /path/to/local/directory fuse allowother,netdev,nosuid,nodev,default_acl=public-read,url=https://ams3.digitaloceanspaces.com 0 0
digitalocean s3fs bucket /path/to/local/directory -o passwd_file=${HOME}/.passwd-s3fs -o url=https://ams3.digitaloceanspaces.com -o use_path_request_style