Live data from Hacker News

Start Self Hosting

rohanrd.xyz

241–250 of 625 posts

Re: Start Self Hosting

#241
post #48
post #30

I run a few services from my home but still have to rely on aws/fly.io for some portions of my infrastructure. I really want is to learn how to rent rack space from a colocation. The documentation available does not make it easy to learn. Can I just buy an old 1U blade, throw xen on it and show up at my nearest colo? What do I need to preconfigure to ensure I have remote access without giving remote access to the col…

Sadly the answer is, as often, it depends! Many rack space rentals will not permit you to just install whatever PC you fancy because it is potentially a risk to the neighbours in terms of fire or bad hardware, most will happily quote you to buy one their approved ones! It is pretty easy to get a rack space provider where the provider cannot access the machine but this can be good or bad. In some cases, I would rather…

> Many rack space rentals will not permit you to just install whatever PC you fancy because it is potentially a risk to the neighbours in terms of fire or bad hardware, most will happily quote you to buy one their approved ones!

I have _never_ experienced this. The only restrictions I've seen on colo contracts I've gone after were related to UPSes and things with large batteries in them. So a big stack of laptops would be a no, but if I wanted to put Atari ST's or Dell PowerEdges or white box builds or bitcoin miners it doesn't matter. I guess I've always done things at at least a half or full cab, never single Us at a time.

Re: Start Self Hosting

#242

Earlier quoted context omitted.

The digitalocean marketplace is kind of like this. Also sandstorm.io.

I was so sad when sandstorm kind of fizzled out. I'm still hoping Kenton is on a secret mission to somehow bring it to life within Cloudflare. How cool would that be? One-click installs of docs, email hosting, photo sharing, etc apps from a server app marketplace, onto a cloud server you control. (Insofar as you "control" anything on a cloud host, but I feel like that's pretty far, still.)

> onto a cloud server you control

Or a box in your house, which is where my Sandstorm server lives. :) I think there's a lot of potential for actual self-hosting, though servers like Sandstorm need to have reasonable defaults and make it easy to manage domain setup and backups and security updates, such that one can get a box, plug it in, and reasonably quickly get to "don't need to touch this ever" territory.

Re: Start Self Hosting

#243

Earlier quoted context omitted.

And we can call it cPanel ;)

cPanel isn't "cool" so it doesn't get a lot of credit here, but it is actually an amazing product that solves real problems. It makes running a server -- even hosting email -- almost effortless. Combined with a decent host, you don't need to have much technical knowledge at all. It really does make running your own server accessible to many, many people who would otherwise be unable to do it.

Additionally: Setting up PHP/MySQL applications on these servers tends to be "upload files, load page" level simple, and cPanel hosting is still generally a fraction of the cost of modern "cool" cloud products.

Sure, I have some neat modern things I'd like to do, but I also have a shared hosting that's been doing it's job for pennies since 2011.

Re: Start Self Hosting

#244
The examples he gives are all the small downsides of cloud hosting but the huge upsides are clear to consumers and is the reason we all use them. Dont tell me that you really want to self host your youtube playlists, the market of people who want that is incredibly small.

Re: Start Self Hosting

#245
post #98

Self-hosting is something that we should be constantly iterating on making easier; it's really the path forward for privacy centric folks. The main challenges are managing workload scheduling (SystemD is complicated for a layperson). Networking is another challenge; for instance, if you wanted all or part of these services to remain offline or on a Mesh VPN there's a lot of knowledge required. There's some projects t…

tailscale is strong for network-centric use cases.

openziti is strong for app-centric use cases - put the (programmable, zero trust) network into your self-hosted app (via SDKs for various languages), rather than putting the app on the network.

https://openziti.github.io/ (quick starts) https://github.com/openziti

disclosure: founder of company selling saas on top of openziti

Re: Start Self Hosting

#246
post #86
post #34

Earlier quoted context omitted.

> My biggest beef with self-hosting is that they expect us to set up the SSL/TLS certificate without explaining the step to set it up. Some guides does have section about it but never provide the details about creating CA for my self-hosting needs. I turn to Google/DDG to find information about it and they are all over the place or leading into dead-end. If you have your own domain pointed at your server, the Let's E…

> If you have your own domain pointed at your server, the Let's Encrypt certbot can automatically pull in a certificate Yeah, but don't have a mistake too many times, or Let's Encrypt will block you for a week until your rate limit times out. I hit this. I understand why Let's Encrypt has to do this, but it's very annoying and you have no choice but to do nothing for a week. There needs to be something in between Let…

If you use Caddy, you'll almost never run into rate limits from Let's Encrypt, because Caddy rate limits itself, and will fallback to ZeroSSL instead of Let's Encrypt, and even fallback to LE's staging for additional retries against LE before trying the live one again if it works with staging. See https://caddyserver.com/docs/automatic-https#errors

Re: Start Self Hosting

#247
post #160

Earlier quoted context omitted.

> SystemD is complicated for a layperson Is it? It has clean and logical abstractions, and consistency. Services depending in each other isn‘t complex or difficult to understand. I suspect that a nice GUI would make systemd quite usable for non-expert users. BTW: It‘s called ”systemd“: > Yes, it is written systemd, not system D or System D, or even SystemD. And it isn't system d either. [0] [0]: https://www.freedeskt…

