Object Storage - Use Object Storage with Nextcloud
Objective
Nextcloud is a suite of client-server software for creating and using file hosting services.
This guide explains how to set up storage in Nextcloud to use an Object Storage bucket.
OVHcloud provides services which you are responsible for with regard to their configuration and management. You are therefore responsible for ensuring they function correctly.
This guide is designed to assist you in common tasks as much as possible. If you encounter any difficulties performing these actions, please contact a specialist service provider and/or discuss the issue with our community on https://community.ovh.com/en/. OVHcloud cannot provide you with technical support in this regard.
Requirements
- A bucket
- A user with the required access rights on the bucket
- Your Object Storage credentials (access_key and secret_access_key)
See our Getting started with Object Storage guide.
In order to identify your endpoint corresponding to your storage class, please refer to this guide: Object Storage - Endpoints and Object Storage geoavailability.
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 then on Settings.

- Select the
External storagemenu - Create an Amazon S3 storage type.
- Name your destination folder
- Specify the name of your bucket
- Set the host as:
s3.<region_in_lowercase>.io.cloud.ovh.net - 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 then your bucket.

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
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 assisting you on your specific use case of your project.
Join our community of users.
*: S3 is a trademark of Amazon Technologies, Inc. OVHcloud’s service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.