Using AWS Lambda to Reduce NodeJS App Size

Using AWS Lambda to Reduce NodeJS App Size

hackernoon.com hackernoon.com1 month ago in#Dev Love22

This article highlights the stairs we took to scale back the dimensions of our NodeJs apps operating on AWS Lambda but it surely nonetheless relates to any Node app operating any place. We dropped our 50MB – 75MB (compressed) node apps to 8MB – 10MB. Set AWS-SDK as Dev Dependency as a dev dependency. Remove Unnecessary Packages corresponding to `aws-sdk` and its plugins like `serverless-offline. Use `depcheck` to scan your app for unused and lacking dependencies to your CI/CD pipeline. Victor Anuebunwa Software and DevOps engineer. I write about my tool construction reports. Tags Join Hacker Noon Create your unfastened account to liberate your customized studying revel in.  » Read More

Like to keep reading?

This article first appeared on hackernoon.com. If you'd like to keep reading, follow the white rabbit.

View Full Article

Leave a Reply