Containers
Immutable resources
Lambda
Kubernetes
Fargate
When do we use Lambda versus Fargate versus EC2?
Lambda
Fargate
EC2
We want to use EC2 when we think about costs and long running content and we want to think about Fargate
when we just want to run that container for a little bit of time and ease of use is the most important piece
When it comes to Fargate versus Lambda, Fargate excels for containers that need to run for a bit longer but we still don’t want servers and Lambda excels at that short and simple code.