Why minimize your deployment package size to its runtime necessities - AWS Lambda

0 votes
I'm very new to AWS and somewhere I read its a good practice to minimize your deployment package size to its runtime necessities. I would like to know the reason behind it. Thank you.
May 20 in AWS by Tanishq
46 views

1 answer to this question.

0 votes

Hey @tanishq, doing this will reduce the amount of time that it takes for your deployment package to be downloaded and unpacked ahead of invocation. For functions authored in Java or .NET Core, avoid uploading the entire AWS SDK library as part of your deployment package. Instead, selectively depend on the modules which pick up components of the SDK you need

answered May 20 by Adil

Related Questions In AWS

+3 votes
3 answers
+2 votes
3 answers
0 votes
2 answers
+1 vote
3 answers

Not able to pass params POST to AWS Lambda from Amazon API Gateway

For this template : application/x-www-form-urlencoded  This line below will ...READ MORE

answered Jun 13, 2018 in AWS by Cloud gunner
• 4,280 points
2,211 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Why to separate the Lambda handler from the core logic?

Separating the Lambda handler (entry point) from the core ...READ MORE

answered May 20 in AWS by Tushar
59 views