Skip to content

VPS Role Clarification & Cleanup

Originally a decommission checklist. Directive 2026-06-08 (VPS retained in perpetuity) superseded 2026-06-12 by Michael ruling: migrate everything off, delete the GCP project. Final snapshot pulled 2026-06-12 to Z2 /mnt/data/hinata/migration/vps-final/ (full pg_dumpall + service files + crons; DB static since the 2026-06-08 baseline; interim sandpit vps-backup/ copy deleted 2026-06-13 — Z2 snapshot is the sole copy). Delete-ready; project deletion is Michael's action. Open: re-home or retire the api.michael-engineer.dev cloudflared ingress (/events* → VPS collector :8080, /bulma/* → Mac :8081, /weather/* → Mac :8082) — consumers: hinata-studio weather/bulma panels + events-posting scripts.

Cross-ref: reference_z2-service-catalog | reference_jimmy-vps | reference_approved-ip-addresses


Architecture Split

SurfaceHostServices
Public (michael-engineer.dev)Cloudflare Pages (front-end) · jimmy-vps cloudflared tunnel (API only, dies with project deletion)Zuko portfolio front-end deploys via deploy-portfolio.command (wrangler pages deploy) — it does NOT live on the VPS. The VPS tunnel served api.michael-engineer.dev only
Internal (Tailscale-only)Z2 (Proxmox)collector-bulma, collector-events, Postgres (CT100), Telegram (CT106), Studio

Completed Cleanup (Session 42)

Credential cleanup

  • C1: Plaintext VPS password removed from settings.local.json
  • C2: Dead "vps" credential mapping removed from Z2 telegram-bot.py

Variable renames (scripts hitting Z2, not VPS)

  • R1-R2: Z2 bulma-q.pyVPS_*BULMA_* (endpoint was already localhost:8081)
  • R3: poll-monzo.pyVPS_*BULMA_* (now on CT109 bulma-finance; collector LAN address from LXC: 192.168.1.153:8090)
  • R4: poll-trading212.py — same rename
  • R5: Mac bulma-q.py — same rename

Dead code removal

  • A1-A4: Z2 telegram-bot.py VPS credential mapping removed, .bak files deleted
  • data/jimmy-vps-bulma-deployed.json — dead deployment artifact deleted

Comment updates

  • weather-poller.py — "jimmy-vps Postgres" → "Z2 Postgres" (data goes to Z2)

NOT changed (correctly references VPS)

Scripts and docs that reference jimmy-vps as the host for michael-engineer.dev remain unchanged. Only Zuko's portfolio recruiter front-end remains on the VPS edge; remaining VPS services are migrating to Z2 under task 800145 (in progress).

  • Application context files (trunks-scout, shikamaru-geography)
  • API/endpoint documentation referencing michael-engineer.dev