top | item 31313898

(no title)

amjd | 3 years ago

Dokku [1] is a self-hosted alternative that can be hosted on any IaaS

1: https://github.com/dokku/dokku/

discuss

order

the_third_wave|3 years ago

...or, you know, on IaaP - to give the concept of having your own computer running under your own supervision on your own connection a fancy term. Infrastructure as a Property [1]. All you need is a computer - you're sure to have one of those laying around somewhere - and you're set. You'll be amazed at how much stuff you can host on that old laptop with the broken screen. It even comes with its own built-in UPS, imagine that! Add some external storage if needed and/or for redundancy and you're off to the races. Just make sure to set the thing to automatically install security updates and to make regular backups (rsnapshot configured for hourly snapshots with 3 months retention will go a long way here) and your stuff will be safe and secure - more safe and secure than when it is hosted at some big juicy target like Heroku.

Source: I've been doing this for more than 25 years. Never hot "hacked", never lost important data. I have seen countless drives and power supplies fail but always kept configuration and user-generated data safe (and that is all that matters, the rest can be easily re-installed from distribution media/the 'net).

[1] Maybe I should make a fancy content-less website with annoying scrolling habits for this to attract some VC capital

Cthulhu_|3 years ago

This comment is needlessly condescending, and you're already describing a ton of system administrator skills that you need to have, plus a good internet connection, plus hardware, which makes a lot of assumptions already.

> Never hot "hacked", never lost important data.

You got lucky. I'm not saying cloud providers are better, I'm saying you got lucky.

Sohcahtoa82|3 years ago

Most people don't have internet connections fast enough to handle running their own website. Sure, you might handle a low-traffic page fine, but all it takes is hitting the second page of HN to bring it down.

Until about 2 years ago, I was on a 30 mbps connection. Gigabit wasn't even an available option.

mch82|3 years ago

I wish more people would write about how to do this.

milesdyson_phd|3 years ago

+1 for Dokku, super simple to port a client's simple Heroku workload over!