this post was submitted on 24 Jul 2023
42 points (100.0% liked)

Technology

37711 readers
338 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] melroy@kbin.melroy.org 6 points 1 year ago* (last edited 1 year ago) (2 children)

Yes, it's a great idea. And I also do it myself. In fact, I'm not only self host all my services. I also host them at my home.

https://server.melroy.org including all the sub domains are all hosted on the same server.

You can just use a good ryzen computer with enough ram (start with 32 gb or something). With enough storage. Redundancy via raid. I personally use Proxmox with an Ubuntu 22.04 VM. However bare metal may be also fine.

Have fun!

[–] Lloir@lemmy.0x3d.uk 3 points 1 year ago (1 children)

Do you not have issues with people attacking you? I find I have to block everything and then use a VPN to access them.

[–] melroy@kbin.melroy.org 2 points 1 year ago (1 children)
[–] briongloid@aussie.zone 1 points 1 year ago (2 children)

What application did you use for the server page?

[–] melroy@kbin.melroy.org 2 points 1 year ago (1 children)
[–] briongloid@aussie.zone 1 points 1 year ago (1 children)

I'll look at those, do you suggest selfhosting webpages over something like GitHub?

[–] melroy@kbin.melroy.org 2 points 1 year ago* (last edited 1 year ago) (1 children)

I do. I love to self host everything I can. I like to have control over my own data. I host my own GitLab instance. I host my own Nextcloud instance. Running Mastodon, Kbin, Matrix, you name it.. All my DNS records point to my server IP.

ps. I'm also a contributor to kbin.

[–] briongloid@aussie.zone 1 points 1 year ago (1 children)

How do you feel about Cloudflare Zero Trust?

[–] melroy@kbin.melroy.org 0 points 1 year ago (1 children)

I don't like that the whole world need Cloudflare to be honest. My vision of a free and open WWW should not include a big centralized corporation like Cloudflare. Instead of fixing the Internet and DDoS attacks, we just move all to Cloudflare?

Whether it's zero trust or WAN, CDN or firewall solutions. I want everyone to be able to participate in the internet, to run their own infrastructure ideally without Cloudflare or cloud services in general. In fact, that is why I also try to create https://libreweb.org. The world needs a better internet, whatever that may look like.

[–] briongloid@aussie.zone 1 points 1 year ago (1 children)

I do want to move closer and closer to completely selfhosted for anything possible, but the knowledge required seems to never end, so I settle for things like Cloudflare Zero Trust to fill in the gaps.

[–] melroy@kbin.melroy.org 1 points 1 year ago

yea it's a shame.. I don't blame you. The current Internet has just became too complex. Too vulnerable. Too many attack vectors. You need to know about web-servers, various package managers, load balancing, firewalls, DNS, automated IP banning tools/DDoS protection, horizontal scaling, vertical scaling, Kubernet, Docker, security; updates, automated updates, various HTTP headers, TLS/SSL, various encryption configurations and versions, ciphers, you name it..

I actually doubt if Zero Trust is tackling all of the security aspects.

[–] melroy@kbin.melroy.org 1 points 1 year ago (1 children)

You mean server.melroy.org? It's called HTML :)

[–] briongloid@aussie.zone 1 points 1 year ago (1 children)

I know HTML, I've known basic HTML since the 90's, I've just been looking for an application to make something that is above my low level skills.

[–] melroy@kbin.melroy.org 2 points 1 year ago

server.melroy.org is purely written in static HTML and CSS. Just like the 80's and 90's.