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
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.
Good job! Keep doing what you're doing. It's good quality
In Dockerfile thereb is no PORT declaration, how it works without it?
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.
You deployed nest js app but at the end you showed react js app
I just reuse video parts the result will be a nest app
Amaizing...tnx
awesome
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?
Hi Huynh, did you have any new updates on the issue?
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?
You can make a cloudfront distrubution and then route through route 53. Then with certificate manager to assign https
with Docker version 20.10.12, build e91ed5707e, after build app i found others images added with name and tag :
is it free too use?
Interesting. What if your nestjs has multiple repos? How do you handle cross service communication?
You need kubernetes to manage communication between separate repositories, you will deploy on EKS fargate
@@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