Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
#!/bin/bash | |
exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
cd /home/ubuntu/ | |
sudo apt update -y | |
sudo apt install nodejs -y | |
sudo apt install npm -y | |
mkdir -p /home/ubuntu/.ssh | |
ssh-keyscan -t rsa github.com > /home/ubuntu/.ssh/known_hosts | |
git clone https://github.com/singhsanket143/API_Gateway.git | |
cd API_Gateway |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
Video Link: Apache Kafka Crash Course | What is Kafka?