2026-8-31
Today is deployment day. To deploy the application, I will be using an e2-micro instance on Google Cloud, with the minimum possible specs. It still costs $7 / month though.
I don’t really know much about deploying infrastructure, just basic Linux experience.
I bought the domain orangishcat.dev two days ago, so I can easily just set an A record to redirect cursedtetris.orangishcat.dev to the VM’s IP.
And after a lot of copy pasting commands into the VM from ChatGPT, I got the SSH configuration working. I hope I didn’t leave any security gaps… I’ve checked everything to the best of my limited knowledge.
But even if someone manages to gain RCE on the VM, they’ve got 2 CPU cores, 1GB of RAM, and limited network egress to work with. I have absolutely no credentials or Google Cloud service accounts or anything configured for the VM. It’s a good failsafe, but I hope RCE never happens.
The basic setup is like this:
- Global game cap per server: 32. (There’s only one server for now)
- Cap per SSH key: 1.
- Cap per public IP address: 2. Two legitimate people on the same WiFi network will fill this cap, but whatever.
- Lease (maximum time from SSH connect -> SSH session started successfully): 30 seconds. This supposedly will prevent any dead connections from filling the global cap.
- Max session time: 6 hours.
I’ve tested both online and offline with all three operating systems. Hopefully nothing goes wrong.
Total time: 3.5 hours