Hacker News new | past | comments | ask | show | jobs | submit login

Ooh, another one I have: I cosplay as a sysadmin.

A while back I had bought a domain for my email, and I thought “I should write a blog about creating a blog”. At first I hosted it in GitHub Pages, but then I realized I have a perfectly good Raspberry Pi. It’s not like I’m ever gonna get a lot of traffic… so why not self-host?

That sent me into a very deep rabbit hole. How do I make sure my website doesn’t go down if my IP address changes (no static IPs for me, sadly)? How do I create and automatically renew a certificate? How do I achieve high availability?

A few years passed, and now I have a cluster of a few Raspberry Pis running Docker Swarm, managed by Portainer, with stacks running multiple websites and services I self-host. I’ve learned a lot!

My next move is going to be a full overhaul: Docker Swarm is blocking me from setting up some things the way I want to, so I want to build a new cluster using Kubernetes. I’ll use the opportunity to overhaul the network layout as well.

The funniest part is that I haven’t written a single blog post in 3 years. I wanted to add responsive images so I could add diagrams and photos. Somewhere along the way I realized I shaved too many yaks.




What's your stance on using something like cloudflare to proxy your pie fleet?

Cloudflare tunnel would solve the issue of static IPs and you also get DDoS mitigation and caching. Caching on the edge would be especially beneficial for something like a blog which is likely to be fully static or SSG at most. Although it won't help you with the writing part (;


I’ve never even considered, really… I wanted to stick to self-hosting and FOSS as much as I could, and it all gets very little traffic.

You’re right that it’s a good idea, though. I’ll look into it!


Can't believe I haven't heard this usage of the phrase "yak shaving" before, I only know it from the classic Ren and Stimpy christmas album that I had when I was a kid :)

https://www.youtube.com/watch?v=5mmISldi060

I realise now that I've spent most of my career just shaving yaks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: