Security › Disk encryption

Disk encryption

For IT leads and admins2 min read

The installer doesn't encrypt your server's disk. Do it before you install, and plan how the server unlocks after a reboot.

On this page
  1. The short version
  2. Why it matters
  3. Dedicated server (OVHcloud Rise or similar)
  4. Cloud server
  5. Then run the installer

The short version

  • Not on by default. The installer doesn't encrypt the disk, and the recommended OVHcloud Rise steps don't either.
  • Encrypt before you install. Everything Operation Kit stores lives under one folder, /opt/operationkit by default, so one encrypted volume covers it all.
  • Plan the reboot. An encrypted disk has to be unlocked every time the server starts.
  • Know what it protects. Drives that leave the data centre and a powered-off server. Not a running server someone has broken into.

Why it matters

Apart from secrets and off-site backups, the data Operation Kit keeps is stored as plain files: bot conversations, job transcripts, the knowledge base and the database. The recommended OVHcloud Rise setup mirrors the drives with software RAID, which protects against a dead drive but is not encryption.

Disk encryption protects drives that are replaced, reused or leave the data centre, and a server that is switched off. Once the server is running and unlocked, anyone who gets in can read the data, so disk encryption is one layer next to the others in the Security model.

Do this first

Encrypting a disk usually means reinstalling the operating system. Do it on a fresh server, before you run the Operation Kit installer.

Dedicated server (OVHcloud Rise or similar)

  1. Install Ubuntu 24.04 with encryption

    Use LUKS full-disk encryption, which Ubuntu's installer calls "encrypted LVM". At minimum, put /opt/operationkit and swap on a LUKS-encrypted volume.

  2. No encryption option? Install Ubuntu yourself

    If the provider's standard install screen can't encrypt, boot the server into the provider's rescue mode, or use its remote console (KVM or IPMI), and install Ubuntu from there.

  3. Plan how it unlocks after a reboot

    Pick one way and test it before you rely on it:

    • Remote console: type the passphrase in the provider's KVM or IPMI console after each restart.
    • Remote unlock over SSH at boot: for example with dropbear-initramfs, which lets you SSH in and enter the passphrase before the system starts.
    • Network-bound unlock: Clevis and Tang unlock the disk automatically while the server can reach a key server you run elsewhere.

    Don't keep the key or passphrase on the same disk. That defeats the point.

Cloud server

Use the provider's encrypted volumes where they are offered, for example encrypted EBS volumes on AWS. Check that the boot disk is covered too, not only extra data volumes, and that /opt/operationkit sits on an encrypted volume.

Then run the installer

Run the installer as normal: Run the installer. Everything Operation Kit stores lives under INSTALL_DIR, which is /opt/operationkit unless you change it in client.conf. With that folder on an encrypted volume, the database, files, job work folders, secrets and local backups are all covered.

Off-site backups are encrypted separately before they leave the server, so they are protected whether or not the disk is. See Running your server.

Last checked against Operation Kit main (f504a64), 11 Nov 2026Suggest an edit