> Is it? It has clean and logical abstractions, and consistency. Services depending in each other isn‘t complex or difficult to understand. For a technologist or engineer, yes. For a layperson , no. The average consumer who desires privacy is probably neither a technologist or engineer, so the longterm target is something that just works . Laypeople also aren't going to entertain the kind of pedantry that is systemd…

>For a technologist or engineer, yes. For a layperson, no. The average consumer who desires privacy is probably neither a technologist or engineer, so the longterm target is something that just works.

In comparison to system V initd startup files, systemd unit files are, arguably, less complicated.

I'd say the "complexity" of systemd unit files is mostly irrelevant to end users.

For a relatively non-technical user, implementing whatever application/service one might want to use should be as simple as installing the relevant package(s) and dependency(ies) via existing, well managed package management systems.

That said, too many developers encourage self-hosting, but don't provide appropriate packages and defaults for most popular distributions.

If developers spent just a little more time creating buildable packages (supporting the creation of binary and source .rpm, .deb, etc. packages) with sane defaults/startup files could make the inclusion of such apps into the standard/extras repositories of a broad swathe of Linux distributions much simpler and, for the non-technical user, easy to install and configure.

Matrix Synapse[0] and Diaspora[1] both come to mind in this respect. Installation and configuration of these platforms requires the installation of several software development frameworks and separate (from the standard system package managers, e.g., DNF, apt, dpkg, etc.) package management tools for the language dependencies.

Requiring installation of software dev environments and building the software/databases/admin tools for such "self-hosted" solutions just confuses non-technical users.

As a professional with decades of Unix/Linux implementation and management experience, I find implementing such platforms simple enough. Just read the docs, install the dependencies and compile/install/configure the software.

For a non-technical person, that's likely a non-starter unless there's a UI that will do so automagically.

Fortunately, there is such a UI for most Linux/Unix distributions -- it's called the system package manager.

Unless and until developers provide distribution developers/maintainers with appropriate packageable sources (or even separate repositories with binaries!) to be added to the default repositories, self hosting many apps will only be the purview of technical users.

This annoys me. A lot. Not because I, personally, mind a complicated set up process for such applications, but because it limits the ability of both Linux/Unix distributions and self-hosted applications/platforms to be used more broadly by non-technical users.

Especially with tools like Diaspora, Matrix/Synapse and others which have the potential to overturn centralized hell holes like Twitter, Facebook, Instagram, WhatsApp, etc.

It's been at least five years since I first installed a Diaspora pod and a year since I installed Synapse and a STUN server. In both cases, had I not been a long-time user/manager/implementor of Unix/Linux and associated sw dev environments, the install would have been nightmarish.

For both platforms, installation pretty much requires knowledge of software development tools and practices, as well as more than a passing familiarity with Unix/Linux shells and environments.

I can't imagine my 64 year-old sister in-law (a reasonably well educated and smart cookie with decent problem-solving skills) taking the time to learn how to use git, clang/gxx or even docker to install this "self hostable" stuff.

That should be the target audience for such self hosted tools, not devs and other technical people.

Taking the time to make one's application/platform easily installable/configurable (and building from git repos and/or Docker-compose aren't "easy" for non-technical folks) by non-technical end users could make a huge difference in this space.

[0] https://matrix.org/docs/projects/server/synapse/

[1] https://en.wikipedia.org/wiki/Diaspora_(social_network)

Re: Start Self Hosting

#248
post #141
post #73

Earlier quoted context omitted.

With the ones I have used you just click around on the homepage selecting what you want on the server and then pay. Some sell second hand repurposed servers on auction that they will set up for you. A while later you get an SSH login on the server and that's it, your server is running somewhere in a basement/bunker/old mine and you can go visit it if you want but in general you can do everything remote. There is even…

In your experience did you have to sign up with a partner ISP at the colo? Or is that done for me and just part of my colo bill? Is power use included as well?

Colocation provider will bring the circuits to provide best-path connectivity based on packet destination. There shouldn't be an additional charge for this. They are incentivized to manage their bandwidth so data transfers fast, as they are likely charged wholesale for fiber availability.

You will likely be charged 95th percentile mbps based on your usage. (Again, "pipe space required" to your needs.) Basically, whenever you're busiest -- 4pm-9pm are popular times for us in the USA.

Some customers limit their bandwidth themselves (like, only allow max 12mbps file downloads, etc.) especially when they have the hardware to support huge bandwidth. Or your colocation provider can perhaps limit max connection to 100mbs or 1gbps if you want.

Power is usually leased in amps. If you go over amps the circuit will break -- at worst case scenario. But typically they get in touch with you and tell you to upgrade.

Also, they do want to know vaguely what your service is. Because you'll likely lease their IPs, they will question you if you do a lot of email (caution for spam), or run a Tor exit node (legal hassles for them in many cases).

Re: Start Self Hosting

#249

The world of Synology products is fascinating in this regard. Take photos - They’ve got iOS and android apps that replace your photo app; a truly self-hosted server you run in your home with pretty easy to use DNS support tools. Even shared albums work without much fuss. I think they’ve invested in the UX in recent versions, and it shows. https://www.synology.com/en-global/DSM70/SynologyPhotos

I've had a Synology raid for a few years but I'm completely baffled by it. There seem to be three options for everything (Photo Station, Moments, Photos. Similar situation for video). Nothing ever seems to work and it's very slow. It's never clear exactly where you're supposed to put your files either. Constantly doing security updates isn't very reassuring either. I feel like I'm going to get hit with ransomeware all the time.
Post reply on HN