Skip to content

Commit 793177d

Browse files
committed
update gcp
1 parent d9fe898 commit 793177d

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

docs/getting-started/gcp.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,9 @@ Virtual Machine instance.
1616

1717
1. Select your project.
1818

19-
1. Click `Compute Engine` >> `VM instances` >> `Create`
20-
21-
1. Give your machine a name, Region, Zone. [more info](https://cloud.google.com/compute/docs/regions-zones)
22-
23-
1. Choose the Size of your instance. Remember that node.js is single-threaded so
24-
there's no benefit to picking a size with multiple cores for a simple node-red
25-
instance. `f1-micro(1 vCPU, 614 MB memory)` is a good starting point.
26-
27-
1. In the list of Boot disk, select **Ubuntu**, then click 'Select'.
28-
29-
1. Click 'Create' on the Settings page, check the Summary then click 'Ok' to deploy
30-
the new instance.
31-
3219
1. Click `VPC network` >> `VPC networks` >> `Firewall rules` >> `CREATE FIREWALL RULE`
33-
new 'Create a firewall rule' with the options set as:
20+
21+
new `Create a firewall rule` with the options set as:
3422
- Name: node-red-editor
3523
- Network: default
3624
- Priority: 1010
@@ -41,10 +29,29 @@ Virtual Machine instance.
4129
- Source IP ranges: 0.0.0.0/0
4230
- Protocols and ports: Specified protocols and ports
4331
- tcp: 1880
32+
4433
Click `Create` on the Settings page.
4534

35+
1. Click `Compute Engine` >> `VM instances` >> `Create`
36+
37+
Give your machine info
38+
- Name: node-red-instance
39+
- Region: us-central1
40+
- Zone: us-central1-a
41+
- Machine configuration
42+
- Machine family
43+
- General-purpose
44+
- Series
45+
- N1
46+
- Machine type
47+
- f1-micro
48+
- Boot disk
49+
- Ubuntu 18.04 LTS
50+
51+
Click `Create` on the Settings page, then the instance will start to be created.
52+
4653
After a couple of minutes your instance will be running. In the console
47-
you can find your instance's IP address
54+
you can find your instance's IP address as `External IP`.
4855

4956
#### Setup Node-RED
5057

0 commit comments

Comments
 (0)