ownCloud
Learn how to use ownCloud to store data on the ScPrime distributed datacenter using the XNS Relayer
Overview
ownCloud is an open-source software product for sharing and syncing of files in distributed and federated enterprise scenarios. ownCloud can mount from S3 protocol locations, so it makes a good match for XNS storage.
Read this guide for how to configure ownCloud to store data with XNS.
Prerequisites
- A working instance of ownCloud
- Install and enable the ‘External Storage: S3’ app from the ownCloud Market
- A working instance of the XNS Relayer
- Configure the XNS Relayer’s Endpoint Access Key and Endpoint Secret Key
Considerations
- ownCloud requires a valid SSL certificate to use the XNS Relayer as an HTTPS endpoint. Please configure the XNS Relayer with a valid SSL certificate or change the Endpoint Certificate Type to not require SSL. These settings can be accessed in the Relayer UI by going to Configuration > General Configuration and editing the Select Endpoint Certificate Type setting to ‘No SSL’.
Operating System Version Used in Guide
ownCloud 10.12.0.6
Guide Revision Date
2023-03-20
Setup Guide
Step 1: Open System menu
Open ownCloud and click on the User Menu in the top right to expand its options.
Step 2: Open Settings
Click on Settings.
Step 3: Open Storage
Click Storage.
Step 4: Enable External Storage
Click the checkbox to enable external storage if it is not already enabled.
Step 5: Select S3 external storage type
Click on External storage dropdown menu and select Amazon S3 compatible (SDK v3).
Step 6: Configure External Storage
Configure the External Storage location.
Folder name | [Name of the folder] | This is the name of the folder as it will appear in ownCloud. |
External storage | Amazon S3 compatible (SDK v3) | This is the type of service that the external storage uses. ‘Amazon S3 compatible (SDK v3)’ is used for XNS Relayer. |
Authentication | Access Key | This is the only option available. |
Configuration / Bucket | [Bucket name] | This is your data bucket that must be created first on the XNS Relayer. |
Configuration / Hostname | [Your IP] | This is the address of the XNS Relayer. |
Configuration / Port | [MinIO Port] | This is the port of MinIO on the XNS Relayer. |
Region | Leave blank | |
Enable SSL | The use of HTTP and HTTPS must align to the settings on the XNS Relayer. ownCloud requires a valid SSL certificate. If you do not have a valid SSL certificate, you can configure the ‘No SSL’ option in XNS Relayer and use HTTP in ownCloud as this example shows. | |
Enable Path Style | This can be left blank. | |
Access Key ID | [Endpoint Access Key (Username)] | This is defined in the XNS Relayer General Configuration. |
Secret Access Key | [Endpoint Secret Key (Password)] | This is defined in the XNS Relayer General Configuration. |
Available for | This is the access control list for who can use the folder in ownCloud. |
Step 7: Verify Configuration
Click away from the fields of the folder entry. ownCloud will automatically test the setup. If the configuration is successful, ownCloud will display a message saying “External storage has been added successfully” and a green circle will appear next to the Folder name.
Step 8: Return to home
When returning to home, the new folder hosted on XNS will be available.