TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Screw it, I’ll host it myself

1019 pointsby markozivanovicabout 4 years ago

91 comments

dr-smoothabout 4 years ago
The problem I have always had when building elaborate home server setups is the &quot;set it and forget it&quot; nature of the systems I&#x27;ve installed bites me in the ass. Since it&#x27;s not my full-time job to manage these systems, I&#x27;m really not familiar with them the way I might be with the systems I manage at work. These systems cruise along for years, and when something finally does go belly-up, I can&#x27;t remember how I set it up in the first place. Now I have a giant chore looming over me, ruining a perfectly good weekend.<p>These days, I design everything for home with extreme simplicity coupled with detailed documentation on how I set things up.<p>Docker has helped tremendously, since you can essentially use an out-of-the-box Linux distro with docker installed, and you don&#x27;t really have to install anything else on the hardware. Then if at all possible, I use standard docker images provided by the software developer with no modifications (maybe some small tweaks in a docker-compose file to map to local resources).<p>Anyway, my advice is to keep the number of customizations to a bare minimum, minimize the number of moving parts in your home solutions, document everything you do (starting with installing the OS all the way through configuring your applications), capture as much of the configuration as you can in declarative formats (like docker compose files), back up all your data, and just as importantly, back up every single configuration file.
评论 #26731484 未加载
评论 #26730611 未加载
评论 #26729165 未加载
评论 #26729634 未加载
评论 #26731429 未加载
评论 #26729973 未加载
评论 #26732274 未加载
评论 #26728907 未加载
评论 #26736340 未加载
评论 #26732249 未加载
评论 #26730532 未加载
评论 #26744663 未加载
评论 #26739851 未加载
评论 #26742604 未加载
评论 #26729922 未加载
评论 #26736203 未加载
评论 #26737742 未加载
评论 #26735782 未加载
评论 #26735654 未加载
评论 #26732535 未加载
评论 #26733056 未加载
评论 #26733015 未加载
评论 #26732806 未加载
FunnyLookinHatabout 4 years ago
The diagram alone is more than enough of an argument to dissuade me from giving this a shot right now - it&#x27;s simply too complicated and too much to manage for the amount of time I can dedicate to it.<p>BUT - I&#x27;m really thankful for people who keep posting and sharing these sorts of projects; they&#x27;re the ones iterating the process for the rest of us who need something a bit more turn-key.<p>I&#x27;m excited to see this eventually result in something like the following:<p>- Standard &#x2F; Easy to update containerized setup.<p>- Out of the box multi-location syncs (e.g. home, VPS, etc.)<p>- Takes 5 minutes to configure&#x2F;add new locations<p>I want this to be as easy as adding a new AP to my mesh wifi system at home: plug it in, open the app, name the AP, and click &quot;Done&quot;.<p>(Edit - formatting)
评论 #26727972 未加载
评论 #26726944 未加载
评论 #26727663 未加载
评论 #26726608 未加载
评论 #26726558 未加载
评论 #26727434 未加载
评论 #26726727 未加载
评论 #26728889 未加载
评论 #26737440 未加载
评论 #26727327 未加载
评论 #26732641 未加载
评论 #26726524 未加载
评论 #26728450 未加载
评论 #26726607 未加载
评论 #26726220 未加载
评论 #26728553 未加载
imwillofficialabout 4 years ago
Ok, I’m SUPER into self hosting, but this article? No way. 1) Duck out isn’t a thing, just stop it. 2) Half the articles cited as examples of corporate abuse were later revealed to be mistakes by the user or easily avoidable pitfalls. 3) Self hosting still requires trust (software you’re running, DNS, domains, ISP, etc...) The line of who to trust and how far is a tough one to answer, even for the informed.<p>How I solved it: 1) I use well vetted cloud services for things that are difficult&#x2F;impossible to self host or have a low impact if lost. (Email, domains, github, etc...) 2) I self host things that are absolutely critical with cloud backups. (Files, Photos, code, notes, etc..)
评论 #26726850 未加载
评论 #26729062 未加载
评论 #26731892 未加载
评论 #26733276 未加载
markozivanovicabout 4 years ago
Hi, I&#x27;m the author,<p>Thank you all so much for your comments. I didn&#x27;t expect this will be this high on HN. I&#x27;m aware there are more simple solutions for self-hosting, even partially. I&#x27;m also aware that my setup is not perfect - that&#x27;s why this post was created. I was hoping to get some feedback. Not from that many of you, but some friends. :) Ask me anything you like, I&#x27;ll try to answer every question.
评论 #26732559 未加载
评论 #26732394 未加载
评论 #26735329 未加载
评论 #26737534 未加载
worikabout 4 years ago
&quot;for purely private use, I wouldn’t opt for AWS even if I had to choose now. I’ll leave it at that&quot;<p>I will elaborate: I started out with AWS several years ago. I could never work out how they calculated my bill, and had more than one &gt;$100 shocks for hosting my personal services.<p>I moved to DO and Vultr (stayed with DO for no real reason) and so shut everything down on AWS.<p>But I still got a $0.50 monthly charge on my credit card. I tried emailing - no response, totally ghosted.<p>I went through the control panel several times - it is&#x2F;was a huge mess, obscure by policy obviously - and finally in some far distant corner found something still turned on. I did not understand what it was at the time and can recall no details, but I turned it off with great relief.<p>A week later I got a email from AWS (!) saying that I had made a error and they had helpfully turned the whatever it was back on...<p>So I continued to donate $0.50 a month to Amazon until I cancelled the credit card for other reasons. (it would cost $10 for the bank to even think about blocking them)<p>These days I will crawl over cut glass not to do business with that organised bunch of thieves called Amazon.
评论 #26731414 未加载
评论 #26735472 未加载
评论 #26750572 未加载
评论 #26734481 未加载
mattowen_ukabout 4 years ago
Y&#x27;know what, Although I&#x27;m currently self hosting my email, my websites, my storage, my SQL, my Active Directory etc., I&#x27;m also in the process of migrating the whole lot to Azure and&#x2F;or independent hosting.<p>Why? It&#x27;s just too much hassle these days; I want my down-time to be no longer dictated by my infrastructure. I don&#x27;t want to have to spend off-work hours making sure my boxes are patched, my disks are raided, my offsite-backups are scheduled, and my web&#x2F;email services are running. I just want it all to work, and when it doesn&#x27;t, I want to be able to complain to someone else and make it their problem to fix it.<p>For my data, I&#x27;ll probably still have an on-site backup, but everything else can just live in the cloud, and I&#x27;ll start sleeping better, due to less stress about keeping it all secure and running.
评论 #26729979 未加载
评论 #26728835 未加载
评论 #26728785 未加载
评论 #26727177 未加载
bndwabout 4 years ago
IMO you can get 90% of the utility here (owning your data) with just the NAS and rsync.<p>1. Don&#x27;t feed the FAANG<p>2. Store your SoR media, notes, documents on your own NAS<p>3. Automate a backup of the NAS, preferably both on and off site (I use rsync from a pi + large disk + cloud blob storage)
评论 #26726844 未加载
评论 #26727582 未加载
评论 #26726457 未加载
评论 #26726867 未加载
haolezabout 4 years ago
The author treats his personal life as a job, with productivity tools and benchmarks. Whatever works for you, but I couldn&#x27;t live like that.
评论 #26727341 未加载
planbabout 4 years ago
Funny headline, because every time I try to self-host anything important like mail, I learn how deep that field is and how little I know and that I&#x27;ll probably need many many hours to do everything right and in a secure way (and my mails would still have a higher probability to be classified as spam). Then I think: &quot;Screw it, I&#x27;ll just use GMail&quot;
评论 #26728016 未加载
评论 #26726452 未加载
评论 #26726425 未加载
评论 #26727888 未加载
评论 #26733998 未加载
评论 #26726363 未加载
评论 #26726398 未加载
评论 #26726564 未加载
annoyingnoobabout 4 years ago
The most chilling reason for me to self-host is the third-party doctrine.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Third-party_doctrine" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Third-party_doctrine</a><p>You don&#x27;t really own any of your cloud data, even if it feels like it. If you want to own your data then it needs to reside on private computers in private spaces - though that does not preclude you from sharing but you lose control of what you share.
评论 #26727546 未加载
评论 #26728520 未加载
merpnderpabout 4 years ago
I always wonder why people don&#x27;t trust their offsite back-ups to cloud providers. I know they&#x27;re trying to get away from getting locked out of their data, but what are the odds a burglar steals their computers on the exact same day their cloud provider locks them out because they violated the &#x27;no making fun of ridiculous cloud provider lockout policies&#x27; policy?<p>As long as your house burning down and your cloud getting locked don&#x27;t occur on the same day, you&#x27;re golden and thus no messing with blue-rays and bank security boxes.
评论 #26726872 未加载
评论 #26760320 未加载
评论 #26726680 未加载
评论 #26727151 未加载
评论 #26728579 未加载
johnbrodieabout 4 years ago
I had the same thought as the title of the article go through my head, but we ended up with a simpler setup as I wanted something I don&#x27;t have to constantly mess with:<p>* Put together an overbuilt NAS box running ZFS On Linux<p>* Simple docker-compose file for all services<p>* Backups through borgmatic (via ZFS snapshots)<p>* Auto-updates through watchtower<p>* Punted on email and use FastMail, switched to our own domain from gmail<p>Services we run include:<p>* PhotoPrism for semi-Google Photos functionality<p>* Nextcloud and Collabora for file sync, sharing<p>* Kodi for home media<p>* Tiddlywiki<p>* DDNS through Gandi since we&#x27;re on a dynamic IP<p>* PiHole for some ad&#x2F;privacy protection<p>* Robocert for SSL<p>* Nginx to reverse proxy everything<p>It wasn&#x27;t _easy_ to set up, but in a year, any given week I typically spend 0 hours dealing with it. No problem that _has_ cropped up has taken more than a few minutes to fix, mostly around docker networking and auto-restarting containers after Watchtower auto-updates them, a problem I&#x27;ve since fixed.<p>This setup seems way easier than k3s or some other recommendations, doesn&#x27;t require much new knowledge, and is as portable as I need it to be. If needed I could plop the docker-compose on a new machine, change some mount points, and largely be up and running again quickly. It&#x27;s let us switch to &quot;deGoogled&quot; phones and unplug from almost every hosted service we used to use.
评论 #26735682 未加载
napsterbrabout 4 years ago
&gt; I’m living in Germany, so the obvious choice was to spin up my instances in Vultr‘s* data center in Frankfurt, as ping is the lowest to that center for me.<p>The author is probably aware of this, but just in case they aren&#x27;t: Hetzner is an amazing company with two or three datacenters in Germany. I don&#x27;t remember if any of them are in Frankfurt, but given they offer VPSs and beefy dedicated machines, I&#x27;d be fine trading a couple milliseconds for this flexibility (and overall better pricing, even if Vultr&#x27;s isn&#x27;t that expensive as well).
评论 #26729807 未加载
评论 #26727059 未加载
评论 #26728913 未加载
评论 #26726693 未加载
评论 #26726962 未加载
12ian34about 4 years ago
I&#x27;m curious as to for how long you&#x27;ve been using this setup specifically in regard to Nextcloud, and how many and what volume of files you store in it?<p>I&#x27;ve set up a few Nextcloud instances in the last 2 years on Digital Ocean VPSs and Raspberry Pis and I ran into so many problems and difficulties which scaled with the quantity and size of files I hosted on it. I took care in setting up everything to a relatively solid standard (memcache etc.), but I found Nextcloud to be so unreliable for syncing particularly with the official Android and Linux clients. Plus, there was the whole botched version 20 upgrade.<p>I find Nextcloud tries to solve too many problems turning it into a bloated mess even for a moderately experienced user.<p>For file storage only, I&#x27;ve found Syncthing on a Raspberry Pi at home syncing over Zerotier (for when I&#x27;m not at home) to be a much more robust, user-friendly and scalable solution, despite it syncing whole folders only.
评论 #26726766 未加载
评论 #26726355 未加载
评论 #26726529 未加载
评论 #26726423 未加载
danbruderabout 4 years ago
Theres an opportunity here for someone to build a &quot;platform&quot; that makes this all plug-n-play; like what the apple&#x2F;google app stores have done but where the end user has control.<p>Something along the lines of someone buys some hardware with this platform on it and gets a gui that lets me install &quot;apps&quot; on top of it.<p>Personally, I&#x27;ve got a home setup that is on its way to what the op has; but I think there&#x27;s demand from non-techy folks to get off the big co&#x27;s apps and onto privacy focused ones that they control.
评论 #26727880 未加载
评论 #26729104 未加载
评论 #26727862 未加载
14TheLambabout 4 years ago
But what will you do if people aren&#x27;t telling you exactly how to run your life and your setup? I certainly appreciate the effort and will be digging into this. I&#x27;m so sick of the tyranny. I&#x27;ve started my own &#x27;disconnect&#x27; plan, and this is giving me a lot of ideas. I&#x27;ve already deleted Facebook, Amazon (that was a hard one), and well on my way to independence. Google is next, and like another commenter I&#x27;m using Proton mail now exclusively. Kudos for your efforts to help those of us that are really struggling right now - much appreciated.
jonseagerabout 4 years ago
I’ve been running Nextcloud on a DigitalOcean droplet, backed by S3 compatible storage from Wasabi for about 3 years now - it’s been pretty seamless. I think the old Nextcloud client syncing issues are a thing of the past (unless you work will <i>really</i> big files). Costs me $15&#x2F;mo total.<p>My Nextcloud instance gets one-way synced using rclone to a NAS once daily, and one-way synced weekly as a tar archive to Onedrive (1TB storage from Office365 is otherwise unused, so...). The rclone setup is all with docker-compose + sops for rclone config, so I can just git clone and Docker-compose anywhere to get another machine backing up.<p>A nice addition is that the droplet serves as a WireGuard server that all my devices are pretty much always connected to (with split routing).<p>I host a couple of other services on the droplet including The Lounge for IRC, my personal website and a pastebin type app.<p>If anyone is interested, the whole setup is on GitHub at <a href="https:&#x2F;&#x2F;github.com&#x2F;jnsgruk&#x2F;infra" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jnsgruk&#x2F;infra</a>
评论 #26729586 未加载
shockeychapabout 4 years ago
&quot;A drinking game recommendation (careful, it may and probably will lead to alcoholism): take a shot every time you find out how someone’s data has been locked and their business was jeopardized because they didn’t own, or at least back up their data.&quot;<p>That one put a smile on my face.
评论 #26727081 未加载
JaggerFooabout 4 years ago
I said &quot;screw it&quot; after my Oracle Cloud &quot;always free&quot; account was terminated with no recourse, a few days after having activity on the database building an application prototype, well under the resource limits. I&#x27;m now running a libvirt VM on my laptop to develop the prototype.<p>Others have complained about Oracle Cloud&#x27;s draconian practices. Doesn&#x27;t sound like a company that wants to build a cloud business.<p>Cheers
评论 #26729408 未加载
评论 #26729767 未加载
评论 #26729306 未加载
dervjdabout 4 years ago
I&#x27;m doing something similar with a NUC that I colocated. $27&#x2F;month for a gigabit port + 5 IPv4 addresses, and it&#x27;s far more powerful than any VPS I could get for the same amount of money.<p>It was a little bit of work to set it up initially, but now I maybe spend 30 minutes a month making sure things are updated. Hosting my own wiki, DNS over HTTPS server, Matomo analytics, and a few other random services.
评论 #26729173 未加载
评论 #26728870 未加载
TheCapeGreekabout 4 years ago
Isn&#x27;t $55 a bit high in total cost? Aside from the 2 servers for projects, all of those aren&#x27;t going to need entire servers just for 1 user. I&#x27;ve run Nextcloud doing all the same stuff for half that price and don&#x27;t think Gitea or Monica would add much overhead.<p>I&#x27;m aiming to do a lot of the same (and more) but definitely aiming at a much lower monthly cost.
评论 #26729943 未加载
评论 #26729339 未加载
trbfredabout 4 years ago
Tried the same some time ago. While setup is fun, maintenance etc. is mostly underestimated. Following Murphy&#x27;s law, things mostly break in uncomfortable times (deadlines, etc.).<p>My (current) strategy: Do without the &quot;last functionality&quot; and stick with boring, local software&#x2F;approaches. Not everything needs to be synced to &#x2F; accessible from any device -- at least for me... One well backed-up machine, a few online services (e-mail, github for collaboration, ...) and long-proven applications like Photos.app. Something close to the situation 15 yrs before?
divyenduzabout 4 years ago
Doing something very similar, hosting a lot of things on a Raspberry Pi 4 with 400 GB SD card.<p>Dockerizing most things <a href="https:&#x2F;&#x2F;github.com&#x2F;divyenduz&#x2F;dev-infrastructure" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;divyenduz&#x2F;dev-infrastructure</a><p>Not as easy though, I still need to figure backup strategy and everything. My goal is to eventually remove photos, and almost everything hosted entirely really.
评论 #26728809 未加载
评论 #26729289 未加载
throwaway823882about 4 years ago
You can still have a backup of your files and push them to another provider without self-hosting. It will take up 10x-100x your time to learn and use and maintain these alternatives, versus just taking a regular backup and using a managed provider.<p>It seems like 95% of the adherents to self-hosting do it as a hobby but pretend it&#x27;s prudence.
akhoabout 4 years ago
Vultr seems entirely unnecessary in this picture (but the referral dollars probably help). They are just hosting stuff for themselves, right? The Synology can do all that (through VPN for the on-the-go devices). Separate VPSes for things like a 1-user Monica instance are insane.
评论 #26728151 未加载
random5634about 4 years ago
I use AWS - the customer service seems great - I&#x27;ve personally received good service, the support life times are amazing (I used Simple DB).<p>These articles with &quot;I wouldn&#x27;t use AWS I&#x27;ll leave it at that..&quot; - be more specific!<p>For personal stuff ECS &#x2F; fargate works well in my use cases. I put together a little docker and away I go - I pay for one reserved instance which saves money - fargate for stuff that is occasional or bursts (when I started fargate pricing was too high).<p>Docker is in some ways self documenting - I also have a home server setup complete with router etc - but someone is going to bump something at home and the reconfig &#x2F; resetup time is much longer than with AWS.
ololobusabout 4 years ago
The main thing about building all these private cloud setups, that bothered me most of time is security. It is not a big deal to take from GitHub and run all these bricks of your infrastructure, but how to maintain? Everything should be updated regularly, otherwise you risk to get your data dumped and leaked by some automatic crawler or home-grown hacker, once new vulnerability is discovered in any part of your tech stack.<p>The only easy solution I see is to hide everything in the private network and make accessible only under VPN. However, it is not that useful, when you need to get some file or read&#x2F;reply email from some new device not owned by you.
评论 #26740972 未加载
8fingerlouieabout 4 years ago
As someone who has selfhosted for a couple of decades, i can understand the lure of it, but the author forgets to mention the huge effort it is to keep public servers available and free of unwanted visitors.<p>I&#x27;ve gone the other way. I had everything on a Synology box at home, backed up locally and remote, with a Proxmox server on a DMZ network, mounting all (data) storage from the Synology via Kerberized NFSv4 through the firewall, and exposing select services to the world (limited by IDS&#x2F;IPS and geoip filtering)<p>I spent around 1-2 hours daily checking logs, installing patches, checking backups, and other sysadm maintenance jobs. When 2021 rolled around i decided i no longer wanted to be a sysadm in my spare time, so i quit.<p>Everything previously hosted at home was pushed to dedicated hosting providers for that type of service (pythonanywhere for django projects, etc). Not just VPS as that&#x27;s essentially just self hosting on other peoples hardware.<p>Basic file synchronization went to Microsoft 365 Family. Sensitive data are manually encrypted with either LUKS or Encrypted Sparsebundles.<p>As for my Synology, i pushed all data on it to Jottacloud via rclone and the crypt backend. I then have a machine at home with a 1TB SSD acting as my &quot;NAS&quot;, but in reality it&#x27;s just mounting the Jottacloud data and using the 1TB SSD as a vfs cache. It then exposes the Jottacloud data through Samba.<p>The NAS handles backups of Jottacloud and Onedrive to a local 8TB USB drive. A remote machine wakes up once per day, mounts the cloud shares, and makes a backup as well.<p>In case i get locked out, it&#x27;s just a matter of restoring one of the backups to whatever storage i have sitting around, and i&#x27;m back in business.<p>As for speed, the VFS cache really speeds things up. I get gigabit speeds on cached data, and even uncached data arrives in an acceptable pace (500&#x2F;500 mbit connection), to the point that when i&#x27;m on Wifi (802.11ac Wave2)i can&#x27;t tell the difference.<p>On top of having a lot less noise around me, i also save about 1&#x2F;2 the cost of the self hosting hardware spread over a 5 year period.
TimBurrabout 4 years ago
Depending on what you need, a NAS + Syncthing is much simpler than the linked article. Building a PC isn&#x27;t hard, and keeps prices down. These days, a RPi 4+2 USB HDDs would run circles around the motherboard on my NAS.<p>Syncthing is a great continuous backup solution. I use ~&#x2F;NOTES as a scratchpad, and it updates automatically between my various computers. It gives you pretty granular control over shares, and I back up critical stuff to a cloud provider.<p>That said, there&#x27;s no calendar&#x2F;email&#x2F;notes. XigmaNAS is built on FreeBSD, and will happily run NextCloud or a photo gallery or whatever.
评论 #26727945 未加载
louwrentiusabout 4 years ago
I like the article and I agree with the sentiment.<p>I think that self-hosting can be quite a bit of effort, but a tool like Ansible makes it so much easier.<p>Whatever you choose to do, the most important thing is that you create data(base) backups and store those in an environment that you can control at all times.<p>There needs to be a viable exit strategy, just a backup is not enough if it takes more time to restore operations&#x2F;service than is viable from a business perspective.<p>Perform at least a risk analysis, whatever you choose, make it a conscious, deliberate decision.
RcouF1uZ4gsCabout 4 years ago
&gt; Every last weekend of the month, I will manually backup all the data to Blu-ray discs. Not once, but twice. One copy goes to a safe storage space at home and the other one ends up at a completely different location.<p>The author has a lot more patience than I do. From their description of the NAS, they have at least 2TB capacity. At 50 GB per disk that is 40 Blu-Ray discs to reach 2TB and 80 discs to do it twice. There is no way I would spend a weekend very month burning and verifying 80 Blu-ray discs.
habiburabout 4 years ago
Hosting my own too. There&#x27;s gmail as backup. But host my mail server, webmail, imap, smtp everthing.<p>Blocking spam isn&#x27;t that problem. But making sure your mail goes to the receiver&#x27;s inbox is.<p>You can block 90% of the spam by using only reverse DNS lookup -- doesn&#x27;t match? Reject. 90% of the remaining can blocked using DKIM, SPF checks. No need for ip black hole check or spamassassin training.<p>The benefit : I can block a sender or his domain in a single click from webmail. Couldn&#x27;t do that on gmail.
评论 #26728731 未加载
评论 #26727181 未加载
ballerburg9006about 4 years ago
Definitively the wrong approach. I wrote this on another board:<p>&gt; Everyone has 100Mbit lines now, a lot of people have gigabit fiber internet at home.<p>&gt; You can get a Cortex-A55 TV Box for $30, plug in your old SSD drive via USB 3.0 with<p>&gt; a $3 adapter, install Linux and you are ready to go. It consumes virtually no power.<p>&gt; The processing speed and disk speed is incredible. Often the ping is lower than in a<p>&gt; datacenter. This is not even the future of hosting. It has been around for quite some<p>&gt; time. It is totally superior to any mid-range server. There literally are only advantages.<p>Pair this with Yunohost (via Docker). Yunohost is like an appstore for Linux servers. Easy 1-click setups for Nginx, Xampp, Postfix, Dovecot etc. that average people can do and understand.<p>You can still use the TVbox as a media center, even run Libreoffice on it and Blender like a small mini PC that has &quot;poor but good enough&quot; performance for most everyday tasks. Also games via Retroarch.<p>Sounds too awesome to be true? Yes, it is not quite true yet. You can do all this, but you still need to be tech savvy to step through it. And the media-center part is still questionable, because video drivers (the ones that work with hardware video acceleration) are bugged on most SOCs. Games work though, just not HD videos.
评论 #26732102 未加载
nichocharabout 4 years ago
People interested in this topic will likely enjoy the &#x2F;r&#x2F;selfhosted subreddit.
gigatexalabout 4 years ago
&quot;Is it worth the time and hassle? Only you can answer that for yourself.&quot;<p>No. Absolutley not. The little sys admin work I have to do at work is all that I want to. I trust Apple and Google with all my stuff -- icloud storage, passwords, Google for email, etc. It just works, and I can move on with my life and focus on things of value to me instead of worrying about an upgrade blowing things up, security patching, backups, etc.
评论 #26786270 未加载
porkbrainabout 4 years ago
I&#x27;ve just finished putting together some old machines and setting up my home cluster with k8s, and ported first app on it. Okish way to spend some of my Easter holiday.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bausano&#x2F;cluster&#x2F;blob&#x2F;master&#x2F;changelog.md#2021-04-08" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bausano&#x2F;cluster&#x2F;blob&#x2F;master&#x2F;changelog.md#...</a>
m___about 4 years ago
Looks like the author is undecided on what to push next. Hardware - software &quot;solutions&quot; are not the issue, his definition of what his data is worth, to him, as to the pushers as part of an overview of how to stump the global masses is still opaque to the author. F** the data, it is the amassed, filtered, analysed dataset that is globbed over the wire that matters. If the author really has some content with rationality in-built, originality expressed, it is probably half an a4 page in hand-writing. That would be his back-up(so as not to forget what in a bright flash came up in his processor-mind, the once in his life-time), as it would be his legacy to the world. His billing and buying patterns, with his earnings defining his prodigy of consumption not power who cares? What the glob tells about similar individuals, that is what power minds.<p>Above as to repaint the context, really... this article is as close to a reduction to &quot;nothing&quot; as can be conceived.
hedoraabout 4 years ago
I’ve found the following setup works well. It’s simpler, but less featureful:<p>Website is a git repo stored on a nas, and backed up. (GitHub would also work; private repos were scarce when I set this up). It’s published with “s3 sync”, and sits behind a cheap cdn.<p>Desktop is backed up to NAS (via NFS; would use syncthing if I was setting this up again. Previously, I used Unison, which confused some other users of the desktop, but I like it anyway.)<p>NAS uses synology’s client side encrypted HyperBackup to B2.<p>Calendar and contacts are on the nas, using baikal, which runs in a docker image on the synology. My phone is fine with periodic access to the contacts and calendar server, so this sits behind the firewall, and is not accessible via the internet.<p>Total monthly cost is pennies, not counting domain names, or the B2 backup data.<p>The main problem is that all the data will be compromised if the NAS is stolen. I’m looking for a good solution to that next.
boramalperabout 4 years ago
As a middle ground, you can also simply use Hetzner&#x27;s hosted Nextcloud offering, which is likely (a) more reliable and (b) cheaper than a self-hosted setup on a VPS.<p><a href="https:&#x2F;&#x2F;www.hetzner.com&#x2F;storage&#x2F;storage-share" rel="nofollow">https:&#x2F;&#x2F;www.hetzner.com&#x2F;storage&#x2F;storage-share</a>
bullenabout 4 years ago
I&#x27;m also doing a hybrid: GCP (3 nodes; euro, iowa, asia), IONOS as backup in central US, AWS as backup in asia.<p>Then I have two home 1Gb fibers (when my summer house gets fiber this summer hopefully).<p>I wrote my own distributed database so all data is everywhere at all times = no extra work. (after the initial 3 years of making it robust :D)<p>I would say go for the opposite of &quot;use as much standard as possible&quot; and make everything yourself, from scratch (except OS and language);<p>that way you can slowly but surely make it perfect = 100% read uptime even if one home fiber blows up.<p>People that describe this as meaningless don&#x27;t understand what responsibility is!<p>Own (as in nobody can take something away), understand and change; in that order, on repeat, forever...<p>(until you die and your children pick up the slack because you thought them what responsability is)...<p>People will learn to respect responsability when it&#x27;s too late.
ruph123about 4 years ago
Regarding sever hosting: Hetzner has a very attractive server auction on their website [0]. For about 30€ you can get several terrabytes with a fast cpu and plenty of RAM. No set-up fee either. These are unmanaged dedicated root servers. Basically cancelled sever subscriptions are first offered here again before they take apart the server. So the offerings vary and are time-limited. However, if you pull the trigger there is no limit for how long you can keep using it. Servers are in Germany or Finnland.<p>I am currently waiting for slightly better offerings (a few weeks ago when I found out there were slightly more attractive options) and then will pull the trigger.<p>I yet have to find anything that comes close to this bang-for-buck ratio.<p>[0]: <a href="https:&#x2F;&#x2F;www.hetzner.com&#x2F;sb" rel="nofollow">https:&#x2F;&#x2F;www.hetzner.com&#x2F;sb</a>
评论 #26735907 未加载
hn_throwaway_99about 4 years ago
I think it&#x27;s great that people are publishing their home server setups.<p>At the same time, the scary sounding warnings of &quot;You&#x27;re at risk if you put your trust in another company to hold your data!!&quot; ring really hollow to me. I mean, does this person keep all of his money under his mattress, or does he put it in a bank (though I guess he could keep it all in crypto...)? Does he buy insurance, or again just keep a mountain of backup cash in a safe somewhere?<p>At the end of the day our entire economy is built around being able to trust other companies, and the systems in place to safeguard that trust. &quot;I&#x27;ll do it all myself&quot; is essentially the process you see in third world countries where the systems are too fragile or corrupt to support that trust.
评论 #26729192 未加载
评论 #26729981 未加载
nojvekabout 4 years ago
The more I think about owning your data but not having to deal with maintenance crap, I think more tools should work with git.<p>Give me a pretty UI but use my GitHub repo for storage.<p>I kinda want something like notion UI but stores documents as JSON blobs in git (could use GitHub api and GitHub auth too)
de6u99erabout 4 years ago
Looking through the comments, I think it would be great if someone can bundle all of this into a product which automatically applies security uodates and offers some form of visual dashboard to see the status of the system, errors, and logs of attempts to compromise the system. Furthermore a migration tool from GMail&#x2F;Google-Apps&#x2F;Drive would be super useful (+ one for Microsofts offerings).<p>I believe many would be willing to pay for such a service, and I would be open to collaborate on building such a product.<p>I can see here things like: - resale of hardware components and support agreements for paid subscriotions for the software - paid setup support - initial fee of the product - small subscription fee for updates
评论 #26735711 未加载
novokabout 4 years ago
If you really want control, what matters more is you having control of your own domain and encrypting what doesn&#x27;t need to be public, such as backups and notes. Managing a self hosted system is often more expensive and more time consuming, and often those self hosted services store unencrypted versions of your data. But now you have to maintain the security of it yourself, usually worse than professional services, and your still one subpoena or hack away from it being exposed.<p>In the end you are still just as vulnerable getting booted off with VPSs like you are with google, but with domain control you can still switch hosts without losing your address, and you usually have customer support.
codehawkeabout 4 years ago
I created codehawke.com architecture from scratch to avoid hosting my content on other people&#x27;s platforms. I make way more money than with platforms like Udemy. I think we should all be moving away from other people&#x27;s platforms and tools.
djhworldabout 4 years ago
I&#x27;ve been self hosting a few bits and bobs over the years (mainly gitea, FreshRSS reader, pihole, excalidraw and other custom services I&#x27;ve written)<p>Recently I&#x27;ve put together a little Nomad + Consul raspberry pi cluster (3 nodes) to schedule them all in docker containers, with each thing in its own job file. Traefik for routing and HTTPs, which nicely integrates with consul.<p>The cluster setup is all in ansible, which took a while to setup and fine tune but I think (hope?) it&#x27;s in a good enough place to be able to rebuild the cluster in the event I mess anything up.<p>Clustering might be overkill but I like being able to deploy things through Nomad and it just working without much fuss.
grep_nameabout 4 years ago
I tried to have a setup similar to this during covid but ended up with a bit of a mess.<p>What I wanted was a home server that used X forwarding to forward services to my VPS, which also had some images running in a docker-compose stack that I wanted to have more robust uptime than my home server. I ended up being unable to get traefik to pick up on the x-forwarded ports, and ran into SSL certification issues that seemed insurmountable wrt hosting jellyfin this way.<p>Does anyone here use a hybrid home-server &#x2F; VPS setup like this and know of a better setup? I prefer x port forwarding because I move about once a year and don&#x27;t always have access to router settings
评论 #26728347 未加载
评论 #26736875 未加载
acvnyabout 4 years ago
Completely misleading title and this is basically an ad:<p>(* Links to Vultr contain my referral code, which means that if you choose to subscribe to Vultr after you clicked on that link, it will earn me a small commission.)<p>host yourself means - running on your own hardware
JumpCrisscrossabout 4 years ago
I successfully extricated myself from Gmail to ProtonMail, only to be getting dragged back to Office 365 due to ProtonMail not having a working calendar and FastMail not supporting calendar sharing (to non-FastMail users) or delegation.
评论 #26726481 未加载
评论 #26726349 未加载
nautilus12about 4 years ago
For personal use it seems I agree with other comments that it seems like alot of work. But in a corporate setting it could be useful, wonder if these types of applications (NextCloud) is how the cloud gets broken up eventually.
buffalobuffaloabout 4 years ago
I&#x27;ve recently thought this would make a great business model. You set up a service where you deploy open source tools like email, picture storage, etc to run on aws lambdas for people. All they would need to supply is a domain name (via oauth access to dns providers) and an aws account. For a single user, the app&#x27;s costs would probably be under a dollar for a year. They pay you a one time setup fee, and a maintenance fee only if they want to receive updates. Configure nightly backups for them, etc. I&#x27;d definitely pay if this existed already.
karmakazeabout 4 years ago
I like the article and many of the recommendations (and some others to look up). I do host some of these things but likely never all of them.<p>The post wasn&#x27;t entirely clear on whether it was primarily privacy motivated or availability. If it&#x27;s not about strict privacy, it&#x27;s far easier to use whatever is convenient and still allows you to stream-replicate the data. For Gmail, I send a copy for accessibility outside of Gmail. The post itself includes offsite-backup so you could just start there if you consider your primary use site to be the &#x27;onsite&#x27;.
mixxitabout 4 years ago
i tried to use nextcloud for a good two years<p>the mobile app is crucial to me and its search and performance let me down when the car broke down and the time i needed it at the most at the hospital<p>i wish it was the not this way i really do
评论 #26727187 未加载
tjpnzabout 4 years ago
I&#x27;m currently working on a MVP for a mobile app with a small Python server side component. In the past I would&#x27;ve spun it up on AWS or GCP but this time I&#x27;ve decided to challenge myself to see how cheaply I can validate my idea.<p>After a few hours of work I got it running on an old Raspberry Pi which I then exposed to the internet with some NAT rules and Duck DNS. Not sure how well this approach would work for something more complex but I&#x27;m very happy to have put some old hardware (previously in a box and gathering dust) to work again.
Ivabout 4 years ago
If there is one thing to take away it is this: VPS are cheap, something like 5$&#x2F;month. Really consider having one, you will quickly use it more than you think.<p>When I was a student I wanted to test things on a distant server so I started renting a cheap OVH instance with SSH to test some silly ideas and host some static pages. It has been 20 years now and it hosts (one of) my backups, a professional website, several docker images, a gitolite and has saved me and colleagues numerous hassles when one of us has to share a few dozen GB of data.
llaollehabout 4 years ago
I really love the idea of self-hosting, but man, you have to go through 9 layers of configuration hell and come back out alive. It&#x27;s not necessarily fun programming - more of changing variables and running commands, which you might get wrong anyway.<p>I wonder if there&#x27;s a viable business model for this. Automate the setup through scripts and process automation for any provider. You pay a one time fee + a reasonable amount for maintenance and for resilience built in. I would pay for it if the price is reasonable.
评论 #26727015 未加载
评论 #26726883 未加载
bjt2n3904about 4 years ago
I&#x27;ve been running Nextcloud myself, and I love it. I&#x27;ve been looking to expand my infrastructure even further -- the synology NAS are wonderful.<p>The biggest thing is that I don&#x27;t think this matters anymore. Google, CloudFlare, and Amazon rule the internet. If they don&#x27;t want you to be on the internet, it doesn&#x27;t matter how resilient your infrastructure is. Especially when it comes to critical things, like email.
juliend2about 4 years ago
Is there a word or expression for this idea of not relying on big corporations for one&#x27;s cyber presence, communications and other such tools?<p>I thought about info-independence, but I&#x27;m sure someone smarter than I already coined something better by now.<p>I know it is (always?) open source, but not everything open source liberates one from the cloud giants. So there&#x27;s something there that needs a name, I think.
Sphaxabout 4 years ago
I&#x27;m willing to bet you could run all these services on a single VPS. Having to manage 6 different hosts is going to be a pain in the ass, even if you use something like ansible.<p>As far as backups, I don&#x27;t understand why the author doesn&#x27;t just encrypt them and send them to a cloud storage; it&#x27;s what I&#x27;m doing personally with restic and it&#x27;s not even expensive.
评论 #26729226 未加载
thayneabout 4 years ago
&gt; you should consider switching from... Google Maps to OpenStreetMap<p>I&#x27;ve looked into it, but there is very, very little in OpenStreetMap in my area. And I do not have the time, resources, or expertise to map out my entire area enough to make it useful myself. I would like to contribute to the project, but switching over entirely just isn&#x27;t an option for me.
评论 #26738175 未加载
hoprockerabout 4 years ago
I love it. Some of these solutions are things I looked into during the early days of Android, before Google had cemented hegemony on so many things. Namely, Subsonic and K-9 Mail were some early contenders that I remember, although both quite clunky at that point (Subsonic very much had the patina of a one good developer, but no UI specialist, team).
FpUserabout 4 years ago
20 years ago I&#x27;ve said to myself screw it, quit very well paid but nerve wrecking job in a software development company and never looked back. That&#x27;s when I also went full remote ( I hire subcontractors but never felt need for an office ) and started hosting my own stuff on rented dedicated servers and in my own office.
pjc50about 4 years ago
I&#x27;ve had my own domain for something like 22 years now, but it&#x27;s been a long time since I used it to actually <i>host</i> stuff. Email in particular I gave up over a decade ago and pointed at a hosting provider. I still read that email with mutt over ssh.<p>I suppose I should have another go at a blog.
ineedasernameabout 4 years ago
I prefer the lower overhead of having things hosted elsewhere, but keep regular backups and have a well detailed business continuity plan for each vendor that could go hostile, belly up, or otherwise no longer viable.<p>You take advantage of off-the-shelf options at the same time that you prepare for the worst.
yositoabout 4 years ago
&gt; it’s all fun and games until someone loses access to their private and&#x2F;or business data because they trusted it to someone else<p>Or it’s all fun and games until someone loses access to their private and&#x2F;or business data because they lost their encryption keys... there are two sides to that coin.
weppleabout 4 years ago
The article appears to be complaining that <i>free</i> services don’t have good support, so the solution is to spend $55. Major providers do offer support plans. If google&#x2F;Apple&#x2F;Microsoft is so critical to your life and data, perhaps it’s worth paying more than zero dollars for?
BrandoElFollitoabout 4 years ago
I host everything myself, except mail.<p>I just do not trust myself to followup with each blacklist when my IP gets there.
doggydogs94about 4 years ago
Every week or two, I backup my data to an 8T drive. Every year or so, I take the 8T drive off site.
BlueTemplarabout 4 years ago
A year ago, I tried to get into it, but : - My ISP and Pihole didn&#x27;t have proper IPv6 support. - Even worse, Pihole requires phoning home to Github for updates... which I wanted to block with Pihole! So I&#x27;ve shelved this idea for now...
sandreasabout 4 years ago
One thing that would interest me: What about Ransomware? If everything is connected and synced, how to prevent getting everything encrypted before it is too late?<p>For me encrypted FreeNAS with readonly ZFS-Snapshots have been a good solution for this.
评论 #26728280 未加载
mraza007about 4 years ago
I’ll just mention I have been using vultr for about a year now and I love it.<p>There are no hidden charges and the service is just amazing as I use vulture to host my automated HN newsletter that delivers top news headlines straight to my inbox
manquerabout 4 years ago
Shoutout to Sovereign[1] nice ansible project to automate most of this kind of home setup<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;sovereign&#x2F;sovereign" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sovereign&#x2F;sovereign</a>
Pawkaabout 4 years ago
Just curious why OP is using Nextcloud apps instead of those which arrives with Synology? Synology also has an alternative for notes, calendar, photos, etc.
ThinkBeatabout 4 years ago
Why so many VPS instances?<p>Does it work out cheaper than increasing the vcpu&#x2F;ram of one or two units?<p>Is it in case crashes? But then there is no failover I can see.
NicoJuicyabout 4 years ago
I&#x27;ve got 4 servers and an app that monitors everything.<p>Daily backup is 30 days retention. Only had to setup once.<p>Weirdly enough, i don&#x27;t have any maintenance. When I log in to create a new site, i see all the stats too.<p>It would cost me at least 18€*30 in the cloud ( amount of sites). I&#x27;m 100% sure self hiding for me is a lot cheaper.<p>I use Gmail and a box account too fyi. But i don&#x27;t consider that &quot;the cloud&quot;, it&#x27;s a service that i use. Not something to deploy my own development on.<p>Ps. My uptime is better than a lot of services that is the cloud.
cupcake-unicornabout 4 years ago
Whew, the prices of those VPSes! You can get a VPS for 10 dollars a YEAR! Someone needs to check out lowendtalk.com on black friday...
tofazabout 4 years ago
I think one of the main service missing in this project is e-mail. It is very easy to setup your own mail server nowadays...
clircleabout 4 years ago
I have a similar setup, but I&#x27;m using a raspberry pi. Does anyone know a good iOS client for Nextcloud Music?
whalesaladabout 4 years ago
I fully support this as long as you can click a button and deploy a new instance when one dies.
评论 #26731356 未加载
jedbergabout 4 years ago
Where does he host his email? It doesn&#x27;t say.<p>Also, his website is very slow, probably because he&#x27;s not using a CDN. A noble goal, but it has an impact on credibility. The slow website makes me feel like he doesn&#x27;t care about user experience, which makes me assume that is true for his whole setup, and turns me off from even considering it.
评论 #26726587 未加载
评论 #26727184 未加载
aiisjustanifabout 4 years ago
I’m surprised I didn’t see pfsense. Are you using the vpn and firewall built into synology?
jwmozabout 4 years ago
&quot;Is it worth the time and hassle?&quot;<p>No.
m00xabout 4 years ago
So, what happens if Vultr locks him out? Sounds like an even worse situation.
评论 #26728638 未加载
asattarmdabout 4 years ago
The most valuable thing for me is my photo library. All of them are currently in Google Photos. Is there any easy way to backup just that? I don’t care about my personal email, tasks, calendar etc. It’s just the thought of losing my photos scares me.
评论 #26726765 未加载
评论 #26726723 未加载
评论 #26726667 未加载
评论 #26727247 未加载
评论 #26727575 未加载
yositoabout 4 years ago
What did you use to make that data flow diagram?
harikbabout 4 years ago
While I agree shit happens, it is sad to see exaggerated stories without sufficient details being repeatedly quoted by other people<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26311417" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26311417</a><p>In addition, traditional non-tech companies screw people on a regular basis. I know I am resorting to whataboutism, but let us not panic and try to build our own cloud. One has to consider what happens and when one gets decapitated in a autonomous driving accident and the family is left with a home-made cloud
评论 #26730080 未加载
cooervoabout 4 years ago
agreed google&#x27;s customer and creators support is awful. I avoid them as much as possible.
Jyaifabout 4 years ago
&quot;Screw it, I’ll host it myself&quot;, then proceeds to list half a dozen third party services.
Daho0nabout 4 years ago
How not to be taken seriously #5781:<p>Preach against Google while using Google crap on the website your are preaching on.
EGregabout 4 years ago
Time to update this news story a month later with more breaches and with just the names changed: <a href="https:&#x2F;&#x2F;qbix.com&#x2F;blog&#x2F;2021&#x2F;01&#x2F;25&#x2F;no-way-to-prevent-this-says-only-industry-where-this-regularly-happens&#x2F;" rel="nofollow">https:&#x2F;&#x2F;qbix.com&#x2F;blog&#x2F;2021&#x2F;01&#x2F;25&#x2F;no-way-to-prevent-this-says...</a>