Deploy Your MERN or any App for Free: AWS EC2 Hosting Tutorial
Вставка
- Опубліковано 1 жов 2024
- In this step-by-step tutorial, you’ll learn how to host your MERN (MongoDB, Express, React, Node.js) application online for free using AWS EC2. We’ll cover everything from setting up an EC2 instance to deploying your backend and frontend. Whether you’re a beginner or an experienced developer, this guide will help you get your MERN app up and running on the cloud. Let’s dive in and make your app accessible to the world!
Commands i ran in video
sudo apt-get update
sudo apt install npm
curl o raw.githubuser... | bash
source ~/.bashrc
nvm install 20.11.0
nvm use 20.11.0
git clone github.com/Gou...
ls
cd Plant-Care-Automation
touch .env
nano .env
npm install -g serve
serve -s build
nice, working tutorial.
Thanks glad it came in helpful
Time waste, bro. I haven't learned anything, and I'm sorry for saying this
Is it free if I wanted to host my application of hackathon to show for evaluation?
Hy could you upload a video on how to use hostinger domain name in EC2 after doing this
Hey soumya personally I would suggest you services like render.com , they are super easy to monitor and deploy on and even link your personal domains to , I did this ec2 tutorial because I was a course mandate to deploy on ec2 and it was painstakingly time consuming for me so I wanted to make it easier for others
@@GouravMidya actually i am doing intern at a startup at which they are telling that put mern to aws and host it by there domain name which they have bought from hostinger. Could you plz tell what should i do. ASAP
@@soumyesharma7655 checkout this video , it seems relevant to your ua-cam.com/video/Eqw4LptEsWU/v-deo.htmlsi=-SrnUf08d8TJgeJb
@@soumyesharma7655you can also deploy backend on aws and frontend on hostinger
Hi can we deploy application build using Vite?
Bro I have a mern app where react-vite is used instead of normal react . So should I follow the same procedure or I'll have to make something changes in it ?
Hey public ipaddress link is not working after I close th terminal, what should i do
Hi is have a question how to permanently run Node api on the ec2 instance?