Lambda architecture costs
You are responsible for the cost of the AWS services used while running the Lambda architecture. The below table gives the breakdown of costs for different workload sizes.
Assumptions
-
90% cache hit rate
-
Average image size: 45 KB
-
350 ms processing time per image
| AWS service | 10M images served | 125M images served | 500M images served |
|---|---|---|---|
|
Amazon API Gateway |
$1.00 |
$13.00 |
$50.00 |
|
AWS Lambda |
$0.93 |
$12.08 |
$46.46 |
|
Amazon CloudFront |
$200.00 |
$200.00 |
$1000.00 |
|
Amazon S3 |
$0.40 |
$5.00 |
$20.00 |
|
Amazon CloudWatch |
$1.15 |
$19.17 |
$75.67 |
|
Total |
$203.48 |
$249.25 |
$1192.13 |