Infrastructure/VM cluster

From Open Food Facts wiki
Revision as of 17:51, 13 January 2021 by Charlesnepote (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Open Food Facts uses a cluster to host different virtual machines (VM).

The cluster is made of 4 physical machines: ovh1, ovh2, ovh3, ovh4.

Usage guidelines (to be completed)

Here is a few guides to follow for all new virtual machines:

  1. MUST: no direct root access without SSH key
  2. MUST: indirect root access with sudo, only with SSH connexion
  3. SHOULD: use SSH keys published on Github: giving access to a server is then simple and secure:
    curl https://github.com/CharlesNepote.keys | tee -a /home/charles/.ssh/authorized_keys
  4. SHOULD: take care of production resources: use "nice" for scripts manually launched. Stéphane's tip: just use
    nice ./mycommand -arg1 foo -arg2 bar
    (nice default to lower the priority).