Deploy nodejs application on AWS EC2 for beginners in Hindi 2022

Shree Learning · Beginner ·☁️ DevOps & Cloud ·3y ago

About this lesson

Hello friends, in this video we will see how to deploy nodejs application on AWS EC2 for beginners in Hindi Nodejs application deployment by to AWS Create aws EC2 instance in hindi Install git on AWS EC2 in hindi Install nodejs on AWS EC2 in hindi Nodejs tutorials github repo- https://github.com/shreelearning/nodejs-tutorials Steps and commands - AWS EC2 config for nodejs app 1-Create EC2 instance with ubuntu running 2- Connect to your Ubuntu instance 3-Once you have your Ec2 Ubuntu command line access run the system update command to ensure all the existing packages are up to date. sudo apt update 4-check if Nodejs is installed or not sudo apt policy nodejs 5-Add Nodejs LTS repo on Ec2 Ubuntu curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - 6-Install Nodejs and NPM sudo apt-get install nodejs 7- See the version node -v npm -v 8-install pm2 globally npm i pm2 -g 9-install and setup git sudo apt install git git —version git config --global user.name "Your Name" git config --global user.email "youremail@domain.com" git config --list 10- Clone your GitHub repo of your project o transfer codes through FileZilla or through scp command Git clone “githubrepo.url” 11- Run your code with npm install Pm2 start index.js #aws #awsec2 #nodejs #nodejstutorial #devops #devopstutorialsforbeginners

Original Description

Hello friends, in this video we will see how to deploy nodejs application on AWS EC2 for beginners in Hindi Nodejs application deployment by to AWS Create aws EC2 instance in hindi Install git on AWS EC2 in hindi Install nodejs on AWS EC2 in hindi Nodejs tutorials github repo- https://github.com/shreelearning/nodejs-tutorials Steps and commands - AWS EC2 config for nodejs app 1-Create EC2 instance with ubuntu running 2- Connect to your Ubuntu instance 3-Once you have your Ec2 Ubuntu command line access run the system update command to ensure all the existing packages are up to date. sudo apt update 4-check if Nodejs is installed or not sudo apt policy nodejs 5-Add Nodejs LTS repo on Ec2 Ubuntu curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - 6-Install Nodejs and NPM sudo apt-get install nodejs 7- See the version node -v npm -v 8-install pm2 globally npm i pm2 -g 9-install and setup git sudo apt install git git —version git config --global user.name "Your Name" git config --global user.email "youremail@domain.com" git config --list 10- Clone your GitHub repo of your project o transfer codes through FileZilla or through scp command Git clone “githubrepo.url” 11- Run your code with npm install Pm2 start index.js #aws #awsec2 #nodejs #nodejstutorial #devops #devopstutorialsforbeginners
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Stop shipping apps that crash on a missing env var — introducing envalign
Learn to prevent app crashes due to missing environment variables with envalign, ensuring alignment between .env files and code usage
Dev.to · SybilGambleyyu
📰
State Encryption in OpenTofu: How It Works and How to Roll It Out
Learn how State Encryption in OpenTofu works and how to implement it to secure your infrastructure state files
Dev.to · James Joyner
📰
Your docker-compose.yml Will Break in Production: 5 Settings Everyone Forgets
Learn 5 crucial settings to include in your docker-compose.yml file to ensure it doesn't break in production
Medium · Programming
📰
Auto-Optimize Images in a Git Pre-Commit Hook (Local, No Upload)
Learn to auto-optimize images in a Git pre-commit hook to reduce file size and improve performance
Dev.to · Max
Up next
How to Code with Distrobox on the Steam Deck
Ian Wootten
Watch →