Deploy Open Pryv.io from the Exoscale Marketplace in a few minutes: a single server with its own HTTPS certificate, ready to register users.
The template is Ubuntu 24.04 LTS with Docker. At first boot it installs the latest Open Pryv.io 2.x release (or the one you choose, see PRYV_VERSION below) from the official pryvio/open-pryv.io Docker image, after verifying that the image was signed by the Open Pryv.io release workflow. Open Pryv.io 2.0 is currently a release candidate.
Only a host name for the server, e.g. pryv.example.com, in a DNS zone you control. You will point its DNS A record at the instance once it has an IP address.
In the Exoscale portal, create a security group (e.g. pryv) with these inbound rules:
| Port | Protocol | Why |
|---|---|---|
| 443 | TCP | HTTPS (the API) |
| 80 | TCP | Let’s Encrypt certificate validation (nothing else is served over plain HTTP) |
| 22 | TCP | SSH, for you |
The setup also needs outbound HTTPS at first boot, to list and download the release from Docker Hub and to check its signature with Sigstore (hub.docker.com, registry-1.docker.io, auth.docker.io, production.cloudflare.docker.com, tuf-repo-cdn.sigstore.dev, rekor.sigstore.dev). Exoscale security groups allow all outbound traffic unless you restrict it.
Pick the Open Pryv.io template, a Small instance or larger, a disk of 20 GB or more, your SSH key and the pryv security group. In User Data, paste the snippet below (including the #cloud-config line) with your own host name:
#cloud-config
write_files:
- path: /opt/pryv/first-boot.env
permissions: '0600'
content: |
PRYV_HOSTNAME=pryv.example.com
Optional settings, one per line in the same file:
| Setting | Default | Meaning |
|---|---|---|
PRYV_EMAIL=you@example.com |
none | Contact address of the Let’s Encrypt account (Let’s Encrypt no longer sends expiry emails) |
PRYV_SERVICE_NAME="My Platform" |
Open Pryv.io |
Name shown to apps |
PRYV_AUTHUI_URL=https://... |
https://account.pryv.me |
Sign-in and account pages (app-web-user-account); host your own to brand them |
PRYV_LE_STAGING=true |
false |
Use the Let’s Encrypt staging CA (untrusted certificate, for tests only) |
PRYV_VERSION=latest-stable |
latest |
Open Pryv.io release to install: latest (the newest release, release candidates included), latest-stable (the newest final release; until 2.0.0 is out, the newest release candidate, with a warning) or a release such as 2.0.0-rc.50 |
Do not put secrets in User Data: any process on the instance can read it. The setup generates all secrets itself.
When the instance is running, create a DNS A record for your host name with the instance’s public IP address. The setup waits for it (up to 2 hours) before requesting the certificate.
Connect with ssh ubuntu@<instance IP> and follow the log:
sudo tail -f /var/log/pryv-first-boot.log
The setup picks the Open Pryv.io release (PRYV_VERSION), verifies its signature, downloads it, runs the Open Pryv.io install wizard, then starts the server, which obtains its Let’s Encrypt certificate by itself. It usually takes a few minutes once DNS is in place, and ends with ready: https://<your host>/reg/service/info. If the release cannot be downloaded or its signature cannot be verified, the setup stops with an ERROR line and installs nothing.
If you skipped the User Data, write /opt/pryv/first-boot.env yourself (as root, same content as above): the setup starts as soon as the file exists.
If the setup stops with an ERROR line (for example a mistyped host name), correct /opt/pryv/first-boot.env, then run sudo systemctl restart pryv-first-boot.
To stop the setup while it runs (for example while it waits for DNS), stop both units, otherwise it starts again by itself:
sudo systemctl stop pryv-first-boot.path pryv-first-boot
To start over with another host name, before the platform holds any data you want to keep (this deletes the generated configuration, its secrets and all data):
sudo systemctl stop pryv-first-boot.path pryv-first-boot pryv
sudo systemctl disable pryv
sudo rm -rf /opt/pryv/pryv-config.yml /opt/pryv/data /opt/pryv/.initialized
Then correct /opt/pryv/first-boot.env and run sudo systemctl start pryv-first-boot.path: the setup runs again from the start. It keeps the release chosen the first time; to choose again from PRYV_VERSION, also empty it with sudo sed -i 's/^PRYV_IMAGE=.*/PRYV_IMAGE=/' /etc/default/pryv before starting.
curl https://pryv.example.com/reg/service/info
answers with your platform’s description, apiVersion being the release the setup installed, for example:
{
"meta": { "apiVersion": "2.0.0-rc.50", "serverTime": 1791373164.65, "serial": "20261013" },
"name": "Open Pryv.io",
"api": "https://pryv.example.com/{username}/",
"register": "https://pryv.example.com/reg/",
"access": "https://pryv.example.com/reg/access/"
}
Then create a first account and app access: see Open Pryv.io, getting started and the API documentation.
| What | Where |
|---|---|
| Service | sudo systemctl status pryv, logs: sudo journalctl -u pryv |
| Configuration, including the admin key | /opt/pryv/pryv-config.yml (mode 0600, owned by uid 1000: the server’s user, which is also the ubuntu login user) |
| Data (accounts, attachments, certificates, platform database) | /opt/pryv/data |
| Setup answers | /opt/pryv/init-answers.yml |
| Release in use (tag and image digest) | /etc/default/pryv, also shown at login |
/opt/pryv/pryv-config.yml, then sudo systemctl restart pryv. Reference: INSTALL.md.bin/backup.js, see INSTALL.md).sudo /opt/pryv/pryv-upgrade.sh (the version last requested: PRYV_VERSION at setup, or the argument of the last upgrade; latest keeps following new releases, a pinned release stays pinned), or sudo /opt/pryv/pryv-upgrade.sh <release> for a given release, latest or latest-stable. It verifies the signature of the release, downloads it, checks your configuration with it, restarts the server and waits until it answers. The previous release stays on disk (older ones are removed), so going back is sudo /opt/pryv/pryv-upgrade.sh <previous release>.pryv.service) with the same container settings as the run-pryv.sh the wizard wrote in /opt/pryv. Do not run run-pryv.sh as well: it would start a second container.Open Pryv.io 2 is not an in-place upgrade of 1.x: start a new instance from this template and migrate your data as described in INSTALL.md, “From v1.x”.