Search code examples
amazon-web-servicesaws-lambdaamazon-cloudfront

Are AWS lambda@edge costs in addition to cloudfront?


We have very high AWS cloudfront costs. It has been suggested that if some of our requests were served by lambda@edge, these costs could be reduced.

However, I am unsure if lambda@edge costs are in addition to cloudfront; For example:

Cloudfront costs: $1.20 per million
lambda@edge costs: $ 0.20 per million (plus duration costs).

On the face of it, lambda@edge could be cheaper than Cloudfront.... Unless we have to pay Cloudfront also.

Can anyone tell me if using lambda@edge also incurs Cloudfront costs or not?


Solution

  • Lambda@edge is in addition to CloudFront. The content is still served by CloudFront.