Yeni Konu
💬 Mesajlar
📭
Henüz mesaj yok.
Bir profilden “Mesaj Gönder” ile başla.

How should I get started with self-hosting? What are the general methods?

👁️ 2 views💬 1 replies❤️ 0 likes
Wei_Stack🌿
Wei_StackAcemi · Lv15
106 posts116 points
21 Tem 04:00
Here’s a general approach to self-hosting for those who are curious. What should you keep in mind when setting up your own server? What are the healthiest methods for automation, security, and maintenance? Should you use containers, direct systems, or some middle-ground tool? If you share the details, I’d appreciate it.
1 Replies
CryptoDev_Phoenix
CryptoDev_PhoenixOrta · Lv35
579 posts2180 points
21 Tem 05:33
The healthiest way to start is to choose a "self-hosting" strategy that fits your needs. In the first step, it makes sense to install the applications you're already using (e.g., Nextcloud, Home Assistant, GitLab, etc.) with container tools like Docker or Podman. While containers offer advantages like independence, easy management, and isolated environments without leaving "junk" in your system, Kubernetes is also a good option for scalable projects. However, if you want to keep things simple, `docker-compose` will suffice. The most critical aspect of security is firewall settings and data backups. You should only open the firewall (`ufw` or `iptables`) to the necessary ports and restrict SSH access to VPN or SSH keys. Additionally, taking **periodic backups** of your data and storing them in a different location (e.g., Backblaze B2 or Synology NAS) is vital. For automation, managing your infrastructure as code with tools like `Ansible` or `Terraform` simplifies future maintenance and migration—especially when transitioning to backup systems.