> Source: https://meetrix.io/blogs/node-red-aws-marketplace/
> Markdown copy of that page. Cite the URL above, not this file.

Development

# Node-RED on AWS: Self-Hosted Low-Code Automation

[By Shalomi Umeshika](https://meetrix.io/blogs/authors/shalomi-umeshika/) • November 17, 2026 • 9 min read

## Automation that doesn't bill you per task

Hosted automation tools charge by the task. Every webhook, every sensor reading, every API call that moves through a workflow counts, and the bill climbs with your volume. That's fine for a few hundred runs a month. It stops being fine when a factory floor sends MQTT readings every second, or when an integration polls an API all day long. **Node-RED** runs those same flows on your own server, with no task meter at all.

Meetrix's AMI gets you set up in about five minutes: Node-RED 5.0.9 on Node.js 24 in Docker, running on Ubuntu 26.04, behind Nginx with automatic Let's Encrypt SSL and the editor login already switched on. Below you'll find the install steps, your first flow, the one security setting most people overlook, and an honest comparison with Zapier and n8n. You can [launch the Meetrix Node-RED AMI on AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-jiau67v3nkccw).

The Quick Verdict

Node-RED fits

IoT, MQTT and device data

MQTT, TCP, UDP and WebSocket nodes are built in. Hosted automation tools mostly don't speak to devices at all.

Node-RED fits

High-volume integrations

A flow that runs a million times a month costs the same server as one that runs ten times.

Use Zapier

A few SaaS-to-SaaS automations

Thousands of ready-made app connectors and no server to run. At low volume, it's less work.

Look at n8n

AI agents and business workflows

If your flows are mostly LLM calls and SaaS apps rather than devices, compare n8n before you choose.

## What is Node-RED?

[Node-RED](https://nodered.org/) is an open-source, low-code tool for flow-based programming, released under the Apache 2.0 licence and run as an OpenJS Foundation project. You build a flow in the browser by dragging nodes onto a canvas and wiring them together, then deploy it with one click. Release notes live on [GitHub](https://github.com/node-red/node-red/releases), and 5.0.9 is the current maintenance release, published October 21, 2026.

This one is a bit bigger than a typical maintenance release. Flows can now be drag-ordered in the Explorer sidebar, tabs and the explorer show error badges, HTML script and style blocks get JavaScript and CSS support, and the Monaco editor moves to 0.57. The 5.0 line also raised the bar on the runtime: Node.js 22.9 or later is required, with Node.js 24 recommended. If you're on a Raspberry Pi 3B or earlier, note that 5.0 dropped 32-bit ARM support.

### What it does

Devices and protocols

-   MQTT, HTTP, WebSocket, TCP and UDP nodes out of the box
-   A natural fit for sensor data, gateways and home automation

APIs and integrations

-   Build REST endpoints with http in and http response nodes
-   Call any API, transform the JSON, and pass it on

Logic and code

-   Switch, change and template nodes for routing and shaping messages
-   Function nodes when you need a few lines of JavaScript
-   Inject nodes for scheduled jobs

Community nodes

-   Install database clients, dashboards and cloud integrations from the palette manager
-   Browse what's available in the [Node-RED flow library](https://flows.nodered.org/)

## Who Node-RED on AWS suits

A good fit if you are

-   An IoT or operations team moving MQTT readings into databases, dashboards and alerts
-   A developer who wants quick REST endpoints and glue code without building a full app
-   Running integrations at a volume where per-task pricing hurts
-   Keeping data inside your own AWS account for compliance

Look elsewhere if you need

-   Hundreds of ready-made SaaS connectors with OAuth handled for you
-   Non-technical users building automations alone, with no developer nearby
-   No server to look after at all

## Why run Node-RED on AWS?

You could run the Docker image anywhere. The AMI exists for the parts around it that are easy to postpone and painful to skip.

One stack, everything set up

CloudFormation creates the VPC, a subnet, a security group and an IAM role, plus the server with Node-RED running in Docker behind Nginx. The stack only completes once Node-RED is actually up.

Login on from the start

A plain Node-RED install opens the editor to anyone who can reach it, and the [official docs](https://nodered.org/docs/user-guide/runtime/securing-node-red) are blunt about this: "By default, the Node-RED editor is not secured". The AMI turns on the admin login using the password you set in the stack.

SSL without the fiddling

On a Route 53 domain, the Let's Encrypt certificate is issued for you. Anywhere else, one script on the server handles it once DNS resolves.

Narrow permissions

The IAM role the stack creates only allows the Route 53 change for SSL and the signal that tells CloudFormation the server is ready.

Billing goes through your AWS account, like the rest of our [self-hosted software on AWS](https://meetrix.io/blogs/self-hosted-software-aws/).

## Install Node-RED on AWS in five steps

1.  Subscribe on AWS MarketplaceSubscribe to [Node-RED on AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-jiau67v3nkccw), choose the CloudFormation fulfilment option, and click Launch CloudFormation.
2.  Fill in the stack parametersUse the table below. Leave the VPC and subnet ranges at their defaults.
3.  Create the stackTick the box acknowledging IAM resources, then wait about five minutes for `CREATE_COMPLETE`. If it fails on vCPUs, follow our guide to [increase your AWS vCPU quota](https://meetrix.io/blogs/increase-aws-vcpu-quota/).
4.  Point your domainCopy `PublicIp` from the Outputs tab and create a DNS A record for your `DomainName`.
5.  Sign inOpen `DashboardUrl`, or `DashboardUrlIp` over plain HTTP until DNS and SSL are ready. The username is `admin` and the password is your `AdminPassword`.

### Stack parameters

| Parameter | What to enter | Default |
| --- | --- | --- |
| `DomainName` | The domain for the editor, e.g. `nodered.example.com`. SSL is automatic when it's hosted on Route 53. | None |
| `AdminEmail` | Your email, used for the SSL certificate | None |
| `AdminPassword` | The editor's admin password: 8 to 64 characters, using letters, digits and `!@#%^*_+=.,-` only | None |
| `InstanceType` | Server size. `t3a.small` is recommended. | Your choice |
| `KeyName` | An existing EC2 key pair, for SSH access | None |
| `SSHLocation` | Which IPs may SSH in. Use your own IP with `/32`. | None |
| `DeploymentName` | A label, useful if you run more than one stack | None |
| `VpcCidrBlock` / `SubnetCidrBlock` | Network ranges. Keep the defaults. | `10.0.0.0/16` / `10.0.0.0/24` |

The [Node-RED developer guide](https://meetrix.io/blogs/nodered-developer-guide/) walks through each step with screenshots, plus manual SSL, logs and troubleshooting.

### Seeing a 502 Bad Gateway?

Nginx is up but Node-RED isn't answering yet. Wait a few minutes after launch and refresh. If it sticks around, check the container:

```bash
sudo docker ps
sudo docker logs --tail 100 -f nodered
```

## Build your first flow

A quick way to see Node-RED working end to end is an HTTP endpoint that answers with JSON.

1.  Add an http in nodeFrom the network category, drag it onto the canvas, set Method to GET and URL to `/hello`.
2.  Add a function nodePaste the code below into its On Message tab.
3.  Add an http response nodeWire http in to function, and function to http response.
4.  Deploy and call itClick Deploy, then call `https://your-domain/hello`. A JSON reply with the current time means the flow is live.

```javascript
msg.payload = { message: "Hello from Node-RED", time: new Date().toISOString() };
return msg;
```

Your endpoints are public until you protect them

The admin login protects the editor, not the endpoints you build. Anyone who knows the URL of an http in endpoint can call it. Set `httpNodeAuth` in `/opt/nodered/data/settings.js` to require a username and password. The official guide to [securing Node-RED](https://nodered.org/docs/user-guide/runtime/securing-node-red) covers the exact configuration.

## Running Node-RED safely

The editor is a code runner

-   Anyone who can log in can run their own code on the server through function nodes.
-   Keep the admin password private, and add read-only users in the `adminAuth` block of `settings.js` instead of sharing it.

Server

-   Restrict `SSHLocation` to your own IP range.
-   Some community nodes use a lot of memory; if the server slows down after installing them, move to a larger instance.
-   The hardening guide recommends locking the palette in production (`externalModules.palette.allowInstall: false`) and running Node-RED as a non-root user.

### Back up flows and the secret together

Everything Node-RED stores lives in `/opt/nodered/data`: `settings.js`, `flows.json`, `flows_cred.json` and the installed nodes. Back it up together with `/opt/nodered/.env`, because the credentials in `flows_cred.json` can only be decrypted with the `NODE_RED_CREDENTIAL_SECRET` in that file, and each deployment generates its own. The security guide is explicit on this point: set your own `credentialSecret` and keep it out of Git and out of the backup archive.

```bash
cd ~
sudo tar -czf nodered-backup-$(date +%F).tar.gz -C /opt/nodered data .env
```

**An editor export is not a backup.** Exporting flows with Ctrl+E gives you the flow JSON but leaves out the credentials. Keep the server archive as well.

Upgrades

For a new AMI version, back up, launch a new stack and restore the archive into it; the developer guide includes the restore commands that carry the credential secret across. For a minor release you can also bump `NODE_RED_VERSION` in `.env` and pull the new image (after a backup).

## Node-RED vs Zapier vs n8n

These three overlap, but they were built for different jobs. Zapier's numbers below are from its [pricing page](https://zapier.com/pricing) as of November 17, 2026.

|  | Node-RED on AWS by Meetrix | Zapier | n8n (self-hosted) |
| --- | --- | --- | --- |
| Licence | Apache 2.0, open source | Proprietary, hosted only | Fair-code, Sustainable Use License |
| Pricing model | Marketplace software fee plus AWS charges; no per-task fees | By tasks: Free 100/month; Pro from $19.99/month (annual) for 750 | Free to self-host under its licence terms; paid plans for extra features |
| Strongest at | Devices, MQTT, protocols, custom endpoints | SaaS-to-SaaS automation with ready-made connectors | Business workflows and AI agents |
| Device protocols | MQTT, TCP, UDP, WebSocket built in | Not its focus | Via nodes and community packages |
| Where data runs | Your AWS account | Zapier's cloud | Your server |
| Who builds flows | Developers and technical operators | Anyone, no code | Technical users, low code |

Here's my view. If your automations are a handful of "new form entry, add a row, send a Slack message" jobs, Zapier is less work. If they involve devices, protocols or volume, Node-RED is the better tool and the cheaper one. And if they're mostly LLM calls and agents, read our [Flowise, Langflow and n8n comparison](https://meetrix.io/blogs/flowise-vs-langflow-vs-n8n/) before you decide.

## AMI, Docker, or hosted

Recommended

Meetrix AMI on AWS Marketplace

Best for production flows with the least effort

Editor login, Nginx, SSL and narrow IAM permissions set up for you, billed through your AWS account. Supported by Meetrix.

Docker or npm

Best for a laptop or a Raspberry Pi

The [official docs](https://nodered.org/docs/) cover both. The editor is open until you configure `adminAuth`, and SSL is yours to add.

A hosted automation tool

Best for a few SaaS automations

Zapier and similar tools need no server, and price by the task.

## Resources

[

Node-RED - Developer Guide

Step-by-step deployment on AWS: launching the AMI, creating the CloudFormation stack, pointing DNS, building and securing your first endpoint, backing up flows, and upgrading.

Meetrix.IO | Binuka Ranatunga

![Node-RED AWS Developer Guide cover](https://meetrix.io/blog-images/paas-products-articles/nodered/node-red-image.png)](https://meetrix.io/blogs/nodered-developer-guide/)

## Is Node-RED on AWS worth it?

For device data, protocol work and integrations that run thousands of times a day, yes. You get a visual editor, MQTT and HTTP out of the box, no task meter, and the data in your own AWS account, on one small server. The AMI handles the setup that usually gets skipped: the editor login, the certificate and the permissions.

It's a weaker deal for a few SaaS automations built by non-developers; a hosted tool does that with less effort. Whichever way you go, protect your endpoints with `httpNodeAuth` and back up `.env` with your flows.

Node-RED pairs well with the rest of a self-hosted stack: send its alerts to a [self-hosted Mattermost](https://meetrix.io/blogs/mattermost-ami-aws-marketplace/) channel, or chart its sensor data with the setup in our [Grafana developer guide](https://meetrix.io/blogs/grafana-developer-guide/). Specs and launch options for AWS and Google Cloud are on the [Node-RED store page](https://meetrix.io/store/node-red/).

## Frequently Asked Questions

What is Node-RED?

Node-RED is an open-source, low-code tool for flow-based programming. You wire nodes together in a browser to connect devices, APIs and services.

Is Node-RED free?

Yes. Node-RED is open source under Apache 2.0. With the Meetrix AMI, you pay the Marketplace software fee plus your normal AWS infrastructure charges, but there are no per-task fees.

What are the login details?

The username is admin. The password is whatever you set as AdminPassword in the CloudFormation stack.

Which instance type should I use?

t3a.small is recommended for most flows. Move to a larger instance if you install memory-heavy community nodes or run many flows at once.

Are my HTTP endpoints protected by the editor login?

No. The editor login only protects the editor. Configure httpNodeAuth in settings.js to protect the endpoints you build.

How do I back up my flows?

Archive /opt/nodered/data together with /opt/nodered/.env: the credential secret in .env is required to decrypt flows\_cred.json. An editor export on its own is not a full backup.

Is Node-RED a Zapier alternative?

Partly. Node-RED is better for devices, protocols and high-volume integrations. Zapier is better for a small number of SaaS-to-SaaS automations built by non-developers.

What's new in Node-RED 5.0.9?

It's a maintenance release with drag-orderable flows in the Explorer sidebar, error badges on tabs and the explorer, JavaScript/CSS support in HTML script and style blocks, and the Monaco editor updated to 0.57.

Where do I get help?

Start with the Meetrix [developer guide](/blogs/nodered-developer-guide/). For issues with the AMI itself, contact Meetrix support. For Node-RED questions, the official docs and forum are the best places to look.

## Ready to run your own automation server?

Deploy Node-RED on AWS in about five minutes, with the editor login and SSL set up for you. Your flows, your data, your server.

[Get Started on AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-jiau67v3nkccw)

Meetrix Store

Node-RED

Low-code flows that wire together IoT devices, APIs and services

[Deploy it](https://meetrix.io/store/node-red/)

Meetrix Store New

Deploy what this guide covers, pre-configured.

-    [Node-RED Low-code flows that wire together IoT devices, APIs and services](https://meetrix.io/store/node-red/)
-    [Grafana Dashboards and alerts for Prometheus and more](https://meetrix.io/store/grafana/)
-    [Apache NiFi Real-time data pipelines with provenance](https://meetrix.io/store/apache-nifi/)
-    [Jitsi Meet Self-hosted video calls for 50 to 500 users](https://meetrix.io/store/jitsi-meet/)
-    [RustDesk Remote desktop AMI, a TeamViewer alternative](https://meetrix.io/store/rustdesk/)
-    [Coturn TURN/STUN for WebRTC, no per-minute relay fees](https://meetrix.io/store/coturn/)

[Browse all products](https://meetrix.io/store/)
