You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/getting-started/aws.md
+16-5
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,9 @@ This guide takes you through the steps to get Node-RED running in an AWS environ
11
11
12
12
There are two approaches:
13
13
14
-
1.[Running on the AWS Elastic Beanstalk Service (EBS)](#running-on-aws-ebs)
15
-
2.[Running under an Ubuntu image on AWS EC2](#running-on-aws-ec2-with-ubuntu)
14
+
1.[Running on the AWS Elastic Beanstalk Service (EB)](#running-on-aws-ebs)
15
+
2.[Running on Elastic Beanstalk with High Availability](#running-on-elastic-beanstalk-with-high-availabilty)
16
+
3.[Running under an Ubuntu image on AWS EC2](#running-on-aws-ec2-with-ubuntu)
16
17
17
18
### Running on AWS EBS
18
19
@@ -24,7 +25,7 @@ There are two approaches:
24
25
25
26
3. Create AWS credentials and save in a local file (~/.aws/config or Usersusername.awsconfig) as below
26
27
27
-
```
28
+
```
28
29
[profile eb-cli]
29
30
aws_access_key_id = key id
30
31
aws_secret_access_key = access key
@@ -45,7 +46,7 @@ You will be asked if you wish to use ssh. If you do, please ensure you have ssh
45
46
46
47
1. Create a `package.json` file with the following content (replacing "demoapp" with your app name)
47
48
48
-
```javascript
49
+
```javascript
49
50
{
50
51
"name":"demoapp",
51
52
"version":"1.0.0",
@@ -72,7 +73,7 @@ You will be asked if you wish to use ssh. If you do, please ensure you have ssh
72
73
73
74
3. Edit the settings.js file to add the following entries to module.exports (setting awsRegion to that used in eb init and replacing demoapp with your app name) :
@@ -94,6 +95,16 @@ Note: the public IP address also provides access to the node-red application and
94
95
95
96
Your Node-RED instance is now running on EBS. Any flows you create will be saved to AWS S3 so you can tear down the environment and the flows will be accessible whenever you redeploy.
96
97
98
+
### Running on Elastic Beanstalk with High Availabilty
99
+
100
+
This deployment option gives you a multiple node Node-RED setup, with a shared filesystem using Amazon Elastic File System (EFS). Because it runs multiple nodes behind a load balancer, you will have high availabiliity - if a node dies, Elastic Beanstalk will replace it automgically.
101
+
102
+

103
+
104
+
To get started, clone the repository here [https://github.com/guysqr/node-red-ha-on-aws](https://github.com/guysqr/node-red-ha-on-aws) and follow the simple instructions. The infrastructure is created for you by a CloudFormation template, so you don't need to know much about AWS to set it up.
105
+
106
+
In addition, this deployment option enables you to run Node-RED under https and to login via Auth0 (or you can easily swap to in-built auth or any Passport-compatible ID provider).
0 commit comments