Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Running prod without cloud? What's your setup?
22 points by systemvoltage on Feb 13, 2023 | hide | past | favorite | 12 comments



A client of mine is setup using normally 7 Linode VMs..

Due to ahem.. "issues" related to a network change in the DC, that's going to balloon out to around 10 or 12 for a little while, then shrink back down.

- 2x load balancers (1 is active for public traffic; backup for private traffic; 1 is active for private traffic; backup for public traffic);

- 3x DB cluster nodes (currently at 5 due to aforementioned issues);

- 2x Web/App nodes

Currently planning to adapt this into 3 distinct sites with simpler 1x web/app + 1x db per-site to move the redundancy point out to specific DCs rather than to individual roles within a single DC.


I run many different web apps off a single VPS, a Linode with Debian. Deployment is pushing to a git repo on the server, which has a hook that simply kills the server. Supervisord ensures apps are restarted automatically. Caddy proxies everything based on domain.

Litestream backs up the databases automatically to S3 compatible storage, and linode offers automatic snapshots of the VPS.

My deployment process is git push and that’s it. If I need to setup a new webapp, I just clone the repo, add to supervisor and caddy config, and I’m good to go.

If I need to do CI, I use GitHub, which just git pushes to the server to deploy.


Server running at home - 32 cores, 64 G ram and 4T disks plus 256 G for boot.

Everything running over CloudFlareTunnel.

It's boring technology - PHP+MySQL+little bit Node.JS


That’s a lot of compute. And power consumption I’m sure.

Are the applications running on it CPU intensive?


Yup - i've using it for compiling and some testing.

Power usage on idle is around 70-80 Watt, on normal usage is around 100W, on peak can go to 200-250W.

Apps are not CPU intensive except one that uses disk in inefficient way. That's why i make a ram drive (tmpfs), put data there and then get out.


A related question worth asking is which irl-observed downsides each specific approach has. Through years, phases of development, maintenance, etc.


I hope I understood the question correctly:

Production is Argo+Helm+Kubernetes+public cloud provider

Development is bash+docker compose+local computer or remote docker host


What is your question exactly?


It seems to be: "What's your production setup if it's not cloud-based?"


Yes exactly. If you're not hosting compute in the cloud, how do you usually set up hardware whether it is colo or dedicated server?


Debian on a DO droplet, Nginx, Passenger, Rails.


Does a hetzner dedicated box count?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: