We have used a combination of AWS Lambda + Amazon ECS, which is kind of similar what you're describing. We are working now to extend the abstracted library that empowers developers to choose programmatically what service to use: https://www.npmjs.com/package/deep-resource ;)