Skip to content

Instantly share code, notes, and snippets.

View sambhavsaxena's full-sized avatar
🏃‍♂️
Busy

Sambhav Saxena sambhavsaxena

🏃‍♂️
Busy
View GitHub Profile
@sambhavsaxena
sambhavsaxena / nginx_on_aws.md
Last active October 8, 2024 07:52
A guide on how to deploy NodeJS apps to production using NGINX.

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Create Free AWS Account

Create free AWS Account at https://aws.amazon.com/

2. Create and Lauch an EC2 instance and SSH into machine

I would be creating a t2.medium ubuntu machine for this demo.