I want to get into self-hosting. I’ve done a bit of self-hosting before using a Raspberry Pi (pi-hole and Discord bots) but I really want to start self-hosting almost everything I can like I’ve seen many people here doing.
However, I’m not sure what kind of machine I should build which would be suitable for these purposes. I’ve never even built a PC before though my fiancee has and he will be able to help me…
Here are some services I’m thinking of self-hosting to start with:
- AdGuard
- OpenMediaVault
- Bitwarden
- Mastodon
- Matrix
Eventually I would also like to host PeerTube, Kbin, Plex, and many other things…
What are the most important things I’ll need to consider with a self-hosting machine, and what I will need to upgrade over time as I self-host more services? Ideally I’d like a machine which is as energy efficient as possible too.
Also, is it a good idea to host so many services, both publically-accessible websites as well as services only available on my home network, from the same machine? What are the security considerations when self-hosting?
Any links/articles for me to read would be appreciated too!
If you’re talking media then drive space with a resilient storage setup is important. Some form of raid where you have the ability to lose a drive without losing the data. It’s also nice to keep bulk storage separate from running/compute storage in my book. IE: Keep the movies on one remote space with cheap storage and the movie player on the local drive. That way multiple services can selectivlely access it without affecting the high speed drives running the DB and other active processes run on.
Security is a whole separate thing that I could write a book on, but on a baseline a firewall, IPS, and some sort of dynamic reputational filtering should be a given. Monitoring is big too, graylog or security onion are good places to observe from for free.