Reverse proxy without a single point of failure
-
tvcvt@lemmy.mlreplied to Guest 27 days ago last edited by
I do this with HAProxy and keepalived. My dns servers resolve my domains to a single virtual ip that keepalived manages. If one HAProxy node goes down, the other picks right up.
And this is one of the few things I’ve got setup with ansible, so deploying and making changes is pretty easy.
-
wagyusneakers@lemmy.worldreplied to Guest 26 days ago last edited by
SLAs?
You're going to need a redundant ISP and a generator. You've left the territory where it's economical to self host something if that's what you're looking at. You still have several other single points of failure.
And I'll be honest, your setup isn't ready for an SLA either. Just having a second machine is such a small part of what you need to do before doing any guarantees. Are you using a Dynamic DNS service? What's the networking setup look like? Router to Compute?
From the sounds of it, you're not a professional. It might be time to engage an expert if you want to grow this.
-
wagyusneakers@lemmy.worldreplied to Guest 26 days ago last edited by
That's not the point. Its unprofessional. Someone is going to smash and grab OPs idea and actually have the skills to host it properly. Probably at a fraction of the cost because OP doesn't understand that hosting SaaS products out of his house isn't professional or effective.
Also; cloud is cheaper than self hosting at any small amount of scale. This wouldn't cost much to run in AWS if built properly. The people who struggle with AWS costs are not professionals and have no business hosting anything.
-
possiblylinux127@lemmy.zipreplied to Guest 26 days ago last edited by
This is a rabbit hole that's going to be very expensive. Caddy isn't going to do what you are wanting. You likely need enterprise systems which are complex and require at least 3 machines.
I would use AWS or Azure instead
-
possiblylinux127@lemmy.zipreplied to Guest 26 days ago last edited by
You aren't going to get high reliability unless you spend big time. Instead, could you just offer uptime during business hours? Maybe give yourself a window to do planned changes.
-
possiblylinux127@lemmy.zipreplied to Guest 26 days ago last edited by
This is so true. You can't expect your home server to ever be compatible to enterprise setups. Companies who have stuff on prem are still paying for redundant hardware and software which requires money and skill to maintain.
-
possiblylinux127@lemmy.zipreplied to Guest 26 days ago last edited by
This will blow up in your face. You know enough to be dangerous but no enough to know that uptime is very hard.
AWS or Azure really isn't that expensive if you are just running a VM with some containers. You don't need to over think it. Create a VM and spin up some docker containers.
-
possiblylinux127@lemmy.zipreplied to Guest 26 days ago last edited by
You need something like HAproxy
-
possiblylinux127@lemmy.zipreplied to Guest 26 days ago last edited by
You want proper Kubernetes. Kube is for learning and testing purposes only. In Kubernetes there are plenty of different Ingress services available depending on your provider. I would look into something like Traefik or Metallb
-
wagyusneakers@lemmy.worldreplied to Guest 25 days ago last edited by
I've done the on prem design. I've migrated people entirely to the cloud. I specialize a little in between.
Without any shred of doubt the cloud is going to be more cost effective than self hosting for 99% of all use cases. They're priced that way intentionally. You cannot compete with Cloudflare/AWS/GCP/Vultr/Akami/Digital Ocean/etc.
My homelab isn't about scaling, production workloads and definitely isn't accessible to anyone but me. I'd argue using it in any other way defeats the purpose and shows a lack of understanding.
-
possiblylinux127@lemmy.zipreplied to Guest 25 days ago last edited by
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.
-
netrunner@programming.devreplied to Guest 25 days ago last edited by
Disappointed to see the cloud people preaching uptime when most cloud offerings have severe downtime issues weekly.
Stop living in a bubble.
-
wagyusneakers@lemmy.worldreplied to Guest 20 days ago last edited by
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.
-
possiblylinux127@lemmy.zipreplied to Guest 20 days ago last edited by
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.
-
wagyusneakers@lemmy.worldreplied to Guest 13 days ago last edited by
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.
-
possiblylinux127@lemmy.zipreplied to Guest 13 days ago last edited by
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.
-
wagyusneakers@lemmy.worldreplied to Guest 13 days ago last edited by
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.
-
possiblylinux127@lemmy.zipreplied to Guest 13 days ago last edited by
Do you work in sales by chance?
-
wagyusneakers@lemmy.worldreplied to Guest 13 days ago last edited by
Sr Architect. Lol.