Deploy a Serverless NestJS App to AWS Fargate

Sdílet
Vložit
  • čas přidán 17. 06. 2021
  • 👉 Check our website: scalablescripts.com
    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

Komentáře • 17

  • @ScalableScripts
    @ScalableScripts  Před 2 lety +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 Před 3 lety +1

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

  • @Nexjsdeveloper
    @Nexjsdeveloper Před 2 lety

    Amaizing...tnx

  • @rohit-gupta
    @rohit-gupta Před 2 lety

    awesome

  • @abelmurua6980
    @abelmurua6980 Před 2 lety

    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.

  • @andrew.mixkiv
    @andrew.mixkiv Před 3 měsíci

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

  • @trinhhuynh4037
    @trinhhuynh4037 Před 2 lety +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?

    • @peterburgs
      @peterburgs Před rokem

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

  • @kamalkamals
    @kamalkamals Před 2 lety

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

  • @fishonbicycle
    @fishonbicycle Před 2 lety

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

    • @tropikalGG
      @tropikalGG Před 2 lety

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

    • @fishonbicycle
      @fishonbicycle Před 2 lety

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

  • @dennisroshan
    @dennisroshan Před 2 lety +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 Před 2 lety +2

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

  • @olegamusic9485
    @olegamusic9485 Před rokem

    is it free too use?

  • @pathakvivek7865
    @pathakvivek7865 Před 2 lety +3

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

    • @ScalableScripts
      @ScalableScripts  Před 2 lety

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