Deploy React App to AWS EC2 using GitHub Actions

Поділитися
Вставка
  • Опубліковано 10 вер 2024

КОМЕНТАРІ • 33

  • @deepanshumishra8687
    @deepanshumishra8687 8 місяців тому +1

    I am in government job but after watching your videos I am thinking to switch my career to IT sector

  • @NinjaAnkit
    @NinjaAnkit 6 місяців тому +1

    I push the code which shows in github master branch but i am not able to merge in github main branch ,Could you please Help?

  • @brianluciano346
    @brianluciano346 6 місяців тому +2

    thanks for the tutorial

  • @AlissonCruzSouza
    @AlissonCruzSouza 5 місяців тому +1

    Thanks.

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

    Bro do you have any videos that have .env files in a nodejs app ? Or else how to incorporate any .envs in a node app using docker and github actions

  • @akhicj9071
    @akhicj9071 5 місяців тому +1

    Hi bro, I am uing angular project build and deploy successfully it shows 403 error

    • @IntegrationNinjas
      @IntegrationNinjas  5 місяців тому

      Deploying angular app is little different, you can refer in this video: ua-cam.com/video/PaeopD78NFU/v-deo.html

  • @akhicj9071
    @akhicj9071 5 місяців тому +1

    Hi bro, I have a doubt. I have been facing one warning node version 16 has been dericated but i am using node 18 version

  • @akhicj9071
    @akhicj9071 5 місяців тому +1

    Hi bro, My docker could not pull the image.How to resolve this error

    • @IntegrationNinjas
      @IntegrationNinjas  5 місяців тому

      Use the docker pull [image_name] command directly on the EC2 instance to see detailed error messages from the Docker daemon. This can provide more specific clues about the issue.

  • @Ayusharma114
    @Ayusharma114 2 місяці тому +1

    how to get docker usename /password

    • @IntegrationNinjas
      @IntegrationNinjas  2 місяці тому

      You need to create account on docker hub, you can use same username and password.

  • @NinjaAnkit
    @NinjaAnkit 6 місяців тому +1

    You explain good but it can be better because i am facing issue my local system is windows and ec2 is ubuntu so i am confused many place.

    • @IntegrationNinjas
      @IntegrationNinjas  6 місяців тому

      What issue you are facing, can you explain here so I can help you.
      Windows runner or linux runner there should not be change in commands.

  • @akhicj9071
    @akhicj9071 5 місяців тому +1

    Hi bro, After building and deploying successfully. I am getting 403 Forbidden error

    • @IntegrationNinjas
      @IntegrationNinjas  5 місяців тому

      Encountering a 403 Forbidden error suggests that the web server (likely running within the Docker container) is configured to restrict access to your application's files. Here are some troubleshooting steps to address this:
      1. Check File Permissions
      2. Inspect Dockerfile and Container Logs
      3. While less likely, ensure that your EC2 instance security groups allow inbound traffic on port 80 (default for web servers) from the internet (or specific IPs if desired).
      4. Try temporarily disabling any firewall rules on your EC2 instance to isolate if the issue lies with firewall restrictions.
      5. If you're using a reverse proxy like Nginx in front of your application container, verify its configuration to ensure it routes requests correctly to the backend app.

    • @akhicj9071
      @akhicj9071 5 місяців тому

      Bro, But I am deploying the angular application. There is no backend
      @@IntegrationNinjas

    • @IntegrationNinjas
      @IntegrationNinjas  5 місяців тому

      This is just for react app not for angular. Other than env variables it should be same and for 403 you can try above steps.

  • @NinjaAnkit
    @NinjaAnkit 6 місяців тому +1

    I am facing This issue "Must not run with sudo"

    • @IntegrationNinjas
      @IntegrationNinjas  6 місяців тому

      May i know which runner you are using?

    • @NinjaAnkit
      @NinjaAnkit 6 місяців тому +1

      @@IntegrationNinjas as i new towards Github actions many things i don't know. I used self-hosted runner and while doing extracting actions runner folder i extracted in the project folder which might be wrong and after than as sudo user i run the command on Linux action runner .....but we have to run as normal user while checking i find out. My Bad For English.

    • @IntegrationNinjas
      @IntegrationNinjas  6 місяців тому +2

      Cool, I hope your issue got resolved

    • @NinjaAnkit
      @NinjaAnkit 6 місяців тому +1

      @@IntegrationNinjas Thanks for project. i

  • @adeolaabdulramon9251
    @adeolaabdulramon9251 7 місяців тому +1

    Is GitHub enterprise cloud free.

    • @IntegrationNinjas
      @IntegrationNinjas  7 місяців тому

      No, you can try it free for 30 days but it is paid.

  • @rahulray7683
    @rahulray7683 8 місяців тому +1

    Can you provide Blue Green Deployment

  • @NinjaAnkit
    @NinjaAnkit 6 місяців тому

    #Community............. after git Push it asking username and password of Github but in place of Passwords you have to generate Tokens and paste in place of password.