Dev log #1: Surviving the open web

March 1, 2025
1 min read

I noticed my vps cpu usage reaching 200% utilization yet I did not run any new services. It seems to be from multiple failed ssh attempts from bots across the web. Here are some logs about the authentication attempts:

bg2-surviving.png

35 entries in the last 1 hour--I have been logged in within that hour. Something's up. Bots. Now I need a better firewall.


inefficiency kills

I belong to a campus organizarion called Change++ that develops software for nonprofits. We are making a mentor-mentee management system for one of our clients. What you see below is me trying to run the api of the app on my 2gb memory and 2vcpu server. It hogs all my memory and cpu. Admittedly, I have a remote vscode session running as well. It's high time I switched to vim to save some resources.

bg2-inefficiency.png


The great migration

Seems my VPS was a bit too small for my needs so now we're migrating to a new setup. We have this beefed up upgrade :

  • 1vcpu >>> 4vcpu
  • 2gb memory >>> 8gb
  • $4.99 >> $6.99

Since I hadn't gone very far with my setup, I'll just use rsync for everything. Here's that command:

bg2-migration.png

New project

Over the next 2 weeks(hopefully), I will be working on HackIdea. HackIdea is a platform dedicated to generating awesome hackathon ideas. I am starting this project inorder to:

- learn NextJS
- learn how to finetune a model


Tools

New tools

  • pm2
  • fail2ban
🔔 Subscribe for more
Want to know when I post a new article? Follow me on Twitter