5 common mistakes deploying Lambda functions

Paul Swail
Aug 29, 2018 · 3 min read

1. Not using a deployment toolkit

2. Setting and forgetting memory allocation

REPORT RequestId: be2fc81e-8345-11e8-b334-cb4ce1d5d651	Duration: 30914.88 ms Billed Duration: 31000 ms Memory Size: 256 MB	Max Memory Used: 111 MB

4. Timeouts in Node.js functions

context.callbackWaitsForEmptyEventLoop = false;

5. Not setting up budget alerts


Paul Swail

Written by

I help organisations design and build web apps on AWS, particularly those of the serverless variety. I also run my own bootstrapped SaaS product business.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade