Motive

Whether it is because AWS decided to charge you an exorbitant sum for what you thought was an EC2 instance or because you actually care about who has your data, self-hosting services is an excellent idea.

Whether it is because you have some hardware lying around or because you want to build a dev environment you don’t care about breaking having a homelab can be a rewarding learning experience.

I personally host services on a Mini PC using Docker containers. I expose these services through Cloudflare Tunnels and route traffic through an Nginx Proxy Manager instance. For local connectivity I make use of Tailscale (SSH, RPD)

Resources

You can find my Github repo which comes with automation scripts.

https://github.com/blacksmithop/homelab

I also have a Medium article explaining the NPM, Cloudflare Tunnels setup

https://medium.com/@angstycoder101/forget-the-cloud-run-your-own-server-with-cloudflare-tunnels-cb73cb5f18ab

Video:

https://www.youtube.com/watch?v=Udc6HeOqxCY