Maybe these videos can help ruclips.net/video/00I3czV8guk/видео.html ruclips.net/video/wLsWALjM-Uk/видео.html ECS documentation: docs.aws.amazon.com/ecs/
Thanks for the video. Does ElasticBeanstalk detect that the exposed port of your container is 4000 and maps port 80 of the host to your container's port?
Hello, thanks for the question! By default, AWS uses port 5000 on an app. But you can use a custom port by passing a PORT environment variable on ElasticBeanstalk docs.aws.amazon.com/elasticbeanstalk/latest/dg/nodejs-platform-proxy.html - If that doesn't work, you can also override the NGINX configuration on ElasticBeanstalk and set another port on NGINX stackoverflow.com/questions/66074722/what-is-the-port-number-of-the-web-application-to-which-default-proxy-config-on
Sorry, it's been a while since I did this project. 😅 But if I remember well, the first issue was caused due to timeout to run all steps, not necessarily because the Docker file was too big. So, creating a new Docker file to cache some steps was required.
Man you are simply great, while demonstrating the technique.
The best teacher of The online world
🤓🖥️
If im not wrong, you can use bcrypt-js and dont depend on python. Awesome video :)
Interesting! I didn’t know about that. Thanks for letting me know :)
He makes my app. Recomendo
😂😂😂 thank you my friend!
Excellent!
Thank you, Lucas!
What about the scenario where we have a docker-compose for 2 two containers (1 for a db and 1 for api) ? Can you please tell the steps for that?
Hello! If you have more than one Docker container, it’s recommended to use ECS instead of ElasticBeanstalk.
Maybe these videos can help
ruclips.net/video/00I3czV8guk/видео.html
ruclips.net/video/wLsWALjM-Uk/видео.html
ECS documentation: docs.aws.amazon.com/ecs/
Great
Thank you, Welliane!
Thanks for the video. Does ElasticBeanstalk detect that the exposed port of your container is 4000 and maps port 80 of the host to your container's port?
Hello, thanks for the question! By default, AWS uses port 5000 on an app.
But you can use a custom port by passing a PORT environment variable on ElasticBeanstalk docs.aws.amazon.com/elasticbeanstalk/latest/dg/nodejs-platform-proxy.html
- If that doesn't work, you can also override the NGINX configuration on ElasticBeanstalk and set another port on NGINX stackoverflow.com/questions/66074722/what-is-the-port-number-of-the-web-application-to-which-default-proxy-config-on
Thank you, I like your approach it helped me
Glad it was helpful 🙌🏼🙌🏼🙌🏼
If i am running on an x64 machine, how are we able to build an image for arm64?
I think that the easiest way to do it is to generate the image in an EC2 instance with ARM64 architecture
thanks sir, really helpfull
How much was the docker file size when you try to deploy first and it failed?
Sorry, it's been a while since I did this project. 😅 But if I remember well, the first issue was caused due to timeout to run all steps, not necessarily because the Docker file was too big. So, creating a new Docker file to cache some steps was required.
you are not using bcrypt to "encrypt" passwords, you are using bcrypt to "hash" them,, there is a huge difference
Thanks for pointing out
After 3 days of trying to get it to work, I'm giving up
Hey what was the problem?
@@computingpower It just complains that it expected my app to be version "sample" instead of 1
@@gustavostnt Is this on the ElasticBeanstalk console?
@@computingpower Yes, the web UI. I'll be using just regular RDS + EC2 for now