Platforms
Self-host the parts a vendor cannot be exited from

The test is exit, not cost
A dependency is acceptable when leaving it is a weekend. It is not acceptable when leaving it means losing the address your customers know you by.
What actually got self-hosted
Mail with its own DKIM and SPF alignment, DNS, internal search, and model routing behind one gateway. Each is operated, logged and backed up — not installed once and forgotten.
Where managed wins
Compute, storage and messaging scale better rented. The line to draw is between commodity capacity and identity — rent the first, own the second.