Ask HN: What do you run on a $5 VPS that's worth keeping online 24/7?
Community Insights: Maximizing a $5/Month VPS
The Core Question: "What do you run on a $5 VPS that's worth keeping online 24/7?"
When you have a limited budget—specifically the industry-standard $5/month tier—the challenge becomes a game of resource optimization. The community consensus is that while you can't host a high-traffic enterprise app, you can create a powerful, personalized "digital Swiss Army Knife."
🛠️ The "Swiss Army Knife" Architecture
Most users don't run a single application; instead, they utilize containerization to stack multiple lightweight services. The goal is to maximize the utility of every megabyte of RAM.
🚀 High-Value Services
The following table breaks down the most common deployments and their primary utility:
| Service Category | Popular Software | Primary Use Case | Resource Impact |
|---|---|---|---|
| Privacy | WireGuard, OpenVPN | Secure tunneling & bypassing geo-blocks | Low |
| Security | Vaultwarden | Self-hosted Bitwarden compatible passwords | Medium |
| Monitoring | Uptime Kuma | Tracking website/service availability | Low |
| Knowledge | Wiki.js, Obsidian | Personal documentation and notes | Medium |
| Automation | n8n, Custom Python | Telegram/Discord bots & cron jobs | Medium |
| Web | Ghost, Hugo | Minimalist blogs or portfolios | Low/Medium |
🔍 Detailed Breakdown of Use Cases
1. Networking and Privacy
Many users prioritize a VPN. By running WireGuard, you ensure that your mobile traffic is encrypted and routed through a trusted IP. Some also deploy Pi-hole or AdGuard Home to handle DNS-level ad blocking for all their devices.
2. The "Set and Forget" Utilities
There is a strong preference for tools that provide passive value:
- Vaultwarden: A lightweight implementation of Bitwarden. It's often cited as the single most valuable service because it removes reliance on third-party password managers.
- Uptime Kuma: A fancy monitoring tool that pings your other services and alerts you via Telegram or Discord if something crashes.
3. Automation and Botting
The $5 VPS is the perfect home for scripts that must run 24/7.
- Example: A Python script that scrapes a price and sends a notification.
- Example: A Discord bot managing a small community.
4. Personal Knowledge Bases
While some use Notion, power users prefer hosting their own. Using Wiki.js or a synced Obsidian vault allows for total data sovereignty.
📉 The Technical Constraints
The primary bottleneck is almost always RAM. To combat this, users employ several strategies:
- Swap Files: Creating a virtual memory area on the SSD to prevent
Out of Memory (OOM)kills. - Alpine Linux: Using ultra-lightweight Docker images.
- Reverse Proxies: Using
CaddyorNginx Proxy Managerto handle SSL certificates via Let's Encrypt.
The Cost-Efficiency Formula
We can represent the value of a VPS as the ratio of services provided to the monthly cost:
Where is the number of services and is the perceived value of each. As increases, the cost per service .
💻 Implementation Example
Most of these setups are managed via docker-compose. Here is a simplified example of how a user might define their stack:
version: '3'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
environment:
- SIGNUPS_ALLOWED=false
volumes:
- ./vw-data:/data
ports:
- 8080:80
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
restart: always
volumes:
- ./kuma-data:/app/data
ports:
- 3001:3001
⚠️ Common Pitfalls
Running a full-scale Minecraft server Too much RAM required.
Hosting a high-traffic WordPress site Better to use static site generators.
Running an unpatched email server Nightmare for deliverability and security.
📋 Deployment Checklist
- Setup SSH keys (Disable password login)
- Configure a basic firewall (
ufworiptables) - Install Docker and Docker Compose
- Setup a Reverse Proxy for HTTPS
- Configure automated backups to an external S3 bucket
In summary, the $5 VPS is less about raw power and more about ownership. It provides a sandbox for learning, a vault for secrets, and a reliable anchor for the small scripts that make digital life easier.