File Storage Service - Getting started

Objective

OVHcloud provides a File Storage Service powered by OpenStack Manila. This service offers managed NFS shares on private networks, supporting ReadWriteMany (RWX) access across multiple instances or Kubernetes pods.

It can be accessed via OVHcloud API, OpenStack CLI and API, Manila CSI, OVHcloud Control Panel, and Terraform.

Requirements


OVHcloud Control Panel Access

  • Direct link:
  • Navigation path: Public Cloud > Select your project

Instructions

Via the OVHcloud Control Panel
Via the OVHcloud API
Via the OpenStack CLI with the Manila plugin
Via Manila CSI in Kubernetes environment
Via Terraform
Info

Some features of the File Storage service, such as snapshots, are not yet available in the OVHcloud Control Panel. You can use the OVHcloud APIs, OpenStack CLI, or Manila CSI for these features.

1. Create a share

In the left sidebar, go to Storage & backup > File Storage, then click Create a share.

Enter the share name, then filter by deployment mode to select the target region.

Set the performance level and size (in GiB), associate a private network, and click Confirm to complete the share creation.

2. Authorize a client VM (ACL)

Info

Retrieve the private IP address of your client VM and ensure it is on the same private network as the share.

Once the share is created, click on it to open its dashboard, then go to the Access Control List (ACL) tab.

Click Add a new access, enter the private IP address or a CIDR range (e.g., 10.1.0.123 or 10.1.0.0/24), and select the permissions:

  • Read-only: read access only
  • Read and write: full read/write access
Info

File Storage can only be used with OVHcloud IPs (Public Cloud, Managed Kubernetes Service).

To remove an access rule, click the trash icon on the right side of the ACL entry.

3. Mount the share on your client VM

Retrieve the mount path (displayed as Mount Path in the General information tab of your share), then connect to your client VM and install the NFS utilities:

sudo apt update && sudo apt install -y nfs-common

Create a mount point and mount the share:

sudo mkdir -p /mnt/share
sudo mount -t nfs4 <NFS_MOUNT_PATH> /mnt/share

Verify the mount:

df -h /mnt/share

Save the mount configuration in fstab for easy remounting:

echo "<NFS_MOUNT_PATH> /mnt/share nfs nfsvers=4 defaults,noauto 0 0" | sudo tee -a /etc/fstab

This lets you remount the NFS share after a reboot with the mount /mnt/share command.

Go further

Join our community of users.

Was this page helpful?