AWS Lambda
Aug 6, 2023
Amazon EC2 is limited by RAM and CPU. Scaling needs adding servers.
Amazon Lambda — No Scaling is needed. Limited by time and on-demand.
Benefits
- Pay per request. Free tier is provided.
- Used with many programming languages. Java, Go, Python etc.
- Easy monitoring with CloudWatch.
- Integration with AWS services.
- Lambda is integrated with S3, so data is pushed in DynamoDB ( server less database)
- Use case: CloudWatch can cron job to trigger AWS lambda function.
- Pricing: pay per call and duration.
Check: https://aws.amazon.com/lambda/pricing