# \[Announce\] Node-RED Runtime Bundler for 1.5MB AWS Lambda Functions

**URL:** <https://discourse.nodered.org/t/announce-node-red-runtime-bundler-for-1-5mb-aws-lambda-functions/45565>\
**Category:** Share Your Nodes\
**Created:** [12 May 2021 22:42 UTC](https://discourse.nodered.org/t/announce-node-red-runtime-bundler-for-1-5mb-aws-lambda-functions/45565 "2021-05-12T22:42:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aheissenberger](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aheissenberger/32/41388_2.png) [@aheissenberger](https://discourse.nodered.org/u/aheissenberger)\
**Post date:** [12 May 2021 22:42 UTC](https://discourse.nodered.org/t/announce-node-red-runtime-bundler-for-1-5mb-aws-lambda-functions/45565/1 "2021-05-12T22:42:50Z")

</div>

Hello everyone,

_this is my first project with Node-RED - so please be patience with me_ 🙂

My goal is to provide a very small runtime which reduces cold start times and allows to use flows to build AWS Lambda functions without editor support.

**Current Results:**

- Package-Size for simple Event IN-\>OUT flow: 1.5MB
- Lambda Coldstart Duration: 50ms / Init Duration: 350.54 ms
- Lambda recurrent calls Duration: 1.8-2.0ms (Memory Size: 1024 MB Max Memory Used: 89 MB)

The created single Javascript file can be executed in any Node \>=14 environment. All needed Node-RED modules and Nodes (needed by the flow) are included.

I am happy to hear your Feedback and yes, the cold start times need some more work.

> **[node-red-contrib-bundler](https://www.npmjs.com/package/node-red-contrib-bundler)**
>
> Bundle Node-RED and all required node into one minified javascript file for AWS Lambda and command line apps.

Thanks to everyone for the existing software I was able to built on.
