News for hackers. Stuff that matters.
Re:We're Leaving Kubernetes by rglover on Monday November 04, 2024 @11:30AM (#42043113)
I'd investigate getting a build out to Node.js (looks like you already have this) and then just doing a simple SCP of the build to a VPS. From there, just use a systemd script to handle startup/restart on errors. For logging, something like the Winston package does the trick.

If you want some guidance, shoot me an email (in profile). You can run most stuff for peanuts.

Re:We're Leaving Kubernetes by bhouston on Monday November 04, 2024 @11:41AM (#42043272)
> I'd investigate getting a build out to Node.js (looks like you already have this) and then just doing a simple SCP of the build to a VPS. From there, just use a systemd script to handle startup/restart on errors. For logging, something like the Winston package does the trick. If you want some guidance, shoot me an email (in profile). You can run most stuff for peanuts.

I appreciate the offer! But it is not as robust and it is more expensive and misses a lot of benefits.

Back in the 1990s I did FTP my website to a VPS after I graduated from Geocities.

Google Cloud charges based on CPU used. Thus my servers have no traffic, they cost less than a $1/month. If they have traffic, they are still cost effective. https://web3dsurvey.com has about 500,000 hits per month and it costs me $4/month to run both the Remix web server and the Fastify API server. Details here: https://x.com/benhouston3d/status/1840811854911668641

Also it will autoscale under load. Thus when one of my posts was briefly the top story on Hacker News last month, Google Cloud Run added more instances to my server to handle the load (because I do not run my personal site behind a CDN, it cost too much, I prefer to pay $1/month for hosting.)

Also deploying Docker containers that build on Github Actions CI in a few minutes is a great automated experience.

I do also use Google services like Cloud Storage, Firestore, BigQuery etc. And it is easier to just run it on GCP infrastructure for speed.

I also have to version various tools that get installed in the docker like Blender, Chromium, etc. This is the perfect use case for Docker.

I feel this is pretty close to optimal. Fast, cheap, scalable, automated and robust.

Re:We're Leaving Kubernetes by Imustaskforhelp on Tuesday November 05, 2024 @12:48AM (#42048909)
to be really honest , why don't you use cloudflare for blog post hosting / their storage mechanism if you really want comments hosting.

Why are you actually using google cloud for blog post hosting.

Also you said a million $ kubernetes

wait a second ,have you converted those million $ to 4$ per month

what tom foolery is this

Re:We're Leaving Kubernetes by bhouston on Tuesday November 05, 2024 @09:15AM (#42051612)
I am demonstrating my point using simple personal projects that I can easily explain.

But I am also the Founder/CTO of Threekit.com.

I hope that makes sense now.

Re:We're Leaving Kubernetes by Imustaskforhelp on Monday November 04, 2024 @11:38AM (#42043235)
there was some recent HN post which showed that they didn't even use docker but rather there was some other mechanism and it was so so simple , I really enjoyed that article
Re:We're Leaving Kubernetes by Imustaskforhelp on Monday November 04, 2024 @11:38AM (#42043226)
yeh I have same thoughts , also if possible , bun can also reduce memory usage in very very basic scenarios https://www.youtube.com/watch?v=yJmyYosyDDM

Or just https://github.com/mightymoud/sidekick or coolify or dokku or dockify , like there are million of such things , oh just remembered kamala deploy from DHH and docker swarm IIRC (though people have seemed to forget docker swarm !)

I like this idea very much !