my adventures in #selfhosting - day 95 part 2, white flag edition
I turned my self-hosted Ghost blog private (for now) while I figure out reverse proxy / cache solutions for it.
It's absolutely ridiculous that the whole VPS would get overwhelmed by links to it shared on Mastodon.
Yesterday was a bit of a nightmare. I announced the new URL, tweaked an old toot to update the URL of a popular pinned article about PeerTube (pointing to my new self-hosted blog) and because the link had a preview card that servers had to fetch, the VPS immediately went offline. So people reading my announcement immediately reported they couldn't access the site. So embarrassing.
I'll plan to spend the weekend reflecting on the next steps.
Solution A: staying on my Ghost(Pro) plan which right now looks like a great deal for the money (considering all the features they offer, the lack of stress on my end and the superb customer support). Self-hosting would save me 5 dollars a month at best if I factor in a VPS, Mailgun newsletter integration and a CDN.
Am I so cheap that I will go through all this stress and uncertainty to save 5 dollars a month? Methinks not.
I just have a bruised ego because I literally spent 20+ hours moving the blog and I even started over from scratch twice. Yes I did the whole thing TWICE. First time around I found out at the last second the YunoHost installation was on mariaDB and no longer supported by the official Ghost team. Support had stopped 2 years ago even! So I signed up for a new VPS, installed everything from scratch with command lines... and the second I debuted the new thing, the VPS went offline because of a Mastodon toot with 100+ boosts. Who would have thought? The whole endeavor feels really cursed.
Solution B: figuring out reverse proxy / caching solutions... with no guarantees that a popular toot on Mastodon won't take down my whole VPS.
You can see where I'm leaning.
Aw the joys and pains of self-hosting! Lesson learned: sometimes a managed hosting solution can be a great investment and give you peace of mind.