Hosting Node Js Application With AWS EC2 Instance - Step By Step Guide in Hindi
Автор: infinitech
Загружено: 2023-05-01
Просмотров: 8980
Описание:
Hosting your website on AWS can provide a scalable, secure, and cost-effective solution for your hosting needs. In this comprehensive guide, we'll take you through the steps of hosting your website on AWS, from setting up an EC2 instance to configuring a load balancer and database.
We'll also cover best practices for security, performance, and cost optimization, as well as common troubleshooting techniques for resolving issues that may arise during the hosting process.
Whether you're a beginner or an experienced developer, this video will provide valuable insights and practical tips for hosting your website on AWS. By the end of the video, you'll have a deeper understanding of how to leverage AWS services to host your website and how to apply this knowledge to your own hosting projects.
cover topic :)
1) how to deploy node js application on aws ec2 in hindi
2) deploy node js app in aws ec2 in hindi
3) deploy node js app in aws
4) how to deploy node js application on server
5) how to deploy node js application on aws
6) Deploy node Js app in aws
SETUP EC2 INSTANCES ENVIRONMENT
1. Connect to new Created Instances
2. sudo apt-get update - this will update upto now in ubuntu server
3. After update Close console
4. Once again connect to instance
5. Get a message in terminal All the update are getting successfully
6. sudo apt-get install curl - this will helps to setup node js environment
7. curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
8. This is the command install node js inside ubuntu server
9. sudo apt-get install -y nodejs -to get nodejs and npm with that
10. Check installed node and npm using node -v and npm -v
11. sudo apt-get install nginx -y -If you want to setup using nginx environment then install
that also
12. Check installed nginx version using nginx -v
13. After all installation go to html folder using cd /var/www/html/
14. Check folders or other list using command ls
15. Go to your EC2 instances Dashboard and go to security group and click security group
link
16. Inside it click Edit inbound Rules
17. Add rule click and set type as HTTP and select source as Anywhere custom ip4 and click
save rules
18. After doing all this stuff then get instances public ip address and open it with new tab
and it will show nginx welcome template
NODE JS FOREVER START
1. Go to cd /var/www/html/ and clone node js project
2. git clone https://github.com/xyz.git
3. cd nodejsHosting
4. remove current node_modules using rm -rf node_modules
5. install it again npm install
6. npm start(Running on port 8080)
7. Stop ctrl + c or cmd + c
8. Install Globally pm2
9. Install globally npm install forever -g
10. Go to your project folder
11. forever start --minUptime 1000 --spinSleepTime 1000 app.js
#awshosting
#hostingweb
#hostingwebsiteusingaws
#awstutorialforbeginners
#awstutorial
#awstrainingvideos
#awstraining
#awstutorialinhindi
#ec2enginetutorial
#websitehosting
#awstrainingvideos
#awstraining
#awshosting
#nodejstutorial
#nodejsapplicationhosting
#nodejsapplicationhostingaws
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: