Question: is lambda cheaper than ec2?
Answer: For most periodic or very light workloads, Lambda is dramatically less expensive than even the smallest EC2 instances. Focus on the memory and execution time that a typical transaction in your app will need to relate a given instance size to the break-even Lambda cost.