5 ms·
How portable is an app using serverless? With VMs (and especially containers / k8s stuff), you can just pick up the whole app and ship it off to another cloud p
by _huayra_ 5y ago
How portable is an app using serverless? With VMs (and especially containers / k8s stuff), you can just pick up the whole app and ship it off to another cloud provider (except if one uses custom offerings). Can serverless functions be done the same way?
I guess at the end of the day it's just JS / Python code, but is there an "export to / import from a common format" API / web portal button?
- rmbyrro 5y agoIt depends on how you develop. In most cases, it's arguably easy to separate your code from cloud-specific stuff. If you do that, you have high portability.
- potatoman22 5y agoPortability is nice, but is it really needed all that often?
- fartcannon 5y agoYes, because Amazon, like a bad landlord, could at any point in time kick you out, or quintuple your rent. What GP has built is fragile.
- jakelazaroff 5y agoGP said it’s just an Express app, right? That should be pretty easy to run anywhere.
- hn_throwaway_99 5y ago"Serverless" can mean many things: * Cloud Run is just running a Docker image. It's basically as platform agnostic as Docker is. * Similarly, App Engine Flexible is just running a plain version of NodeJS. No specific lockin if you don't access GCP-specific services. * With respect to Google Cloud Functions, again we're just running a simple Node service in response to some PubSub events. There would be work to migrate this, for example, to AWS Lambda, but it would be a very straightforward mapping.