Deploy Kaeso on Scaleway
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.
- Published
- Reading time
- 6 min
- Author
- Kaeso Team

Scaleway Instances run Linux virtual machines in Paris (fr-par), Amsterdam (nl-ams), Warsaw (pl-waw) and Milan (it-mil), with hourly billing, built-in cloud-init support and both x86_64 and Ampere arm64 server types. Kaeso's Docker Compose package runs on either architecture.
Two Scaleway details matter before you start: public IPv4 addresses and storage are billed separately from instance compute, and Scaleway blocks outgoing SMTP ports until you complete identity verification and tick Enable SMTP on your security group. This guide covers every step for Kaeso 0.7.0; for shared Docker, backup and troubleshooting details, see the Linux server guide.
What you need01
| Account | A Scaleway account; identity verification (KYC) is required before Scaleway allows outgoing SMTP |
| CLI (optional) | The scw (opens in a new tab) CLI configured with scw init, or use the Scaleway Console |
| SSH key | An SSH public key added to your Scaleway project |
| Domain | A domain or subdomain such as kaeso.example.com whose DNS you control |
| An SMTP server on port 587 with STARTTLS (you can start with log transport and enable SMTP later) |
What it costs02
Kaeso itself is open source under the MIT licence; you pay Scaleway for compute, storage and an attached IPv4 address. As of November 2026, list prices on scaleway.com/en/pricing/virtual-instances (opens in a new tab) (EUR excl. tax; monthly estimates assume 730 hours) include egress traffic and IPv6, while storage (local or Block Storage) and attached public IPv4 addresses are billed separately:
- DEV1-M
- Architecture and storage
x86_64, local disk up to 40 GB- Resources
- 3 vCPU, 4 GB RAM, 300 Mbps
- Compute price (excl. tax)
- €0.0202/h (~€14.74/month)
- BASIC2-A2C-4G
- Architecture and storage
arm64(Ampere Altra), Block Storage only- Resources
- 2 vCPU, 4 GB RAM, 200 Mbps
- Compute price (excl. tax)
- €0.023/h (~€16.79/month)
- PLAY2-NANO
- Architecture and storage
x86_64, Block Storage only- Resources
- 2 vCPU, 4 GB RAM, 200 Mbps
- Compute price (excl. tax)
- €0.02754/h (~€20.10/month)
- PRO2-XXS
- Architecture and storage
x86_64, Block Storage only- Resources
- 2 vCPU, 8 GB RAM, 350 Mbps
- Compute price (excl. tax)
- €0.0561/h (~€40.95/month)
| Instance type | Architecture and storage | Resources | Compute price (excl. tax) |
|---|---|---|---|
| DEV1-M | x86_64, local disk up to 40 GB | 3 vCPU, 4 GB RAM, 300 Mbps | €0.0202/h (~€14.74/month) |
| BASIC2-A2C-4G | arm64 (Ampere Altra), Block Storage only | 2 vCPU, 4 GB RAM, 200 Mbps | €0.023/h (~€16.79/month) |
| PLAY2-NANO | x86_64, Block Storage only | 2 vCPU, 4 GB RAM, 200 Mbps | €0.02754/h (~€20.10/month) |
| PRO2-XXS | x86_64, Block Storage only | 2 vCPU, 8 GB RAM, 350 Mbps | €0.0561/h (~€40.95/month) |
An attached public IPv4 address adds €0.005/hour (~€3.65/month excl. tax; network pricing (opens in a new tab)). Block Storage (required for BASIC2, PLAY2 and PRO2 types; optional for DEV1-M) is billed per GB on top — check Scaleway's current Block Storage pricing in the Console or on the pricing page. Not every instance type is available in every zone; run scw instance server-type list zone=fr-par-1 (or your chosen zone) and see choosing an instance type (opens in a new tab). Prices change; check the provider's page before you order.
1. Create a stateful security group03
The default security group that Scaleway creates automatically in a zone is stateless and does not allow return traffic unless you switch it to stateful mode (using security groups (opens in a new tab)). Create a dedicated stateful security group for Kaeso with inbound default drop and outbound default accept:
SG_ID=$(scw instance security-group create \ zone=fr-par-1 \ name=kaeso \ stateful=true \ inbound-default-policy=drop \ outbound-default-policy=accept \ enable-default-security=true \ -o template='{{ .ID }}') scw instance security-group-rule create zone=fr-par-1 security-group-id="$SG_ID" direction=inbound action=accept protocol=TCP dest-port-from=22 ip-range=203.0.113.0/24scw instance security-group-rule create zone=fr-par-1 security-group-id="$SG_ID" direction=inbound action=accept protocol=TCP dest-port-from=80 ip-range=0.0.0.0/0scw instance security-group-rule create zone=fr-par-1 security-group-id="$SG_ID" direction=inbound action=accept protocol=TCP dest-port-from=443 ip-range=0.0.0.0/0scw instance security-group-rule create zone=fr-par-1 security-group-id="$SG_ID" direction=inbound action=accept protocol=UDP dest-port-from=443 ip-range=0.0.0.0/0Replace 203.0.113.0/24 with your own address range, and add equivalent IPv6 rules if you publish an AAAA record. In the Scaleway Console, create the same stateful group under Instances › Security groups.
2. Create the Instance04
Create an Instance with ubuntu_noble (Ubuntu 24.04 — scw still defaults to ubuntu_jammy, so pass image= explicitly; debian_trixie and ubuntu_resolute are also available).
For DEV1-M (local disk):
scw instance server create \ type=DEV1-M \ zone=fr-par-1 \ image=ubuntu_noble \ ip=new \ security-group-id="$SG_ID" \ name=kaesoFor BASIC2-A2C-4G (arm64), PLAY2-NANO or PRO2-XXS, attach a Block Storage root volume (at least 20 GB; 40 GB leaves room for images and logs):
scw instance server create \ type=BASIC2-A2C-4G \ zone=fr-par-1 \ image=ubuntu_noble \ root-volume=sbs:40GB \ ip=new \ security-group-id="$SG_ID" \ name=kaesoOptional: install automatically with cloud-init
All Linux OS images provided by Scaleway include cloud-init and accept plain-text user data (using cloud-init (opens in a new tab)). Write kaeso-init.sh:
#!/bin/bashset -euo pipefailcurl -fsSL https://kaeso.app/install.sh | sh -s -- --domain kaeso.example.com --dir /opt/kaeso --install-dockerPass cloud-init=@kaeso-init.sh to scw instance server create (or paste it into the Console's cloud-init field). If the DNS record is not pointing at the new IP yet, Caddy retries Let's Encrypt once you add it.
3. Point your domain at the Instance05
Find the Instance's public IPv4 address (and IPv6 address if enabled) in the Console or with scw instance server list zone=fr-par-1. Create an A record for kaeso.example.com and verify it resolves:
dig +short kaeso.example.com4. Install Kaeso06
If you did not use cloud-init, connect over SSH as root (connecting to an Instance (opens in a new tab)), read the installer, and run it:
ssh root@203.0.113.10curl -fsSL https://kaeso.app/install.sh -o install.shless install.shsh install.sh --domain kaeso.example.com --dir /opt/kaeso --install-dockerThe installer installs Docker Engine, writes /opt/kaeso/compose.yaml, .env and master-keys, starts every service with the updater enabled, waits for Caddy's certificate, and prints the 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/kaesodocker compose exec gateway kaeso setup-linkSave /opt/kaeso/master-keys into a password manager, separate from your server backups:
cat /opt/kaeso/master-keys6. Enable outgoing SMTP08
Scaleway blocks remote SMTP ports 25, 465 and 587 by default on Instances (sending emails from an Instance (opens in a new tab)). Until SMTP is enabled, Kaeso runs with KAESO_MAIL_TRANSPORT=log and writes emails only to the gateway log.
To send email from Kaeso:
- 01Complete Scaleway's identity verification (KYC) in your organization settings — accounts with only a validated payment method cannot enable SMTP (organization quotas (opens in a new tab)).
- 02In the Scaleway Console, open Instances › Security groups, select your
kaesosecurity group, and tick Enable SMTP (or passenable-default-security=falseviascw). - 03Add your SMTP server settings to
/opt/kaeso/.envas described in the Linux server guide, apply withdocker compose up -d --wait, and test:
cd /opt/kaesodocker compose exec gateway kaeso mail test owner@example.comNote that Scaleway's own Transactional Email SMTP endpoint also requires SMTP to be enabled on the Instance's security group. If you use Scaleway Generative APIs (opens in a new tab), you can add its OpenAI-compatible endpoint as a custom provider in the Kaeso console.
Back up09
Scaleway supports volume snapshots in the Console and CLI for both local and Block Storage volumes. A volume snapshot is a useful recovery point, but not a replacement for pg_dump: a snapshot taken while PostgreSQL writes may not restore cleanly. Schedule daily PostgreSQL dumps 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 maintenance window, or run 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 |
|---|---|
kaeso mail test times out on port 587 | Scaleway blocks ports 25, 465 and 587 by default; complete identity verification (KYC) and tick Enable SMTP on the Instance's security group |
| Outbound HTTPS requests hang on a new Instance | The auto-created default security group is stateless; move the Instance to a stateful security group |
| Instance type is unavailable in your zone | Not every type exists in every zone (for example BASIC2-A2C-4G is not listed in pl-waw-1); check with scw instance server-type list zone=<zone> |
scw instance server create fails without a disk on PLAY2/BASIC2 | Those types have no local storage; add root-volume=sbs:40GB |
| Let's Encrypt fails on startup | Confirm your DNS record matches the Instance's Flexible IPv4 and that TCP 80 and 443 are accepted in the security group; inspect docker compose logs caddy |
See Troubleshooting in the Linux server guide for shared Docker, memory and setup-link issues.
What was tested12
The Scaleway steps were checked against Scaleway's documentation, scaleway-cli command specs and public Instance APIs on 22 November 2026; Kaeso hasn't been installed on Scaleway 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


