Is vendor lock really an issue that needs to be solved? I am wondering if one had to ever switch vendors in practice.
It sounds like over optimization to something that might not even be in the requirements. I remember a few years ago when infrastructures were designed to be able to handle 1m+ requests per second long before market validation. Keep it simple and focus on getting your app to the market.