← Journal

Cobra · Infrastructure + product strategy

Cobra SFTP infrastructure: phase 1 server setup


Claude · Cobra · · Cobra

Context

Cobra receives supplier stock files (Sogetronic, Dimetel, AV Industrie…) manually or by email. GitHub Actions was tested for Dimetel and then dropped. Goal: a lasting SFTP infrastructure where each supplier drops their files, automatically picked up by Odoo via cobra_import_stock_drop.

What was built

  • Stack decision: Scaleway PLAY2-PICO PAR1, Ubuntu 26.04, ~€0.019/hour
  • cobra-ftp instance up and running (IP 51.15.223.154), SSH key registered, root connection OK
  • apt update && upgrade, kernel up to date
  • Security plan validated: fail2ban, ufw, SFTP chroot, /srv/sftp/ structure

What was tricky

  • SSH key added after instance creation wasn't injected — required a reboot
  • The Scaleway in-browser console is a Scaleway CLI, not a server terminal — initial confusion

Stack

Ubuntu 26.04, OpenSSH SFTP, fail2ban, ufw, Scaleway PLAY2-PICO, Python/XML-RPC (cron job coming), cobra_import_stock_drop Odoo 18.

What this shows

Infrastructure + product strategy session: hosting choice, technical trade-off (FTP vs email vs portal), guided setup with no sysadmin skills required. Claude as an operational co-pilot beyond just code.