Skip to content

Deploy to aws ec2 #143

Dec 4, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Try this on Ubuntu 20.04 (AWS EC2):

Security Group (Firewall)

Protocol Port range Source
UDP 1024 - 65535 0.0.0.0/0
TCP 22 MY-IP/24
TCP 3000 0.0.0.0/0

Installation Script

The name of the user is ubuntu.

#!/bin/bash

# tested on ubuntu 20.04 / t3a.nano

sudo apt update && \
sudo apt upgrade -yq && \
sudo apt install cmake -yq && \

# Node.js 16.x (https://github.com/nodesource/distributions/blob/master/README.md#deb)
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - && \
sudo apt-get install -y nodejs && \
sudo npm install -g npm@8.1.4 && \

# Install pm2
sudo npm install -g pm2@latest && \

# Install gitget
sudo npm install -g gitget@latest && \

# Navigate home

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NilsChr
Comment options

Answer selected by NilsChr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants