The External Storage Support application allows you to use an external storage service (such as DreamObjects) to store the files of your Nextcloud installation instead of storing the files on your web server. This also is recommended to stay in accordance with DreamHost's storage policies.
This guide describes how to connect Nextcloud to DreamObjects cloud storage service.
Step 1 — Install Nextcloud
Before you can begin using Nextcloud with DreamObjects, you must install Nextcloud on your DreamHost server by following this step-by-step guide.
Step 2 — Create a DreamObjects bucket and user
Step 3 — Connecting to DreamObjects
- Log into your Nextcloud site. If you followed the installation guide above, this would be located at example.com/nextcloud.
- Click your user icon on the top right. Select + Apps from the dropdown menu.
- Scroll down the list to locate External storage support.
- Click the Enable button to the right.
- Click your user icon on the top right. Select Settings from the dropdown menu.
- Select External storages in the menu on the left.
- Select Amazon S3 from the External storage dropdown.
Ignore the "smbclient" warning. This is used to connect to Windows and is not needed for this configuration.
- Folder name: Enter the name for your Nextcloud folder. This will be the folder name in which you store your data and can be named anything you'd like.
- External storage: Already set to Amazon S3.
- Authentication: Set to Access key.
Bucket name — The name of your DreamObjects bucket.
Your bucket name cannot contain an underscore as Nextcloud will fail to connect.
- Hostname — objects-us-east-1.dream.io
- Port — Leave blank.
- Region — us-east-1
- Enable SSL — Check this box.
- Enable Path Style — Check this box.
- Access key — Your DreamObjects Access key.
- Secret key — Your DreamObjects Secret key.
- Bucket name — The name of your DreamObjects bucket.
- Available for: If you have multiple users of your Nextcloud installation, you can limit who has access to the folder by typing users or groups in the Available for box to the right of the configuration information.
- Click the check mark to the right. If you've entered everything correctly, a green circle appears to the left of your folder name.
Viewing your external storage files
Now that you have linked Nextcloud to DreamObjects, you can view the files you have uploaded to your DreamObjects bucket.
- Log into your Nextcloud site.
- Click Files in the top menu.
- A list of folders and files display. In this list you'll see the name of the folder you created above to store the external storage.
- By selecting your folder, you will see everything you have uploaded to your DreamObjects bucket.
Any objects you upload to your DreamObjects bucket will automatically load in your Nextcloud folder.