Deploy a Serverless NestJS App to AWS Fargate

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • 👉 Check our website: scalablescript...
    Learn how to create a production-ready Docker image with NestJS. Then we will use that Docker Image to push it to AWS Container Registry and we will Host it to AWS Fargate.
    #docker #aws #serverless

КОМЕНТАРІ • 17

  • @ScalableScripts
    @ScalableScripts  2 роки тому +4

    If you are wondering why it is showing a React app in the end, it is because I'm reusing video parts because the logic is the same.

  • @alexserboteiu9213
    @alexserboteiu9213 3 роки тому +1

    Good job! Keep doing what you're doing. It's good quality

  • @andrew.mixkiv
    @andrew.mixkiv 4 місяці тому

    In Dockerfile thereb is no PORT declaration, how it works without it?

  • @abelmurua6980
    @abelmurua6980 2 роки тому

    What I dont get is the Dockerfile 2 staged environment configuration. I undertand that could build 2 type of image (development/production) but your command is always the same one "docer run.... " one has the build and the other one (line 9 and below) has production instruction but I dont get how you execute one or the other? It looks in your terminal that the docker system went through the whole dockerfile.

  • @pathakvivek7865
    @pathakvivek7865 2 роки тому +3

    You deployed nest js app but at the end you showed react js app

    • @ScalableScripts
      @ScalableScripts  2 роки тому

      I just reuse video parts the result will be a nest app

  • @Nexjsdeveloper
    @Nexjsdeveloper 2 роки тому

    Amaizing...tnx

  • @rohit-gupta
    @rohit-gupta 2 роки тому

    awesome

  • @trinhhuynh4037
    @trinhhuynh4037 2 роки тому +1

    Thank you, it is really helpful for me.
    I have a concern that the public IP was created new when I push a new commit (with task-definition) in GitHub action? how I can keep only one public IP?

    • @trinhgiatrang
      @trinhgiatrang 2 роки тому

      Hi Huynh, did you have any new updates on the issue?

  • @dennisroshan
    @dennisroshan 2 роки тому +1

    When you host this the and when we search for the IP in the browser, we have to make HTTP request. How can we enable this to HTTPS? Can you please share how to do this?

    • @vincent-thomas
      @vincent-thomas 2 роки тому +2

      You can make a cloudfront distrubution and then route through route 53. Then with certificate manager to assign https

  • @kamalkamals
    @kamalkamals 2 роки тому

    with Docker version 20.10.12, build e91ed5707e, after build app i found others images added with name and tag :

  • @olegamusic9485
    @olegamusic9485 Рік тому

    is it free too use?

  • @fishonbicycle
    @fishonbicycle 2 роки тому

    Interesting. What if your nestjs has multiple repos? How do you handle cross service communication?

    • @tropikalGG
      @tropikalGG 2 роки тому

      You need kubernetes to manage communication between separate repositories, you will deploy on EKS fargate

    • @fishonbicycle
      @fishonbicycle 2 роки тому

      @@tropikalGG hey, thanks for the reply. I was able to deploy my multi repo nest app to ECS Fargate. I suppose EKS is more advanced in features? I’m using graphql federation which created some challenges