Serverless computing allows deployment of workloads without managing EC2 instances, focusing on application differentiation
AWS has developed serverless services for all three layers of the application stack
With Lambda, you can run code without provisioning or managing servers
Lambda runs your code on a high availability compute infrastructure and requires no administration from the user
The Lambda function is the foundational principle of AWS Lambda
With Fargate, you can use all the same Amazon ECS concepts, APIs, and AWS integrations
AWS Fargate is a purpose-built serverless compute engine for containers
Fargate supports both Amazon ECS and Amazon EKS architecture and provides workload isolation and improved security by design
AWS rounds up duration to the nearest ms with no minimum run time
You are charged for the number of times that your code is invoked (requests) and for the time that your code runs, rounded up to the nearest 1 millisecond (ms) of duration