Learn how to set up storage in Nextcloud to use an Object Storage container.
Nextcloud is a suite of client-server software for creating and using file hosting services.
This tutorial is designed to help you as much as possible with common tasks. If you are having difficulty performing these actions, please contact a specialized service provider. OVHcloud can't provide you with technical support in this regard.
Requirements
- a container (see our Getting Started with Object Storage guide)
- a user with the required access rights on the container
- your Object Storage credentials (access_key and secret_access_key)
Instructions
Configuration from the graphical interface
Activate the External storage support application
Click on your profile at the top right and then on Apps
.
Select the Disabled Apps
in the left panel.
Locate the External storage support application and click Enable
.
Configuration
Click on your avatar at the top right and select Settings
from the drop-down menu.
- Select the
External storage
menu - Create an Amazon S3®* storage type.
- Name your destination folder
- Specify the name of your container
- Set the host as:
s3.<region_in_lowercase>.io.cloud.ovh.us
- Set the port to 443
- Specify the region
- Activate SSL
- Enter your access key
- Fill in your secret key
Validate
Open the Files
application, select the External storage
menu in the Administrative menu and then select your container
.
The result should be similar to this:
Configuration from the CLI
First, the External storage support application must be enabled:
Check that S3™ API is supported on your installation:
Mount your S3™-compatible Object Storage bucket on Nextcloud as a OVH_hp-bucket mount point:
Validate your settings:
Verify and update the settings if necessary:
Start indexing the new storage:
Set your bucket as primary storage
Edit your config/config.php
file and add:
Go further
For more information and tutorials, please see our other Object Storage support guides or explore the guides for other OVHcloud products and services.
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.
*S3 is a trademark filed by Amazon Technologies, Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.