Deploy NodeJS Application On AWS ECS Fargate Using GitHub Actions

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

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

  • @albertndege5596
    @albertndege5596 3 месяца назад +2

    Best of the best AWS tutorials I have watched so far. Thanks, Helped a lot.

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

    Insightful, thanks for sharing this 👍

  • @Ganeshbabu-px3lb
    @Ganeshbabu-px3lb 4 месяца назад +1

    it's very helpful for me,keep it upbro

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

    Thanks! It helps a lot!

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

    Thanks for your help

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

    Hi, I stuck in ecsTaskExecution creation while task definition, will you able to help with proper document ?

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

      Try to create ecsTaskExecution role from IAM console.

  • @chiragsolanki-rx7vs
    @chiragsolanki-rx7vs 4 месяца назад

    what service case /use case should be added in IAM role

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

    What are best option for hosting nodejs with less billing ec2, ecs Or any other option, like to handle around 50k traffic?

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

      ECS is a good option for hosting Node.js applications with less billing because it allows you to pay only for the resources that you use. For example, if you use Fargate, you will only pay for the vCPU and memory that your containers consume. If you use EC2, you will only pay for the EC2 instances that your containers are running on.
      Serverless computing services such as AWS Lambda allows you to run Node.js code without having to manage any infrastructure. You are charged only for the time that your code is running.

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

    Hi while creating task definitions im not getting ecsTaskExecution role in dropdown

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

      You can create a task execution role from IAM console.

  • @Venkatesh-vm4ll
    @Venkatesh-vm4ll 11 месяцев назад +2

    how to deploy full stack mern , nextjs

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

      Will upload a video soon on deployment process for MERN stack application.

  • @vector9117
    @vector9117 11 месяцев назад +1

    how will we deploy if we have mysql database to node backend

    • @IntegrationNinjas
      @IntegrationNinjas  11 месяцев назад

      Need to configure docker-compose.yml file with db configuration and MySQL setup on AWS. I will try to create that tutorial soon.

  • @rahulray7683
    @rahulray7683 11 месяцев назад +1

    Hi After Deploy on Ecs Node Js application Suppose Developer Update on Node js application Github How to manage Live application

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

      This is really a great question. There are many good things you can do to maintain a live application:
      1. Automate Deployments with GitHub Actions: Create a workflow that triggers on code changes (e.g., pushes to the main branch).
      2. Blue-Green Deployments (Recommended)
      3. Rolling Updates: Update a few container instances at a time, gradually rolling out the new version.
      4. Health Checks: Ensure ECS has health checks configured to monitor container health and automatically replace unhealthy instances.
      5. Monitoring and Logging: Monitor application and infrastructure metrics to track deployment success and identify potential issues.
      6. Security: Enforce security best practices throughout the deployment pipeline.

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

      Can you provide Real Time Example video So better understanding

  • @adeelakhtar8957
    @adeelakhtar8957 7 месяцев назад

    error parsing HTTP 404 response body: invalid character 'p' after top-level value: "404 page not found
    "
    146Error: Process completed with exit code 1.
    I m getting the above error.

  • @krishnakumar6482
    @krishnakumar6482 4 месяца назад

    Will it cost in future if yes then how can we stop them

    • @krishnakumar6482
      @krishnakumar6482 4 месяца назад

      I am a freshman and that's why I have these kinds of questions so please answer me brooo

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

    My app is running but unable to reach through public ip
    It is running in PORT 5000 also added container port mapping
    But still unable to reach the app
    Can you please help me?

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

      Please check security group settings if you can access the content through public ip and that port. Also check firewall settings, and applications logs in cloud watch.

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

      @@IntegrationNinjas Thanks
      I think my issue was VPC

  • @valentineejk
    @valentineejk 6 месяцев назад +1

    how do you add ssl

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

      Thanks for the question! Adding SSL is an important step for securing your application. You can follow below mentioned points:
      1. Generate SSL Certificates: You can either generate a self-signed certificate for testing purposes or obtain a trusted certificate from a Certificate Authority (CA).
      2. Store Certificates in Secrets Manager: AWS Secrets Manager is a secure way to store your SSL certificates and private keys within your AWS environment. You can integrate this step into your GitHub Actions workflow.
      3. Configure Your Application: Update your Node.js application to use the stored SSL certificates and keys. This might involve environment variables or configuration files within your Docker image.
      4. Configure AWS Load Balancer: Modify your AWS Load Balancer configuration (e.g., Application Load Balancer) to terminate SSL connections at the load balancer level. This offloads processing from your Node.js instances.
      Try out mentioned steps, in future I will also create tutorial with SSL soon.

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

    Can you share aws eks ?

  • @Aditya_khedekar
    @Aditya_khedekar 10 месяцев назад +2

    bruhh IAM rolle coment karo for ec2ContainerService...?

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

      You can create a role and assign below policies:
      AmazonEC2ContainerServiceforEC2Role
      AmazonECSTaskExecutionRolePolicy

  • @Aditya_khedekar
    @Aditya_khedekar 10 месяцев назад +2

    bruhh i am a dev struggled quit a lot knowing aws plz do recreate this video verry janky

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

      Please go through this tutorial and follow step by step.

  • @ІванДіван-б7п
    @ІванДіван-б7п 8 месяцев назад +1

    why do you every time jump from one tab to another ?
    why do you nervouse moving a mouse a lot ?
    dislike for this

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

      I am just following the process I want to show. I appreciate the feedback and I will try to improve myself. Thanks.

  • @ІванДіван-б7п
    @ІванДіван-б7п 8 месяцев назад +1

    why do you every time jump from one tab to another ?
    why do you nervouse moving a mouse a lot ?
    dislike for this

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

      I am just following the process I want to show. I appreciate the feedback and I will try to improve myself. Thanks.