Step A — Rent a VPS (5 min, ~€4/month)
Hetzner Cloud is the cheapest good option (https://console.hetzner.cloud):
-
Create project → Add Server
-
Location: pick one near you
-
Image: Ubuntu 24.04
-
Type: CX22 (2 vCPU, 4 GB) — plenty
-
Add your SSH key, or note the root password they email you
-
Create → copy the IPv4 address
DigitalOcean or Vultr work identically at ~$6/mo if you prefer.
Step B — Free hostname (5 min)
HTTPS needs a real hostname. duckdns.org (https://www.duckdns.org) is free:
-
Sign in with GitHub
-
Type a subdomain, e.g. yixuan-ctf → add domain
-
Paste your server’s IPv4 into the current ip box → update ip
You now own yixuan-ctf.duckdns.org. Verify it resolves before continuing:
ping -c1 yixuan-ctf.duckdns.org # must show your server’s IP
⚠️ Don’t skip this check. Caddy asks Let’s Encrypt for a certificate, and that fails if DNS isn’t pointing at the server yet.
Step C — One command on the server
ssh root@
git clone https://github.com/yixuan1112-coder/CTF-generation-AI-agent
cd CTF-generation-AI-agent
sudo bash deploy/bootstrap.sh yixuan-ctf.duckdns.org your@email.com
Takes ~5 minutes. Installs Docker, Python, both images, systemd, and Caddy with automatic HTTPS.
Step D — Check before telling anyone
The script ends with a report. It must say docker:
arena service : active
agent sandbox : docker / strong
maker : docker / network: none
deployed 0c3e319 on default branch
If the sandbox line says anything else, the script prints a loud warning — don’t accept public submissions in that state.
Then open https://yixuan-ctf.duckdns.org — leaderboard, /library, /submit, /docs, all on HTTPS.
Comment to Unlock
Sign in with GitHub, leave a comment below, then verify it to unlock this post.
Sign in with GitHub