Object Storage Swift - Use S3QL to mount object storage containers
Objective
S3QL is a remote file system that can be configured locally to store data using cloud storage solutions like OVH Object Storage. It has several features, such as data compression, encryption, and container snapshots, which makes this solution particularly suitable for creating backups.
You can find more information directly on their website.
This guide shows you how to set up an object container as file system.
Prerequisites
Instructions
Using an object container as a file system can impact the performance of your operations. S3ql version 3.3 or above is required.
Create your file system
- Create a file containing the login information:
OS_PROJECT_ID, OS_USERNAME and OS_PASSWORD parameters can be found in your OpenRC file. You can follow this guide below in order to retrieve it: Access and Security in Horizon
The REGION_NAME and CT_NAME arguments can be adapted according the name and location of your object container.
- Change authentication file access permissions:
- Object container formating:
You then have to add the passphrase to your authentication file. If you do not want to configure it, you have to delete the "fs-passphrase: PASSPHRASE" line from your file.
Configure your file system
- Create the mounting point
- Mount the object container
- Check mounting:
You cannot use S3QL in offline mode, you should not configure persistance via the /etc/fstab file but by using a script which will run when your server starts up.
Go further
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link]((https://www.ovhcloud.com/en/professional-services/) 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.