I’m thinking of expanding my homelab to support running some paid SaaS projects out of my house, and so I need to start thinking about uptime guarantees.
I want to set up a cluster where every service lives on at least two machines, so that no single machine dying can take a service down. The problem is the reverse proxy: the router still has to point port 443 at a single fixed IP address running Caddy, and that machine will always be a single point of failure. How would I go about running two or more reverse proxy servers with failover?
I’m guessing the answer has something to do with the router, and possibly getting a more advanced router or running an actual OS on the router that can handle failover. But at that point the router is a single point of failure! And yes, that’s unavoidable… but I’m reasonably confident that the unmodified commodity router I’ve used for years is unlikely to spontaneously die, whereas I’ve had very bad luck with cheap fanless and single-board computers, so anything I buy to use as an advanced router is just a new SPOF and I might as well have used it for the reverse proxy.
The cloud is cheaper hosting things like websites that need HA. However if you are doing big compute or storing lots of data it will not be cheaper.
If you’re doing actual big compute its cheaper in the cloud. Considerably. It’s also very easy and cheap to store lots of data. You will never be able to compete with their price for storage so I have no idea why you think that would be true.
It is very much not cheaper in the cloud assuming you already have a on prem data center. The hardware stays mostly loaded and unlike the cloud we don’t pay for usage.
You don’t pay for electricity or pay a fee for using the data center? You don’t pay an engineer to do maintenance? You don’t pay for your own alerting system? You don’t pay for the network security tools? You don’t pay for your subscription to Docker Hub? You don’t pay for a second physical location you can swap to in an incident?
I do these migrations for a living. I know you’re a liar. Cloud beats on prem everytime. You simply cannot compete with their economy of scale.
I’m not going to post details from my job if that’s what you are asking. It is in fact much more pricy in some cases.
I’m not asking you to. Those are rhetorical. You either pay for them and are wrong about your costs or you don’t pay for them and you’re a hack, your software is a joke, and you don’t belong in tech.
You’re either lying or not knowledgeable on the topic enough to have an informed opinion.