Which does beg the question of why does lambda compute have to cost more per unit of work, however you define it. I may be wrong, but I would think that, from a cloud provider point of view, it is actually more efficient at resources and energy utilization, so is it just because of the convenience?
Comments
1. it doesn't necessarily cost more per unit of work. I have seen large EC2 clusters avg sub 5% CPU, if you move those workloads to Lambda, cost per unit of work would be lower because you carry less waste.
* multi-az redundancy
* load balancing across AZs
* large pool of capacity to scale into on-demand (that you're not paying for when you're not using)
* OS patching on the host
* network security on the host
* patching for managed runtimes
* ESM for polling event sources
* blue-green deployment
there're probably others, but those are things I no longer have to worry about and AWS is taking care of for me
AFAIK Lambda is a loss leader and AWS doesn't make money from the Lambda service