-
Notifications
You must be signed in to change notification settings - Fork 0
Deploying Node.js App on an AWS EC2 Instance
Jason H Ky edited this page Dec 13, 2023
·
17 revisions
This guide serves to provide instructions on how one can deploy a NodeJS application on an AWS EC2 Linux instance.
The steps involving creating an AWS EC2 instance are detailed in the following page:
There are several methods in which you can SSH into your EC2 instance
- Using an SSH Client
- EC2 Instance Connect
We install nvm (node version manager) by using the following command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
Using nvm, we install Node.js with the below command:
```bash
nvm install