---
title: Deploy Kaeso on OVHcloud
description: "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."
url: https://kaeso.app/articles/deploy-kaeso-on-ovhcloud
markdown: https://kaeso.app/articles/deploy-kaeso-on-ovhcloud.md
language: en
alternates:
  de: https://kaeso.app/de/articles/deploy-kaeso-on-ovhcloud.md
  zh-CN: https://kaeso.app/zh-CN/articles/deploy-kaeso-on-ovhcloud.md
published: 2026-11-22
authors:
  - Kaeso Team
tags:
  - self-hosting
  - ovhcloud
  - deployment
  - guide
image: https://kaeso.app/articles/deploy-kaeso-on-ovhcloud/cover.jpg
index: https://kaeso.app/llms.txt
---

# 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.

> Every page, article and docs page of Kaeso is listed in https://kaeso.app/llms.txt.

- Published: 22 November 2026
- 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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server).

## What you need

| | |
| --- | --- |
| 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) |
| Email | An SMTP server that accepts submission on port 587 with STARTTLS (you can add it after the first login) |

## What it costs

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](https://www.ovhcloud.com/en-ie/vps/) (US pricing at [us.ovhcloud.com/vps](https://us.ovhcloud.com/vps/)) includes dedicated IPv4, IPv6, unlimited traffic and a daily backup of the previous 24 hours, with no setup fee. Prices exclude VAT:

| 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](https://www.ovhcloud.com/en-ie/public-cloud/prices/), 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)

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](https://docs.ovhcloud.com/en/guides/bare-metal-cloud/virtual-private-servers/vps-faq) 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](https://docs.ovhcloud.com/en/guides/bare-metal-cloud/virtual-private-servers/starting-with-a-vps)):

```bash
ssh ubuntu@203.0.113.10
ssh-copy-id -i ~/.ssh/id_ed25519.pub ubuntu@203.0.113.10
```

### Public Cloud alternative with cloud-init

On OVHcloud Public Cloud, the instance creation wizard has a **Post-installation script** field ([getting started](https://docs.ovhcloud.com/en/guides/public-cloud/compute/getting-started)), and OpenStack CLI users can pass `--user-data ./kaeso-init.sh` ([launching a script](https://docs.ovhcloud.com/en/guides/public-cloud/compute/launching-script-when-creating-instance)):

```bash
#!/bin/bash
set -euo pipefail
curl -fsSL https://kaeso.app/install.sh | sh -s -- --domain kaeso.example.com --dir /opt/kaeso --install-docker
```

## 2. Configure the Edge Network Firewall

OVHcloud's [Edge Network Firewall](https://docs.ovhcloud.com/en/guides/bare-metal-cloud/dedicated-servers/firewall-network) 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:

1. Permit TCP **Established** (so outbound requests to AI providers, package mirrors and SMTP servers receive replies).
2. Permit inbound TCP port **22** from your own address range (`203.0.113.0/24`).
3. Permit inbound TCP port **80** (Let's Encrypt ACME HTTP-01 and redirects).
4. Permit inbound TCP port **443** (HTTPS).
5. Permit inbound UDP port **443** (HTTP/3).
6. Permit 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](https://docs.ovhcloud.com/en/guides/bare-metal-cloud/virtual-private-servers/secure-your-vps).

## 3. Point your domain at the server

Each OVHcloud VPS includes an IPv4 address and an IPv6 address, configured by default on current Linux images ([IPv6 on VPS](https://docs.ovhcloud.com/en/guides/bare-metal-cloud/virtual-private-servers/configure-ipv6)). 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:

```bash
dig +short kaeso.example.com
```

If 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](https://docs.ovhcloud.com/en/guides/bare-metal-cloud/virtual-private-servers/configuring-reverse-dns)).

## 4. Install Kaeso

Sign in as `ubuntu` (or `debian`), download and read the installer, and run it with `sudo`:

```bash
curl -fsSL https://kaeso.app/install.sh -o install.sh
less install.sh
sudo sh install.sh --domain kaeso.example.com --dir /opt/kaeso --install-docker
```

Running 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 key

Open the setup link within 24 hours to create the first instance admin. To print a new link while no user exists:

```bash
cd /opt/kaeso
sudo docker compose exec gateway kaeso setup-link
```

Copy `/opt/kaeso/master-keys` into a password manager, separate from your server backups:

```bash
sudo cat /opt/kaeso/master-keys
```

## 6. Configure outgoing email

OVHcloud's [mail sending guide](https://docs.ovhcloud.com/en/guides/bare-metal-cloud/dedicated-servers/mail-sending-optimization) 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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#5-add-your-smtp-server) 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:

```bash
cd /opt/kaeso
sudo docker compose exec gateway kaeso mail test owner@example.com
```

If you also use [OVHcloud AI Endpoints](https://www.ovhcloud.com/en-ie/public-cloud/ai-endpoints/), you can add its OpenAI-compatible endpoint as a custom provider in the Kaeso console after signing in.

## Back up

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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#back-up-the-volumes), and keep `/opt/kaeso/master-keys` somewhere else.

## Update to the next release

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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#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](https://kaeso.app/articles/kaeso-0-7).

## Troubleshooting

| 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](https://docs.kaeso.app/self-hosting/installation#turn-request-logs-off) |

See [Troubleshooting](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#troubleshooting) in the Linux server guide for shared Docker and gateway issues.

## What was tested

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](https://kaeso.app/contact) how it went.

## Next steps

- [Deploy Kaeso on a Linux server](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server): backups, `config check`, scaling and troubleshooting for Docker Compose installs.
- [Where to run Kaeso](https://kaeso.app/articles/where-to-run-kaeso): compare cloud servers, managed platforms and Kubernetes.
- [Configuration](https://docs.kaeso.app/self-hosting/configuration): 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

## More articles

- [Deploy Kaeso on Hetzner Cloud](https://kaeso.app/articles/deploy-kaeso-on-hetzner-cloud.md): Run Kaeso 0.7.0 on a Hetzner Cloud server using hcloud or the Hetzner Console. Plans and stock, Cloud Firewall rules, cloud-init, DNS, SMTP on port 587, backups and updates.
- [Deploy Kaeso on Scaleway](https://kaeso.app/articles/deploy-kaeso-on-scaleway.md): Run Kaeso 0.7.0 on a Scaleway Instance using the scw CLI or the Console. Plans, Flexible IPv4, stateful security groups, cloud-init, enabling SMTP, backups and updates.

[See all articles](https://kaeso.app/articles.md)

## Own the gateway. Own the record

```bash
curl -fsSL https://kaeso.app/install.sh | sh
```

[Install Kaeso](https://docs.kaeso.app/self-hosting/installation) · [Open the live demo](https://demo.kaeso.app)
