Question

Is it possible to mount DO Spaces as external storage in Nextcloud as I mount AWS S3 storage?

I’m using $5 Droplet for my Nextcloud instance. It is possible to mount AWS S3 buckets in Nextcloud as an external storage. So is it possible to mount Spaces as S3?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Andrew SB
DigitalOcean Employee
DigitalOcean Employee badge
October 11, 2017
Accepted Answer

Yes! Spaces was designed to be compatible with S3 in order to take advantage of existing integration just like this. In order to mount a Space for external storage, you first need to enable the External Storage Support plugin just as you would for S3.

Next, add a new mount from the External Storages menu in the Admin panel. In the Bucket field, add the name of your Space. In the Host field, enter nyc3.digitaloceanspaces.com. In the Region field, use nyc3. You can fine the needed Access Key and Secret Key for your Spaces account on the Applications & API page of the DigitalOcean control panel. Finally, make sure to select Enable SSL. When successfully configured, a green dot should appear:

External storage

Additionally, you might want to enable sharing. This can be done the the Advanced Settings which can be accessed by click the “cog” icon on the right:

Enable sharing

alexdo
Site Moderator
Site Moderator badge
November 7, 2023

Hello all,

Yes this is possible. You can use both Spaces and Block Storage Volumes as additional/external storage in NextCloud

You can also check this question that was previosly asked in our community here:

https://www.digitalocean.com/community/questions/which-is-better-for-nextcloud-for-performance-and-reliability-spaces-or-block-storage

I would recommend using Space for backups and data which is more like kept for backup purposes.

Block Storage can be used as a local storage in case you need the extra space locally on your droplet.

Regards

Is it possible to add only a folder in a space? I have my space set as primary storage but I’d like to have more granular control over who sees what folders. If I could add folders individually, I could set group access rights to each folder.

Unfortunately NextCloud’s group folders app only works at the root level so any folders I make in it don’t show up at all if i’m using a space for primary.

I love this setup so far, I just don’t want to have to pay for a new space just to give each person a private folder!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.