Hosting ReactJs Application With AWS EC2 Instance - Step By Step Guide in Hindi

  Рет қаралды 5,624

infinitech

infinitech

11 ай бұрын

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 React JS application on aws ec2 in hindi
2) deploy React JS app in aws ec2 in hindi
3) deploy React JS app in aws
4) how to deploy React JS application on server
5) how to deploy React JS application on aws
6) Deploy React 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 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
Install React And Run forever
1. npx create-react-app reactHosting create react application with your given any
name
2. cd reactHosting navigate to created application inside /var/www/html folder
3. Before start application you must go to your instances security group again and
setup inbound rules
4. Inside security group clickAdd rule and set type as Custome TCP and give port
as 3000 and add another rule with custom TCP with port 8080(To nodejs port)
and select source as Anywhere custom ip4
5. Then inside reactHosting give command npm start to start project with port 3000
6. To start Forever run inside react install pm2 globally npm install pm2 -g
7. navigate to the project folder and execute, space is required after -
pm2 start npm -- start
8. to see running instances pm2 ps
9. This is the react forever run..
#awshosting
#hostingweb
#hostingwebsiteusingaws
#awstutorialforbeginners
#awstutorial
#awstrainingvideos
#awstraining
#awstutorialinhindi
#ec2enginetutorial
#websitehosting
#awstrainingvideos
#awstraining
#awshosting

Пікірлер: 16
@RaziqueAnsari2009
@RaziqueAnsari2009 18 күн бұрын
Could you please share your git hub repo url with all this code so that we can practice the sme..
@zainmp3499
@zainmp3499 Ай бұрын
bro how to conect mongo atlas and node alsoo
@saumyagaur7633
@saumyagaur7633 7 ай бұрын
Great Video
@phptrainingmumbai
@phptrainingmumbai 7 ай бұрын
Glad you enjoyed it
@letsgoswe
@letsgoswe 7 ай бұрын
I have react frontend and django backend. I have hosted django backend on EC2. If I host the react frontend on Ec2, can I make api call to the backend? (previously I hosed my frontend on S3 and then came to S3 only hosts static website. Or could you tell me in which service can I host my react frontend to communicate with the backend with api? @@phptrainingmumbai
@abhishekdere4568
@abhishekdere4568 2 ай бұрын
make video for the react vite app
@mohammadmudassir3430
@mohammadmudassir3430 5 ай бұрын
Nice bro 🎉🎉
@phptrainingmumbai
@phptrainingmumbai 2 ай бұрын
Thanks for the visit
@mohammadmudassir3430
@mohammadmudassir3430 5 ай бұрын
Bro one plrm I run npm start its doesn't work
@phptrainingmumbai
@phptrainingmumbai 3 ай бұрын
use 1. npm start or 2. if you installed pm2 use pm2 start npm
@omaher3744
@omaher3744 5 ай бұрын
Bro i do npn rum it doesn't work
@user-kr4ei3ix5m
@user-kr4ei3ix5m 4 ай бұрын
use 1. npm start or 2. if you installed pm2 use pm2 start npm
@RaziqueAnsari2009
@RaziqueAnsari2009 18 күн бұрын
Could you please share your git hub repo url with all this code so that we can practice the sme..
javascript interview question set 1
33:35
infinitech
Рет қаралды 841
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 65 МЛН
Deploy a Django Web App to Amazon EC2 Instance  | 2024
16:26
THE PROTON GUY
Рет қаралды 10 М.
EXPRESS, NODE JS, MYSQL   HOSTING ON AWS WITH AN WINDOWS EC2 INSTANCE
1:01:17
A2Z INFOTECH & A2Z IT HUB
Рет қаралды 2,2 М.
Amazon EC2 - Elastic Cloud Server & Hosting with AWS
20:54
Piyush Garg
Рет қаралды 22 М.
Deploy React App to AWS EC2 using GitHub Actions
28:40
Integration Ninjas
Рет қаралды 6 М.