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

КОМЕНТАРІ • 13

  • @kamamedia3535
    @kamamedia3535 4 місяці тому +1

    nice, working tutorial.

    • @GouravMidya
      @GouravMidya  4 місяці тому

      Thanks glad it came in helpful

  • @PavanKumarKN-rd5iu
    @PavanKumarKN-rd5iu Місяць тому

    Time waste, bro. I haven't learned anything, and I'm sorry for saying this

  • @ANSHUVAIRAGADE
    @ANSHUVAIRAGADE Місяць тому

    Is it free if I wanted to host my application of hackathon to show for evaluation?

  • @soumyesharma7655
    @soumyesharma7655 4 місяці тому +2

    Hy could you upload a video on how to use hostinger domain name in EC2 after doing this

    • @GouravMidya
      @GouravMidya  4 місяці тому

      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

    • @soumyesharma7655
      @soumyesharma7655 4 місяці тому

      @@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

    • @GouravMidya
      @GouravMidya  4 місяці тому

      @@soumyesharma7655 checkout this video , it seems relevant to your ua-cam.com/video/Eqw4LptEsWU/v-deo.htmlsi=-SrnUf08d8TJgeJb

    • @MALLuKAPzTECHz
      @MALLuKAPzTECHz 4 місяці тому

      ​@@soumyesharma7655you can also deploy backend on aws and frontend on hostinger

  • @MALLuKAPzTECHz
    @MALLuKAPzTECHz 4 місяці тому +1

    Hi can we deploy application build using Vite?

  • @rakeshkumarparida98
    @rakeshkumarparida98 3 місяці тому

    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 ?

  • @ojaspalorkar7434
    @ojaspalorkar7434 3 місяці тому

    Hey public ipaddress link is not working after I close th terminal, what should i do

  • @MALLuKAPzTECHz
    @MALLuKAPzTECHz 4 місяці тому

    Hi is have a question how to permanently run Node api on the ec2 instance?