How To Deploy React App To Aws EC2 || Step by Step Tutorial

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

Комментарии • 46

  • @sweetyeetus
    @sweetyeetus Год назад +2

    Signed into my personal account just to like and comment. You sir, are a god among men.

    • @logiclab10
      @logiclab10  Год назад +2

      OMG thank you for your kind words. You made my day :)

  • @TiburonesDeLaInformatica
    @TiburonesDeLaInformatica Год назад +1

    Dude, You explain so good, don't stop the videos and the motivation on teaching, you'll reach far!

  • @aryamansirohi5273
    @aryamansirohi5273 5 месяцев назад +1

    Thanks for the excellent explanation, I finally understand whats going on

  • @fatihunal2452
    @fatihunal2452 8 месяцев назад +1

    Çok büyük adamsın hocam . Senin gibiler 100 yılda bir gelir

    • @logiclab10
      @logiclab10  8 месяцев назад

      I had to translate your comment but I am glad that I did. Thank you for much for such a great complement.

  • @sylvainbodji1124
    @sylvainbodji1124 2 месяца назад

    Well done

  • @ahmedraza-jq3dh
    @ahmedraza-jq3dh 2 года назад +1

    you did a great job. seen a lot of videos and articles but didn't get an explanation like yours. you tried to delivered each and every detail of the complete process.
    great explanation

    • @logiclab10
      @logiclab10  2 года назад

      Thank you for your valuable comment :)

  • @Nelson-fw5ly
    @Nelson-fw5ly Год назад +1

    i really like your teaching style. Please keep on posting more videos. I will forever be a watcher from now on. 😀👍

    • @logiclab10
      @logiclab10  Год назад

      thank you so much for your comment. It means a lot to me :)

  • @code-with-vivek
    @code-with-vivek 9 месяцев назад +1

    Thank you. Your content and way of explaining is real helpful.

    • @logiclab10
      @logiclab10  9 месяцев назад

      Glad you think so!

  • @deepakmane387
    @deepakmane387 Год назад +1

    Very good presentation. Its quality explanation. thanks a lot

  • @danhernandez8053
    @danhernandez8053 9 месяцев назад +1

    Great tutorial! My only feedback is if you could "clear" the screen after screen full of output is displayed before running the next command to clearly see what command is currently running.

    • @logiclab10
      @logiclab10  9 месяцев назад

      Thanks for the tip! I will keep that in mind :)

  • @wajidkhan430
    @wajidkhan430 Год назад +1

    Thank you @It's OK To Be Logical, this video is very helpful and I have deployed my first react app by following your video. Liked👍 and Subscribed

    • @logiclab10
      @logiclab10  Год назад

      I am glad that I was able to help :)

  • @samyip
    @samyip Год назад +1

    Great video! Thanks.
    On second attempt, I find using 'nano' is easier than 'vi' to edit the file because it allows me to copy and paste.
    That is:
    sudo nano example.conf
    sudo nano /etc/systemd/system/example.service

    • @logiclab10
      @logiclab10  Год назад +1

      nano is indeed a great alternate :)

  • @sylvainbodji1124
    @sylvainbodji1124 2 месяца назад

    The commands you typed are working regardless of user's computer operating system? Or they must be adjusted depending on user's computer ?

  • @gokulkrishna7626
    @gokulkrishna7626 Год назад +1

    if we use centos is it the same procedure

    • @logiclab10
      @logiclab10  Год назад

      As long as the operating system is same then its should be 1-1 implementation otherwise you have to improvise.

  • @vikashkumar6506
    @vikashkumar6506 10 месяцев назад +1

    When i am deploying each and every step is going in same way like you did but the last step i am not getting output. I am getting 502 error but i have already check nginx and everything but still not able to get desired output or my app please reply me

    • @logiclab10
      @logiclab10  10 месяцев назад

      Hi Vikas, there has to be something missing. 502 means bad gateway which indicates that your NGINX setting is perhaps not correct.

  • @samyip
    @samyip Год назад +1

    Is it right that I can only install version 12.x for nodejs and not higher ?

    • @logiclab10
      @logiclab10  Год назад

      you should be able to install higher versions given it is compatible with other libraries you are using

    • @samyip
      @samyip Год назад

      Thanks @@logiclab10 . I have been able to do it after aws support's help.

  • @sdaaz792
    @sdaaz792 Год назад +1

    can i do the configuration in default?

    • @logiclab10
      @logiclab10  Год назад

      I am sorry, I did not understand your question

  • @ravanmaram
    @ravanmaram Год назад +1

    hey thank for vedio
    How can i deploy my react app with mongo db database for authentication.....
    is it same or needs any config

    • @logiclab10
      @logiclab10  Год назад +2

      I have never tried it but here is what I think you have to do. You have create and maintain the database, which I would recommend doing via API or a python flask app. You have to get use token for authentication. I hope this help.

  • @felixeduardomirandateran824
    @felixeduardomirandateran824 2 года назад +1

    hi, sorry. i have done the same that u do in this video but i have a "bad gateway" error in browser and " Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory" in ubuntu console. ¿what do you think? i have investigated and people say that maybe my app is too big

    • @logiclab10
      @logiclab10  2 года назад

      Hi Felix, to test your hypothesis, you can host a simple project and check if your setup is working. Like "Hello World" app from NextJS. If that is working, that means your setup is correct. If you getting JS heap out of memory then perhaps yes, you need better configuration machine. Let me how it goes?

    • @felixeduardomirandateran824
      @felixeduardomirandateran824 2 года назад +1

      @@logiclab10 Thanks, i will try

    • @logiclab10
      @logiclab10  2 года назад

      @@felixeduardomirandateran824 There is one more thing. In your project, you must be having .gitignore. In the gitignore file, if you remove .next folder, then you can build you app on your laptop and push everything to github and then just pull the entire built project on your server. This trick pushes lots of files to github but should fix your problem. Let me know!!

  • @aryamansirohi5273
    @aryamansirohi5273 5 месяцев назад

    will the ip address of the ec2 instance remain constant?

    • @logiclab10
      @logiclab10  5 месяцев назад

      in general yes. The address will change if you goto AWS and stop/restart the server.

  • @Multitalented-girl
    @Multitalented-girl Год назад +1

    Best video but i am facing 502bad gate way instead of Nodejs app 🥺

    • @logiclab10
      @logiclab10  Год назад

      Did you forget to start your nodejs app? Generally you get bad gateway when the underlying app is not running.

  • @ArchIntelLTD
    @ArchIntelLTD 3 месяца назад

    This is year 2024, This video is very helpful. God bless you in Jesus name Amen.