How to gridFs

With our elastic file system gridFs, your data is wherever you need it. In our tutorial, we show you how to set up our high-performance and highly available file system in the way that suits you best. In no time you have a central data storage that keeps your most important files and documents always ready.

Step by Step Guide

Get your own file server in just a few clicks. In our step by step guide we show you how it works. Backup worries are a thing of the past!

1. First create a gridFs

Navigate to the PaaS menu item and select gridFs.
Click on Create gridFs:

gridFS erstellen

Create a new gridFs:

Namen vergeben

Are you ready to start?

Or do you still have questions? Create your free account now, or get a personal consultation.

2. Create a new server and connect it to your PaaS service

In this case, the NFS service has been automatically assigned an IP address via DHCP. You can find it here:

gridFS DHCP Adresse

3. Connect to the server via SSH

ssh root@
apt update
apt upgrade

4. Install the NFS client on Ubuntu

apt install nfs-common

5. Create a directory for your files

In diesem Fall heißt das Verzeichnis nfsshare:

mkdir /var/nfsshare

6. Mount your NFS with the following command

mount -t nfs /var/nfsshare

7. Create a new file, in the directory you created

touch /var/nfsshare/test-file-01 
gridFS Testfile in Verzeichnis erstellen

8. Create a second server 

To verify that your NFS is working, create a second server and connect it to the PaaS service.

Important: Remember to connect your second server to the gridFS after creating it!

Your setup should then look like this:

gridFS Zweiten Server erstellen und mit PaaS verbinden

9. Follow steps 3 to 6 for the second server

After connecting to the second server via SSH, follow the same steps as the first time. If everything works, you should have access to the file you created from the other server as well.

Zweite Testfile gridFS

Congratulations! You have created your first gridFs.