From 2f51399eb9f69734373ca73fc82b2fdfce635569 Mon Sep 17 00:00:00 2001 From: Michael Petychakis Date: Fri, 2 Jun 2017 16:48:47 +0300 Subject: [PATCH 1/3] adding some important lambda limitations --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 58cb101..3311531 100644 --- a/README.md +++ b/README.md @@ -1323,7 +1323,11 @@ Lambda - ❗📜 Currently [as of October, 2016](https://github.com/open-guides/og-aws/pull/199/files/c99bddb4ee2437587f1e188d47be2bb1da01f81d#r83529126) Lambda functions can sometimes stop working for 2-3 minutes for failure recovery purposes according to a support ticket answer from Lambda development team. They are working to prevent this in the future. - 🔸 While adding/removing S3 buckets as triggers for Lambda function, this error may occur: "There was an error creating the trigger: Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type." In this case, you can manually remove the Lambda event in the "Events" tab in the "Properties" section of the S3 bucket. - 🔸 At the time of writing (12 December 2016) Dead Letter Queues are only available in the Ohio (us-east-2) region. -- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) include a max 6MB request or response payload size. +- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) includes a max 6MB request or response payload size. +- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) deployment package size (.zip/.jar file) has a default limit of 50 MB. This means that the packaged application should not exceed this limit. At the time of writing (2 June 2017) +- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) size of code/dependencies that you can zip into a deployment package (uncompressed zip/jar size) can be at most 250 MB. At the time of writing (2 June 2017) + + ### Lambda Code Samples From 234ceb6e68399e7c89cd1ba64a9f831bc91183bf Mon Sep 17 00:00:00 2001 From: Michael Petychakis Date: Fri, 2 Jun 2017 17:21:53 +0300 Subject: [PATCH 2/3] rephrasing to update resource limits for AWS lambda --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3311531..1c5a01e 100644 --- a/README.md +++ b/README.md @@ -1323,9 +1323,9 @@ Lambda - ❗📜 Currently [as of October, 2016](https://github.com/open-guides/og-aws/pull/199/files/c99bddb4ee2437587f1e188d47be2bb1da01f81d#r83529126) Lambda functions can sometimes stop working for 2-3 minutes for failure recovery purposes according to a support ticket answer from Lambda development team. They are working to prevent this in the future. - 🔸 While adding/removing S3 buckets as triggers for Lambda function, this error may occur: "There was an error creating the trigger: Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type." In this case, you can manually remove the Lambda event in the "Events" tab in the "Properties" section of the S3 bucket. - 🔸 At the time of writing (12 December 2016) Dead Letter Queues are only available in the Ohio (us-east-2) region. -- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) includes a max 6MB request or response payload size. -- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) deployment package size (.zip/.jar file) has a default limit of 50 MB. This means that the packaged application should not exceed this limit. At the time of writing (2 June 2017) -- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) size of code/dependencies that you can zip into a deployment package (uncompressed zip/jar size) can be at most 250 MB. At the time of writing (2 June 2017) +- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) include a max 6MB request or response payload size. +- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) include a deployment package size (.zip/.jar file) to be at most 50 MB. This means that the packaged/compressed application should not exceed this limit. This is valid at the time of writing (2 June 2017). +- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) include a size of code/dependencies that you can zip into a deployment package (uncompressed zip/jar size) which can be at most 250 MB. This means that the unpackaged/uncompressed application should not exceed the limit of 250 MB. This is valid at the time of writing (2 June 2017). From 4bc5f24b2958a8619d4e6c0aba6bcd6fa5a4a4eb Mon Sep 17 00:00:00 2001 From: Joshua Levy Date: Fri, 2 Jun 2017 20:13:05 -0700 Subject: [PATCH 3/3] Adjust language for brevity. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1c5a01e..46af00e 100644 --- a/README.md +++ b/README.md @@ -1323,10 +1323,10 @@ Lambda - ❗📜 Currently [as of October, 2016](https://github.com/open-guides/og-aws/pull/199/files/c99bddb4ee2437587f1e188d47be2bb1da01f81d#r83529126) Lambda functions can sometimes stop working for 2-3 minutes for failure recovery purposes according to a support ticket answer from Lambda development team. They are working to prevent this in the future. - 🔸 While adding/removing S3 buckets as triggers for Lambda function, this error may occur: "There was an error creating the trigger: Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type." In this case, you can manually remove the Lambda event in the "Events" tab in the "Properties" section of the S3 bucket. - 🔸 At the time of writing (12 December 2016) Dead Letter Queues are only available in the Ohio (us-east-2) region. -- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) include a max 6MB request or response payload size. -- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) include a deployment package size (.zip/.jar file) to be at most 50 MB. This means that the packaged/compressed application should not exceed this limit. This is valid at the time of writing (2 June 2017). -- 🔸 Lambda [resource limits](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) include a size of code/dependencies that you can zip into a deployment package (uncompressed zip/jar size) which can be at most 250 MB. This means that the unpackaged/uncompressed application should not exceed the limit of 250 MB. This is valid at the time of writing (2 June 2017). - +- 🔸 Lambda has several [**resource limits**](http://docs.aws.amazon.com/lambda/latest/dg/limits.html) as of 2017-06: + - A **6MB** request or response payload size. + - A **50 MB** limit on the compressed .zip/.jar file deployment package size. + - A **250 MB** limit on the code/dependencies in the package before compression. ### Lambda Code Samples