Live data from Hacker News

Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

news.ycombinator.com

131–140 of 242 posts

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#131
post #121

Just get the oracle free tier. I've read my share of FUD about how bad oracle cloud supposedly is, but went ahead anyway. It's been something like 3 years, no complaints (including ~1.5 years of running their 4-core ARM/24 GiB RAM/200 GB HDD machine). https://www.oracle.com/cloud/free/#always-free I've used many other free tiers over the years (living in a low-income region you pretty much have to), and they make it…

Not specifically related to Oracle Cloud itself, but I am curious how folks remain on the Free Tiers of these providers, such as Oracle Cloud, GCP, AWS, etc. It seems, from a glancing review, all of these services structure the Free Tier to force an "on-demand" or "serverless" architecture, since the CPU-seconds and GB-seconds are always undersized for an always-on system (such as a traditional server or OCI containe…

The ARM VM provided by Oracle is actually quite powerful (definitely much more so than anything free by GCP or AWS). Since I have no point of reference for that processor, I have no idea if you're getting four real cores, but it at least feels so. Compiling large C projects is faster than doing it on my machine (although the target architecture is different, so the comparison is a bit pointless).

The two x86 VMs are puny and can only be used as VPN gateways, or for static site hosting, or something like that.

Not using any of that newfangled "serverless" nonsense, and do not plan to. For work projects we rely on colocation with properly self-provisioned and fully controlled servers. It would be silly to use free tiers since you get absolutely zero uptime guarantees.

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#132
There is really no benefit to self-hosting for an individual's basic productivity tools. Just back up your files. When your managed hoster becomes insufferable, upload your backed-up files to a new managed hoster. You will spend 100x more time (and money) curating your self-hosted thing than just backing up and uploading once or twice in your lifetime.

I have switched email providers 3 times in 25 years. With the last one, I bought a domain and pay for custom domain hosting. I don't have to think about my e-mail again until the next time I switch in 10 years. When I switch, I'll just sign up for the new provider and sync my IMAP folder over, change MX records, and boom: done. No paying for a VPS, no maintaining software patches or server or network issues, no e-mail administration or web interface administration or dealing with spam or IP reputation or anything else. It's all taken care of.

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#133

Earlier quoted context omitted.

FYI for anyone in the US, this means they're going to ask you for some sensitive information like a copy of your passport. Even worse, they're probably going to wait until after you've given them all your registration details, including your credit card information, to ask for it.

I’ve never had a European hosting provider ask me for my passport. Not sure where you’re getting that information from

> Not sure where you’re getting that information from

From personal experience. There have been other conversations on HN in the past about this. Mine was not an isolated incident.

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#134
post #18

If you're worried about costs, I run Nextcloud locally in my house, and just deal with the fact it's not externally available. Everything syncs when it is in the house, which is just about always for the laptops and pretty often for the cell phones, and when it is out and about it just doesn't. It all works out. I have a backup process running on it, but back up disk space is a lot cheaper than live disk space attach…

>and just deal with the fact it's not externally available Perhaps wireguard(or tailscale just for this bit). Not saying you have to, having local only as default is perfectly good and safer maybe!

yeah i have a vpn to my home. i don't have a static ip to my home but i run a script on my mikrotik router to update the A record for the subdomain at cloudns.net that i use for vpn.

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#135
That's a great plan! I'll say that self-hosting may be _the_ number one thing I'm most passionate about due to concerns similar to yours (privacy, ownership, and so on). I've self-hosted many of my own services for a very long time and so I have my own experiences to share as well.

I'll say right off the bat that I don't see any red flags with your proposed plan. The following bullet points are primarily meant to offer some additional options or mental nudges to help you brainstorm - like I said, there's nothing abjectly wrong with your architecture, so this list may just offer more ideas:

- I've self-hosted a few email servers (and still do) and I think punting on that (or just doing the backup plan) is probably the right approach - you can DIY it today, but it's a part-time job. If you ever do decide to take ownership of your email, bringing your own domain to Fastmail or Proton Mail has also worked well for me. Today I host one domain on Linode and one on Ramnode. As with most things email, there are tons of nuances with doing it yourself - I had to get both my email servers' public addresses placed on an allowlist with their respective providers.

- I self-host most of my services on my own hardware in my homelab. I eschew the big, expensive, loud, power-hungry hardware in favor of smaller, cheaper, and swappable hardware, and the strategy has worked out really well. I primarily use ODroid hardware (they offer both ARM and x86-64 hardware). You mentioned a floating/non-public address as a constraint, so you could still do this with tailscale/headscale/something similar and gain the benefit of cloaking your services inside a private network (and using some public/free cloud instance as a low-power VPN endpoint). I don't think DigitalOcean/Linode are bad choices, but I very much like owning the hardware layer as well.

- I've been self-hosting before Nextcloud existed and used its progenitor (ownCloud) and developed a harsh distate for the huge, sprawling complexity of the system (it was hungry for resources, broke on upgrades constantly, etc.). That story may be better now, but I've sinced move on to hosting very targeted, smaller services. For example, instead of Nextcloud's file syncing, I run syncthing everywhere, and instead of Nextcloud's calendaring, I run radicale. Nextcloud will probably be fine, but I've been happier with running a smaller collection of services that do one thing well (syncthing in particular is an exceptional piece of software)

I could really ramble on but I'll just include a list of the stuff I host if you have any questions about it. I blog[1] about some of these, too: Transmission, Radarr, Sonarr, Jackett, Vaultwarden, espial, glusterfs, kodi, photoprism, atuin, Jellyfin, Vault, tiny tiny rss, calibre, homeassistant, mpd, apache zeppelin, and minio. Outside my lab hardware I run a few instances of nixos-simple-mailserver, mastodon, and goatcounter (used to run plausible). I also run a remove ZFS server that I mirror snapshots to as my remote backup solution.

[1]: https://blog.tjll.net/posts/

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#136
post #82
post #16

You can also consider hosting it at home. More than likely you've got fiber at home, with decent capacity, and you need (1) closet (2) UPS (3) static IP from ISP with a decent firewall/router. It's not ideal, but a lot cheaper and could be perfect for what you need.

Starlink, no public IP. A bouncer has been suggested and I'm gonna look into that, cause I do have tons of compute capacity and sufficient bandwidth to handle my cloud document needs lol

Where are you located? Just for interest's sake as I don't often chat with users of Starlink

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#137
post #18

If you're worried about costs, I run Nextcloud locally in my house, and just deal with the fact it's not externally available. Everything syncs when it is in the house, which is just about always for the laptops and pretty often for the cell phones, and when it is out and about it just doesn't. It all works out. I have a backup process running on it, but back up disk space is a lot cheaper than live disk space attach…

I run Nextcloud "locally" too. It's "local" in the sense that it sits on an laptop-turned-server by my desk [0]. Add a domain name, a simple dynamic DNS [1] and a forwarding rule on your router ; your local machine is now reachable from everywhere. No (useless for that usecase) additional intermediary like Tailscale in the middle. It has the added benefit of allowing you to share everything that is on Nextcloud with…

Re: dynamic dns, I've just started self-hosting some services and piping them through cloudflare, and I use the docker container oznu/cloudflare-ddns to handle IP changes.

Bonus is that I can restrict incoming traffic on the router to cloudflare ip ranges, and use cloudflare tools to restrict traffic.

I suppose you could accomplish the same with a VPS but this is all free.

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#138
post #42

Don't expect too much from Nextcloud – it will not be a 1:1 replacement for commercial services from Google, Microsoft, etc. Prepare to spend much time debugging, configuring, reading tickets, etc. If you only want files and Cloud office, consider using alternatives like Seafile[1] or the new OwnCloud rewrite in Go called OCIS[2], which are MUCH more stable than Nextcloud. [1]: https://www.seafile.com/en/home/ [2]: h…

How is your experience with the OwnCloud rewrite? Have you had any hickups? Generally faster too?

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#139
What’s the point of replacing one corporation with another (especially if you have to maintain the server yourself)?

Host it on cheap hardware at home, with plenty of RAM and CPU. If the power is off for 15min, that doesn’t matter for personal use.

As a plus, you can host it in plaintext (or at least, load the LUKS key), so that applications can index your data, allowing a lot of cool stuff. You can lock it in down more strictly, tailoring it to your specific environment.

Re: Ask HN: Self-hosting in 2023: Nextcloud on Linode, or...?

#140

Trying out self-hosting is almost as addictive as trying out note managers :-) Anyway, here's my current setup: - Hetzner Cloud VPS -- https://www.hetzner.com/cloud -- I use it for a public website - https://vlad.studio/ - otherwise I'd get the cheapest option); 4€/mo - 1Tb Hetzner Storage -- https://www.hetzner.com/storage/storage-box -- mounted as an external drive to the server above; € 3.81 - Filerun -- https://w…

I also found NextCloud UI for filemanagement to be rough. I have opted to use Mountain Duck and am quite happy with how it works. It's definitely much faster and more reliable for uploading.
Post reply on HN