Help


Community tutorials and documentations

How to deploy the Pydio InstantApps with Object Storage

How to deploy Pydio with Object Storage

This page shows you how to spawn a Pydio application with Object Storage.

Requirements

  • You have an account and are logged into cloud.scaleway.com
  • You have configured your SSH Key
  • You have generate your API Token

The Pydio application comes with the following packages:

libapache2-mod-php5,php5-cgi,php5,apache2,php5-gd,php5-mcrypt,php5-cli,php5-mysqlnd,pwgen,php5-curl,mysql-server

Pydio is an open source software solution for file sharing and synchronization. With intuitive user interfaces (web / mobile / desktop).

The Pydio application will store files in our Object Storage thereby you have an highly available and unilimited storage.

There are four steps to deploy the Pydio application

  • Deploy Pydio
  • Configure Pydio
  • Login and start using Pydio
  • Configure Pydio with Object Storage

Step 1 - Deploy Pydio

Before starting, click the “Create Server” button in the control panel.

Control Panel

You will land on the server-creation page where you must input basic information for your server:

  • The name of your server
  • The tag you want to assign to it (Optional). Tags let you organize your servers, you can assign any tag to each server.

Create server basic information

After inputting your server basic information, you have to choose a starting application for your server.
On the Applications tab, select Pydio. The server will be created with a ready to use Pydio.

Click the “Create Server” button. This action starts your server. In a few seconds, the Pydio application will be ready to use.

Step 2 - Configure Pydio

When your server is running, you can see the server’s IP address in the server list on the control panel. Copy this IP address and paste it in your favorite browser.

You land on the Pydio diagnostic page. All checks are “OK” except the SSL encryption which is disabled.

Pydio diag

Click on the “click here to continue to Pydio.” link to continue the installation.

You are asked to fill-in:

The admin access

Pydio admin

The global options

Pydio options

The configuration storage

Pydio uses a MySQL database as configuration storage. To retrieve the database credentials, connect your server using a terminal ssh root@<your_server_ip>.

In the root directory of your server, execute the following command cat .my.cnf. It will display your database credential (user and password).

root@c1-X-Y-Z-T:~#cat .my.cnf
[client]
user = root
password = ootaitevohxeizasinaeguasofaiwiuzuekohbicut

In the Pydio setup wizard, fill-in the database user and password you retrieve from the .my.cnf file and click the “Install Pydio Now” button

Pydio storage

Step 3 - Login and start using Pydio

Pydio is now installed and ready to use. Input the username and password you set during the configuration and login

Pydio home

Step 4 - Configure Pydio with Object Storage

Before starting, click the “Storage” button in the Scaleway control panel. You will land on the Storage page.

The first thing to do is to create a new bucket for Pydio to store files inside.
A bucket name must contain only alphanumeric and lowercase characters

Then, click on the “S3 Credentials” button.
The credentials required to access Object Storage are displayed:

  • host_base base url to access Object Storage service
  • access_key the access key required for Object Storage
  • secret_key the API Token you generated previously.

S3 Crendentials

On the left panel of Pydio settings, click Workspaces and New Workspace. Select “S3 Amazon Web Service” as driver and fill-in with your S3 credential.

  • KEY: your access key
  • SECRET KEY: your secret_key
  • STORAGE URL: https://fr-1.storage.online.net
  • BUCKET: The name of the bucket you created

When you have filled all inputs, submit.

Pydio settings

You now have a new workspace using Object Storage that allow you to have an highly available and unilimited storage.

Pydio cs

Discover a new cloud experience

Deploy SSD cloud servers in seconds.