3 ms·
One reason serverless isn't the solution for most applications is that you're basically making yourself entirely dependent on the API of one specific cloud host
by jeroenhd 6y ago
One reason serverless isn't the solution for most applications is that you're basically making yourself entirely dependent on the API of one specific cloud host. If Lambda decides to double its price, there's nothing you can do about it but pay. If you need to store your data in a specific place (for example, in Russia, because all Russian PII must be stored in Russian borders), then you're out of luck. And best of luck to you if you're about to catch a big customer but they demand your application to run on their premises.
There's also the long-time guarantee; if you write an application that runs on Ubuntu Server or Windows Server now, you can bet your ass that it will still run, unchanged, for another 10 years. The only maintenance you need to do is to fix your own bugs and maybe help out with some database stuff. If you deploy a Lambda app now, you have nothing to guarantee compatibility for such a long time other than "Amazon probably won't change their API, I think".
- nicbou 6y agoYou can also predict the costs, and shop around if your provider gets greedy. If Amazon changes its pricing structure, what are you supposed to do?
- ajsnigrutin 6y agoIt's a lot easier to change providers, if your service is an (eg.) docker image(s), than to move something relying on amazons api.
- xorcist 6y agoIt's even easier if your application is just (an equivalent of) a binary, or a tarball.
- ForHackernews 6y agoUnless it relies on any system libraries, in which case you're in dependency hell when you upgrade or change the OS.
- joana035 6y agoThis is a solved problem, and dependency hell happen when not choosing dependencies wisely when creating programs.
- VHRanger 6y agoIf you built everything in proprietary infrastructure, porting is a lot more work. Using lambdas tie you to AWS because as soon as you use a few step functions, or you have a few lambdas interacting, changing to Azure or GCP becomes a huge pile of dev work and QA. Having everything "just run" on linux instances let you be perfectly portable and now you can actually shop around.