# Load Balancing / Scaling Node-Red AWS instance

**URL:** <https://discourse.nodered.org/t/load-balancing-scaling-node-red-aws-instance/53406>\
**Category:** General\
**Created:** [8 November 2021 22:20 UTC](https://discourse.nodered.org/t/load-balancing-scaling-node-red-aws-instance/53406 "2021-11-08T22:20:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrSidX](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrsidx/32/18935_2.png) [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Post date:** [8 November 2021 22:20 UTC](https://discourse.nodered.org/t/load-balancing-scaling-node-red-aws-instance/53406/1 "2021-11-08T22:20:46Z")

</div>

Anyone familiar with load balancing and scaling of node-red (AWS) instances?

I have a prototype platform I am developing with Node-Red, and I understand that the single (AWS T2.Small) instance I have it hosted on won't hold up when heavy traffic starts to use the platform.

I am about to embark on potential task of clustering / scaling / elasticizing this instance. I am tempted to just bump up the server resources on the instance, as I don't expect a huge leap in traffic... But then again I want to be ready.

I have scratched the surface on some Terraforming (infrastructure as code) and deploying environments in the past that setup a NR environment suited for the instance task at hand.

I am curious if anyone has any practical guidance on taking what I've done and making it saleable.  
What I've done in the past was setup a few instances across key regions, and had DNS region routing to each instance that was a clone of the original, but overall separated, and had hacky ways of sending over data to the other when changes in the DB are made and synced.

I have a DB locally on that instance, mongodb.

Any thoughts? Ideas? Tips?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 January 2022 22:21 UTC](https://discourse.nodered.org/t/load-balancing-scaling-node-red-aws-instance/53406/2 "2022-01-07T22:21:33Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
