Skip to content

Lambda@Edge - Unable to increase memory size

0

Hello,

Trusted Advisor gave me a performance recommandation which was to increase the memory size of some of my Lamda@Edge from 128Mo to at least 160Mo. Enter image description here

So I proceeded to the update using Cloudformation but the deploy failed: Enter image description here

I guess the under-provisioned memory side for functions check should be reviewed in order to ignore memory size increase for lambdas attached to Cloudfront; or, Lambda@Edge could accept memory size limit above 128Mo

Did anyone else encounter this same problem ?

Thank you in advance,

1 Answer
0

Lambda@Edge has a number of limitations, one of which is a maximum of 128MB memory size for viewer request and viewer response events. This does not apply to origin request and origin response events.

You can find this limit and others here https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-lambda-at-edge

AWS
EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.