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

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

> 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

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

## What you need

| | |
| --- | --- |
| Account | A Scaleway account; **identity verification (KYC)** is required before Scaleway allows outgoing SMTP |
| CLI (optional) | The [`scw`](https://github.com/scaleway/scaleway-cli/blob/master/docs/commands/instance.md) 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 |
| Email | An SMTP server on port 587 with STARTTLS (you can start with log transport and enable SMTP later) |

## What it costs

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](https://www.scaleway.com/en/pricing/virtual-instances/) (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**:

| 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](https://www.scaleway.com/en/pricing/network/)). 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](https://www.scaleway.com/en/docs/instances/reference-content/choosing-instance-type/). Prices change; check the provider's page before you order.

## 1. Create a stateful security group

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](https://www.scaleway.com/en/docs/instances/how-to/use-security-groups/)). Create a dedicated **stateful** security group for Kaeso with inbound default `drop` and outbound default `accept`:

```bash
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/24
scw 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/0
scw 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/0
scw 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/0
```

Replace `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 Instance

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):

```bash
scw instance server create \
  type=DEV1-M \
  zone=fr-par-1 \
  image=ubuntu_noble \
  ip=new \
  security-group-id="$SG_ID" \
  name=kaeso
```

For `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):

```bash
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=kaeso
```

### Optional: install automatically with cloud-init

All Linux OS images provided by Scaleway include cloud-init and accept plain-text user data ([using cloud-init](https://www.scaleway.com/en/docs/instances/how-to/use-cloud-init/)). Write `kaeso-init.sh`:

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

Pass `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 Instance

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:

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

## 4. Install Kaeso

If you did not use cloud-init, connect over SSH as `root` ([connecting to an Instance](https://www.scaleway.com/en/docs/instances/how-to/connect-to-instance/)), read the installer, and run it:

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

The 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 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
docker compose exec gateway kaeso setup-link
```

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

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

## 6. Enable outgoing SMTP

Scaleway blocks remote SMTP ports **25, 465 and 587** by default on Instances ([sending emails from an Instance](https://www.scaleway.com/en/docs/instances/how-to/send-emails-from-your-instance/)). Until SMTP is enabled, Kaeso runs with `KAESO_MAIL_TRANSPORT=log` and writes emails only to the gateway log.

To send email from Kaeso:

1. Complete Scaleway's identity verification (KYC) in your organization settings — accounts with only a validated payment method cannot enable SMTP ([organization quotas](https://www.scaleway.com/en/docs/organizations-and-projects/organization/organization-quotas/)).
2. In the Scaleway Console, open **Instances** › **Security groups**, select your `kaeso` security group, and tick **Enable SMTP** (or pass `enable-default-security=false` via `scw`).
3. Add your SMTP server settings to `/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), apply with `docker compose up -d --wait`, and test:

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

Note 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](https://www.scaleway.com/en/generative-apis/), you can add its OpenAI-compatible endpoint as a custom provider in the Kaeso console.

## Back up

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](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 maintenance window, or run `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 |
| --- | --- |
| `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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#troubleshooting) in the Linux server guide for shared Docker, memory and setup-link issues.

## What was tested

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](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 OVHcloud](https://kaeso.app/articles/deploy-kaeso-on-ovhcloud.md): 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.
- [Deploy Kaeso on Oracle Cloud Infrastructure](https://kaeso.app/articles/deploy-kaeso-on-oracle-cloud.md): Run Kaeso 0.7.0 on an OCI Ampere A1 Arm VM within Oracle's Always Free allowance. Current 2 OCPU / 12 GB limits, security lists, iptables without UFW, DNS, 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)
