Deploy Kaeso on OVHcloud
Run Kaeso 0.7.0 on an OVHcloud VPS or Public Cloud instance. VPS 2027 plans and pricing, Edge Network Firewall, DNS, SMTP on port 587, backups and updates.
- Published
- Reading time
- 6 min
- Author
- Kaeso Team

OVHcloud offers two ways to run a single Linux server for Kaeso: a VPS (fixed monthly plan, unlimited traffic, IPv4 and IPv6 included) or a Public Cloud instance (hourly billing and cloud-init user data). For most small teams, a VPS is the more predictable choice.
This guide deploys Kaeso 0.7.0 on an OVHcloud VPS — with notes where Public Cloud differs — so you end up with the gateway, console, PostgreSQL, ClickHouse, Valkey, Caddy and the updater running over HTTPS on your domain. For the shared Docker, backup and troubleshooting reference, see the Linux server guide.
What you need01
| Account | An OVHcloud account with access to the OVHcloud Control Panel |
| SSH key | An SSH public key on your machine, such as ~/.ssh/id_ed25519.pub |
| Domain | A domain or subdomain such as kaeso.example.com whose DNS you control |
| Region | A standard OVHcloud data center, not a Local Zone (Local Zones block all outgoing SMTP ports and have no Anti-DDoS) |
| An SMTP server that accepts submission on port 587 with STARTTLS (you can add it after the first login) |
What it costs02
Kaeso itself is open source under the MIT licence; you pay OVHcloud for the server and any optional add-ons. As of November 2026, OVHcloud's VPS 2027 range on ovhcloud.com/en-ie/vps (opens in a new tab) (US pricing at us.ovhcloud.com/vps (opens in a new tab)) includes dedicated IPv4, IPv6, unlimited traffic and a daily backup of the previous 24 hours, with no setup fee. Prices exclude VAT:
- VPS-1
- Resources
- 2 vCores, 4 GB RAM, 40 GB NVMe, 500 Mbps
- No commitment
- €4.49 / month ($5.35)
- 12-month commitment
- €3.81 / month ($4.54)
- VPS-2
- Resources
- 4 vCores, 8 GB RAM, 75 GB NVMe, 1 Gbps
- No commitment
- €8.49 / month ($10.00)
- 12-month commitment
- €7.21 / month ($8.50)
| Plan | Resources | No commitment | 12-month commitment |
|---|---|---|---|
| VPS-1 | 2 vCores, 4 GB RAM, 40 GB NVMe, 500 Mbps | €4.49 / month ($5.35) | €3.81 / month ($4.54) |
| VPS-2 | 4 vCores, 8 GB RAM, 75 GB NVMe, 1 Gbps | €8.49 / month ($10.00) | €7.21 / month ($8.50) |
VPS-1 matches Kaeso's minimum of 2 vCPUs, 4 GB of memory and 20 GB of disk; VPS-2 leaves more headroom for ClickHouse request logs.
If you prefer hourly billing or cloud-init on Public Cloud (public cloud prices (opens in a new tab), EUR excl. VAT), d2-4 (2 vCores, 4 GB RAM, 50 GB disk, positioned for test and development) is €0.0206/hour (€11.44/month), b2-7 (2 vCores, 7 GB RAM, 50 GB SSD) is €0.0709/hour (€25.17/month), and c3-4 (2 vCores, 4 GB RAM) is €0.0457/hour (€28.36/month on a 12-month plan). Prices change; check the provider's page before you order.
1. Order the VPS (or Public Cloud instance)03
In the OVHcloud Control Panel, order a VPS-1 or VPS-2 in a standard data center. Choose Ubuntu 24.04 (or Debian 13 / Ubuntu 26.04). Do not select a Local Zone: OVHcloud's VPS FAQ (opens in a new tab) notes that Local Zones block all outgoing SMTP ports with no option to unblock them and do not include Anti-DDoS.
VPS orders do not have a cloud-init user-data field. When the server is delivered, OVHcloud emails a link with a temporary password for the default user (ubuntu on Ubuntu, debian on Debian; root login is disabled by default). Sign in once to change the password — the session closes immediately after — then copy your SSH key (starting with a VPS (opens in a new tab)):
ssh ubuntu@203.0.113.10ssh-copy-id -i ~/.ssh/id_ed25519.pub ubuntu@203.0.113.10Public Cloud alternative with cloud-init
On OVHcloud Public Cloud, the instance creation wizard has a Post-installation script field (getting started (opens in a new tab)), and OpenStack CLI users can pass --user-data ./kaeso-init.sh (launching a script (opens in a new tab)):
#!/bin/bashset -euo pipefailcurl -fsSL https://kaeso.app/install.sh | sh -s -- --domain kaeso.example.com --dir /opt/kaeso --install-docker2. Configure the Edge Network Firewall04
OVHcloud's Edge Network Firewall (opens in a new tab) sits in OVHcloud's Anti-DDoS infrastructure and drops traffic from outside the OVHcloud network before it reaches the server. Open Network › Public IP Addresses in the Control Panel and configure rules for your server's IP.
Because the Edge Network Firewall is stateless, a deny-all tail rule requires an explicit rule to permit return traffic for outbound connections. Add rules in this order:
- 01Permit TCP Established (so outbound requests to AI providers, package mirrors and SMTP servers receive replies).
- 02Permit inbound TCP port 22 from your own address range (
203.0.113.0/24). - 03Permit inbound TCP port 80 (Let's Encrypt ACME HTTP-01 and redirects).
- 04Permit inbound TCP port 443 (HTTPS).
- 05Permit inbound UDP port 443 (HTTP/3).
- 06Permit ICMP if you want ping diagnostics, then deny remaining inbound traffic.
Do not rely on ufw alone on the server: Docker's own packet-filter rules bypass ufw for published ports. Kaeso publishes only Caddy's ports 80 and 443. See also OVHcloud's securing a VPS guide (opens in a new tab).
3. Point your domain at the server05
Each OVHcloud VPS includes an IPv4 address and an IPv6 address, configured by default on current Linux images (IPv6 on VPS (opens in a new tab)). Create an A record for kaeso.example.com pointing at the IPv4 address and an AAAA record pointing at the IPv6 address, then confirm resolution:
dig +short kaeso.example.comIf you want reverse DNS (PTR) to match your hostname, create the A record first and then set the PTR in the Control Panel (configuring reverse DNS (opens in a new tab)).
4. Install Kaeso06
Sign in as ubuntu (or debian), download and read the installer, and run it with sudo:
curl -fsSL https://kaeso.app/install.sh -o install.shless install.shsudo sh install.sh --domain kaeso.example.com --dir /opt/kaeso --install-dockerRunning with sudo lets the installer install Docker Engine and finish in one pass as root. It downloads the release's compose.yaml into /opt/kaeso, writes .env and master-keys, starts every service with the updater enabled, waits for Caddy's certificate, and prints a one-time setup link. Add --version 0.7.0 to pin this release.
5. Create the first user and save the master key07
Open the setup link within 24 hours to create the first instance admin. To print a new link while no user exists:
cd /opt/kaesosudo docker compose exec gateway kaeso setup-linkCopy /opt/kaeso/master-keys into a password manager, separate from your server backups:
sudo cat /opt/kaeso/master-keys6. Configure outgoing email08
OVHcloud's mail sending guide (opens in a new tab) recommends outgoing port 587 (STARTTLS) across both VPS and Public Cloud (port 25 is blocked by default on Public Cloud, and all SMTP ports are blocked in Local Zones).
Edit /opt/kaeso/.env as described in the Linux server guide to switch KAESO_MAIL_TRANSPORT=smtp and add your SMTP host, credentials and sender address, apply with sudo docker compose up -d --wait, and test:
cd /opt/kaesosudo docker compose exec gateway kaeso mail test owner@example.comIf you also use OVHcloud AI Endpoints (opens in a new tab), you can add its OpenAI-compatible endpoint as a custom provider in the Kaeso console after signing in.
Back up09
Every VPS 2027 plan includes an automated daily backup of the previous 24 hours, with optional Snapshot and Premium backup add-ons available in the Control Panel.
A VM-level backup or snapshot is helpful for restoring a whole machine, but not a replacement for pg_dump: a snapshot taken while PostgreSQL writes may not restore cleanly. Schedule logical PostgreSQL dumps and copy them off the server as shown in the Linux server guide, and keep /opt/kaeso/master-keys somewhere else.
Update to the next release10
Instance admins can update from Instance › Updates in the console, turn on automatic updates in a daily or weekly window, or run sudo sh install.sh --update in /opt/kaeso. See Update to the next release.
Before updating from 0.6 to 0.7, check .env and compose.override.yaml for the three settings 0.7.0 now refuses (KAESO_KPMR_INTERVAL below 5m, KAESO_MCP_SERVERS_SYNC_INTERVAL below 1m, and KAESO_SMTP_USER without KAESO_SMTP_PASSWORD); see the Kaeso 0.7 article.
Troubleshooting11
| What you see | What to do |
|---|---|
| Outgoing SMTP fails with connection refused or timeout | Check that the VPS or instance is not in a Local Zone (Local Zones block all SMTP ports) and that you use port 587 with STARTTLS |
| Outbound HTTPS to AI providers hangs after enabling Edge Network Firewall | The Edge Network Firewall is stateless; add an explicit rule permitting TCP Established traffic before any deny rule |
ssh root@… is rejected | OVHcloud disables root SSH login on VPS images by default; sign in as ubuntu or debian and use sudo |
| Let's Encrypt fails on startup | Confirm A/AAAA DNS records match the VPS IP and TCP 80/443 are permitted in the Edge Network Firewall; inspect sudo docker compose logs caddy |
| ClickHouse restarts on VPS-1 under heavy logging | Move to VPS-2 (8 GB RAM) or turn request logs off (opens in a new tab) |
See Troubleshooting in the Linux server guide for shared Docker and gateway issues.
What was tested12
The OVHcloud steps were checked against OVHcloud's documentation and public order catalogue on 22 November 2026; Kaeso hasn't been installed on OVHcloud for this guide. For the shared Compose package, the 0.7.0 compose.yaml, .env, kaeso config check and first start against PostgreSQL, ClickHouse and Valkey were tested locally, and the 0.6-to-0.7 update path was tested on a Debian server during the 0.7.0 release. If you deploy it there, tell us how it went.
Next steps13
- Deploy Kaeso on a Linux server: backups,
config check, scaling and troubleshooting for Docker Compose installs. - Where to run Kaeso: compare cloud servers, managed platforms and Kubernetes.
- Configuration (opens in a new tab): every environment variable and config-file setting.
Product names in this guide belong to their owners and are used only to name the software and services involved. Kaeso is not affiliated with or endorsed by them.
By Kaeso Team


