Usually, I’d aim for the cloud environments for public resources (serving more than like 20 people), as the traffic won’t be hitting your home network.
Additionally, selfhosting a public service like Lemmy on your home environment probably wouldn’t have the same uptime or reliability, as I only have one strong ISP signal, and no backup generator.
However, pricing wise, selfhosting at home is much cheaper for the processing power you get.
I avoid it for security reasons. But I have heard using Cloudflare can alleviate some concerns. And it is tempting to host at home because I have significantly more resources and bandwidth than I pay for on my cloud VPS