3 ms·
Rather than vps backup, why not use your house mains supply as a backup?
by jimnotgym 6y ago
Rather than vps backup, why not use your house mains supply as a backup?
- louwrentius 6y agoThat is a good point. Originally, I was planning on doing so! I have all the ingredients (relais and charger) to do so. Maybe I will implement it at some point.
- jimnotgym 6y agoHow would you do it? Would it work to just connect the mains charger to the battery and have it kick in once the battery has reached 70% charge?
- resonator 6y agoUsing your house's mains is a better idea, but if that's not possible for whatever reason, you might want to look at using a fail-over DNS record rather than a VPS running haproxy. It's not a standard feature of DNS, but some DNS providers including Amazon's Route 53 offer it. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring.html https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dn... It will route to your solar setup while it's responding to it's healthchecks, otherwise to the failover. Also, depending on how much traffic your blog gets, you might be able to do away with the failover and front it with a CDN. Cloudflare's free tier will probably be enough. If you get too little traffic, you wont maintain a hot cache and it just won't work.