Words you will meet, and the values you will create
5. Words you will meet
Section titled “5. Words you will meet”| Word | Meaning |
|---|---|
| Box / server | The Lightsail 2 GB instance. |
| SSH / terminal | A text window where you type commands to the box. |
| sudo | Run a command as administrator. |
| systemd / systemctl | Starts programs when the box starts and restarts them if they crash. |
| Port | A numbered door: 22 SSH, 8080 hub, 8787 research service. |
| 127.0.0.1 | This same computer only; not reachable from the internet. |
| Unix socket | A file that two programs on the same box use to talk, instead of a network port. |
| Env file | A text file of NAME=value settings read by a service. Secrets live here, readable by root only. |
| Tunnel / cloudflared | The outbound-only connection between the box and Cloudflare. |
| Zero Trust | Cloudflare’s dashboard area where tunnels and Access are managed. Free plan. |
| WAF | Web Application Firewall: Cloudflare rules that block requests by pattern. |
| Durable Object | The Cloudflare feature the Worker used for storage; the adapter imitates it. |
| Migration (database) | Creating or changing tables. Done by a script, in order, never by hand in production. |
| Tailscale | A private network between your devices, used for SSH. |
| Tag (Tailscale) | A label on a machine that the Tailscale access rules refer to. |
| Access rules (ACL) | The Tailscale policy that says which machine may open which port on which other machine. |
| Passphrase (SSH key) | A password that protects the private key file itself. |
| ADR | Architecture decision record: a short page that records one decision and why. |
| Hostname | The public name, such as app.bideward.com. One hostname per kind of caller. |
| OIDC | OpenID Connect: the standard way one sign-in service tells other products who the user is. |
6. Before you start: accounts and the values you will create
Section titled “6. Before you start: accounts and the values you will create”- Lightsail console access (the 2 GB Malaysia instance), and a computer with a terminal.
- Cloudflare account that already manages bideward.com, with two-factor sign-in switched on.
- GitHub access to thankgodikari/bot-stats-server and thankgodikari/crashgame.
- A Tailscale account (free), Tailscale running on your own computer, and the SSH key you already use for the 2 GB box (the Lightsail key pair). No new key is needed (A.7).
- Your Google account with the existing Apps Script backup and Drive folder crashgame (used for the Drive copy).
- A password manager or an offline notebook for secrets. Not a chat, not a screenshot, not a shared document.
- About 3 hours for Parts A to D and F (undisturbed), then Claude Code time for Part E, then about 2 hours for Parts G to I.
| Name | What it is | Where it is used | Your value (keep private) |
|---|---|---|---|
| TUNNEL_TOKEN | Made by Cloudflare in D.3 | /etc/bideward/cloudflared.env | |
| DASHBOARD_KEY | The existing X-Titan-Key bots send | hub env, Cloudflare rule, loaders | |
| DASHBOARD_OWNER_USER / _PASSWORD | Creates the owner account on first start | hub env | |
| CONTROL_PASSWORD | Existing owner-only control password | set in the dashboard, not in env | |
| DB roles passwords | Not needed: Unix socket, no passwords | none | |
| RESEARCH_TOKEN | Secret between hub and research service | both env files | |
| GITHUB_TOKEN | Read-only token the hub uses to read the private script repository | hub env | |
| TELEGRAM_BOT_TOKEN / CHAT_ID | Existing alerts | hub env | |
| BACKUP_URL / BACKUP_TOKEN | Existing Apps Script backup | hub env | |
| Tailscale IP of the box | 100.x.y.z | your SSH command |
← Previous: Security design and speed design · Guide index · Next: The plan at a glance →