SSH into server
Course: AWS Deploying (EC2) - chapter 4
1. Give ssh key permissions
Section titled “1. Give ssh key permissions”chmod 700 kirat-class.pem2. ssh into machine
Section titled “2. ssh into machine”ssh -i kirat-class.pem ubuntu@ec2-65-0-180-32.ap-south-1.compute.amazonaws.com3. Clone repo
Section titled “3. Clone repo”git clone https://github.com/hkirat/sum-server💡 If your aws machine shows you the following error, your aws machine doesn’t have access to the internet
Solution - https://www.tecmint.com/resolve-temporary-failure-in-name-resolution/

4. Install Node.js
Section titled “4. Install Node.js”💡 https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04
5. Install all dependencies
Section titled “5. Install all dependencies”cd sum-servernpm install6. Start backend
Section titled “6. Start backend”node index.js