* EC2 vs Lambda [comparison](https://www.nakivo.com/blog/aws-lambda-vs-amazon-ec2-which-one-to-choose/#:~:text=AWS%20EC2%20is%20a%20service,environments%2C%20and%20run%20custom%20applications.&text=AWS%20Lambda%20provides%20you%20a,an%20event%20trigger%20is%20activated.)
* EC2 : VM instance
* always running
* Pricing : CPU, memory, storage & runtime
* use-case : high-performance application, long running
* Lambda : Container
* Run when event triggered
* Pricing : based on running time
* Max Mem : 3008MB
* Max runtime : 900 sec
* use-case :
* automating task
* realtime log
* processing object upload to S3
* Storage
* EBS - Elastic Block Storage
* S3
* Messaging
* SNS - Simple Notification Service
* distributed Publish Subscribe system. push to subscriber