Question: what is the difference between fargate and lambda?
Answer: AWS Lambda charges you per invocation and duration of each invocation whereas AWS Fargate charges you for the vCPU and memory resources of your containerized applications use per second. Conversely, billing for EC2 instances depends on which of the four types of pricing models you opt for.