The "start over in an hour" philosophy is underrated. I've been running my own infrastructure for years and the single most empowering thing isn't the setup, it's the peace of mind that you can just nuke it and spin up somewhere else.
Knowing that, I started looking at every SaaS subscription very differently.
Good idea, but I don't think it's good to teach habits like "SSH into root, and get my script" or inputting random commands if you don't understand what they do. Something in this long, technical sequence of steps could contain malware.
I have been going partially down the same road, getting my own domain for email, so I can switch between providers (or self-host) in the future. A couple of notes:
- You dont actually own the domain, you kind of lease it, and will have to pay every year for renewal. The renewal price can be significantly higher than the "purchase" price, so be carefull to pick one with a low renewal price. I dont really know if there is any guarantee against the renewal-price increasing in the future, so you might end up kind of stuck.
- The email provider must support using a custom domain, which many do on their paid plan.
- Some support "catch-all" feature, that emails sendt to any adressess @yourdomain.com goes into the mailbox. Then you can register at places with e.g [email protected] or [email protected]. But if you do this you can only move to other providers providing the same in the future. You can not neccesarrily send from the same adresses though!