3 ms·
You can also customize request or response headers with AWS Lambda @ Edge and it only costs $0.60 per million requests: https://nvisium.com/resources/blog/2017/
by illumin8 8y ago
You can also customize request or response headers with AWS Lambda @ Edge and it only costs $0.60 per million requests: https://nvisium.com/resources/blog/2017/08/10/lambda-edge-cloudfront-custom-headers.html https://nvisium.com/resources/blog/2017/08/10/lambda-edge-cl...
- kentonv 8y agoI try to avoid commenting on competitors... but I really have to point out that Amazon's pricing is misleading here. To use Lambda@Edge, as far as I can tell, you need to pay for: - Lambda@Edge base cost: $0.60/M - Lambda@Edge CPU/RAM cost: minimum $0.31/M (every request is rounded up to at least 128MB+50ms) - CloudFront requests: minimum $1.00/M (assuming HTTPS in US+Canada) - CloudFront egress bandwidth: minimum $1.70/M (assuming average 20KB responses in US+Canada) - Probably other things, too? So... $3.61 per million... and probably more due to bandwidth and region. Cloudflare Workers charges $0.50 per million requests, with a $5 monthly minimum (covering your first 10M requests). There are no other costs: You can use it on top of Cloudflare's free plan, which gives you unlimited bandwidth. And... it performs better: https://blog.cloudflare.com/serverless-performance-comparison-workers-lambda/ https://blog.cloudflare.com/serverless-performance-compariso... (Disclosure: Again, I'm the tech lead of Cloudflare Workers, so take my comments on competitors with appropriate grains of salt...)