Reduce Lambda Package Size w/ Serverless Framework

Gary Jennings
May 12, 2020

Key Features

Reduce the Size Of Your AWS Lambda Packages
Improve Performance & Reduce Cold Starts
Leverage a Serverless Framework Plugin to Setup
Download Template

Detailed Overview

When working with AWS Lambda functions you have to be careful of how many dependencies you utilize.

Each dependency adds additional package size which adds extra download time when your AWS Lambda function is invoked.

Now you can easily reduce Lambda package size with Serverless Framework

This pattern shows:

  • Basic Serverless Webpack Usage
  • Include Other Files via Webpack Copy Plugin
  • Refactor to Webpack

Gary Jennings

Frontend Engineer @ AWS Serverless Application Experience

Gary Jennings is a React/Serverless developer located in Calgary, Alberta with a passion for building frontend applications.

Join the Community

Gather, share, and learn about AWS and serverless with enthusiasts worldwide in our open and free community.