Thank you it was a great hands-on of nestjs with aws, keep up the good work. I have one request please create a video only on complex unit test with nest Js using typeorm and specially getting rid of circular dependencies issues. That would be very much appreciated.
Thanks man. AWS has everything yet you cant do anything if you really dont know what to do. I was strugling to find this guide for a few wekk, finally algorithm goods showed mercy and I found you. btw until I add Procfile server did not run and link does not have https
I'm glad to hear that the video was helpful :) ! For enabling HTTPS on the link, I have another video doing this by using Route53 and ACM along a shared load balancer here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XhGc_IM959A.html I hope it helps!
In my case, I had a problem; maybe you could have had the same issue. To summarize, the application needed to have a route '/', but in my case, it didn't exist. As a result, the server returned a 502 status from Nginx.
Hello, when an application runs on ElasticBeanstalk, you can find its logs on Logs section on ElasticBeanstalk console for your created environment. 1. Go to your deployed app on ElasticBeanstalk 2. Go to logs section 3. Click on dropdown menu and select either last 100 lines or entire logs for your app (each option can be better on different scenarios)
Thanks for the content, but I want to use https for my backend since I am using it to react native application, how do i do that without having domain name, using the default address given by AWS
I'm glad you liked it! As far as I know, for configuring HTTPS on ElasticBeanstalk, you must own a domain because you will have to set up the SSL certificate (directly on the instance or via Load Balancer), and you can only do this if you own the domain. Unfortunately, the default URL provided by ElasticBeanstalk does not have HTTPS. Another solution would be using API Gateway for your application since the domain created by API Gateway uses HTTPS by default.
@@computingpower Github + Github actions + app deployed on ECS (dockerized app) That's what I've been looking for on blogs and RU-vid but I haven't found someone who does the complete CI/CD flow, that is, I upload a change to a branch of a github repository and it runs a pipeline that uploads the app and execute the docker commands, for example a docker compose up and the changes are reflected in an EC2 instance or it can be with the ECS service as well, I like the way you explain things, you do it in a way where everything is clear, I want to see that process but with a Nest.js application it can be done.
@@computingpower Thank you very much, I would really appreciate it, your content is very good, let me tell you that I have seen several videos from your channel and they have helped me in the company I currently work for
Hello. To start the investigation, I suggest to you to start investigating the following things: 1. Check on the environment properties if you have the PORT variable. Nginx uses this variable to route the messages from port 80 to the actual port of your application 2. Check on the logs section for your ElasticBeanstalk app if the application is running correctly 3. Check if you added the Procfile in the codebase with the correct instructions to start your application
@@computingpower No I wrote my backend in Nest js and I uploaded on Github and I setup CodePipe Line and CodeBuild One more thing I just allow 8080 port in inbound in security group the error is now 504 Timeout