Using AWS Lambda to Reduce NodeJS App Size by@avonnadozie
3,266

Using AWS Lambda to Reduce NodeJS App Size

tldt arrow
Read on Terminal Reader🖨️

This article highlights the steps we took to reduce the size of our NodeJs apps running on AWS Lambda but it still relates to any Node app running anywhere. We dropped our 50MB - 75MB (compressed) node apps to 8MB - 10MB. Set AWS-SDK as Dev Dependency as a dev dependency. Remove Unnecessary Packages such as `aws-sdk` and its plugins like `serverless-offline. Use `depcheck` to scan your app for unused and missing dependencies in your CI/CD pipeline.

Company Mentioned

Mention Thumbnail
featured image - Using AWS Lambda to Reduce NodeJS App Size
Victor Anuebunwa HackerNoon profile picture

@avonnadozie

Victor Anuebunwa

LEARN MORE ABOUT @AVONNADOZIE'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart
Victor Anuebunwa HackerNoon profile picture
by Victor Anuebunwa @avonnadozie.Software and DevOps engineer. I write about my software development experiences.
Portfolio

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa