What you’ll need
- A Hetzner Cloud account
- A domain name (optional, but recommended for HTTPS)
1. Create a server
- Open the Hetzner Cloud Console
- Click Add Server
- Choose a location close to your users
- Select Ubuntu 24.04 as the OS image
- Pick the CX22 type (2 vCPU / 4 GB RAM, ~€4/mo) — more than enough for Fleet
- Add your SSH key
- Click Create & Buy Now
2. SSH into the server
3. Install Docker
4. Clone and start Fleet
3000.
5. Configure the firewall
In the Hetzner Cloud Console, go to your server → Networking → Firewalls → Create Firewall:| Direction | Protocol | Port | Source |
|---|---|---|---|
| Inbound | TCP | 22 | Your IP |
| Inbound | TCP | 80 | Any |
| Inbound | TCP | 443 | Any |
6. Point a domain (optional)
Create an A record in your DNS provider pointing to your server’s IP.7. Add HTTPS with nginx + Certbot
/etc/nginx/sites-available/fleet:
Updating Fleet
IPv6
Hetzner servers include IPv6 by default. If you want Fleet accessible over IPv6, add aAAAA DNS record pointing to your server’s IPv6 address. Make sure nginx is also listening on IPv6 — the default Ubuntu nginx config includes listen [::]:80 out of the box.
