> If you are married to AWS, that's a weakness in itself
I have tried Lambdas and then got this "oh-shit moment" when I have realized that if AWS would be to kick me out, I would be absolutely screwed.
Now I am slowly dispersing and using VMs instead and avoiding all the AWS-specific stuff as much as I can.
If your threat model is AWS deciding you break their AUP, the issue is with you doing AUP breaking stuff. This ain’t your personal Google Play account.
Most cloud providers have a similar offering to AWS Lambda, plus it is not that hard to convert your code from the event handling pattern impose by AWS Lambda to a long running container running in K8s or VMs like you are doing yourself
IMO the lock-in fear is overblown as the top cloud offerings (S3, Lambdas, K8s as a service etc) are already commoditized among the top providers, the exception being specialized databases like DynamoDB, Spanner, Cosmos …
Not saying there wouldn’t be some major work to switch your operations from eg AWS to GCP, but it is also not a hard lock-in