Deploy Docker project in ElasticBeanstalk

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 33

  • @ranjanadissanayaka5390
    @ranjanadissanayaka5390 Місяць тому +2

    this is very helpful..thank you so much.

  • @kumailn7662
    @kumailn7662 Рік тому +1

    Man you are simply great, while demonstrating the technique.

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

    The best teacher of The online world

  • @chinmayraichur8984
    @chinmayraichur8984 5 місяців тому +1

    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?

    • @computingpower
      @computingpower  5 місяців тому

      Hello! If you have more than one Docker container, it’s recommended to use ECS instead of ElasticBeanstalk.

    • @computingpower
      @computingpower  5 місяців тому

      Maybe these videos can help
      ua-cam.com/video/00I3czV8guk/v-deo.html
      ua-cam.com/video/wLsWALjM-Uk/v-deo.html
      ECS documentation: docs.aws.amazon.com/ecs/

  • @marcelcohen3435
    @marcelcohen3435 11 місяців тому +1

    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?

    • @computingpower
      @computingpower  11 місяців тому

      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

  • @arielro85
    @arielro85 7 місяців тому +1

    If im not wrong, you can use bcrypt-js and dont depend on python. Awesome video :)

    • @computingpower
      @computingpower  7 місяців тому

      Interesting! I didn’t know about that. Thanks for letting me know :)

  • @AleksandarT10
    @AleksandarT10 Рік тому +1

    If i am running on an x64 machine, how are we able to build an image for arm64?

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

      I think that the easiest way to do it is to generate the image in an EC2 instance with ARM64 architecture

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

    How much was the docker file size when you try to deploy first and it failed?

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

      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.

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

    Excellent!

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

    He makes my app. Recomendo

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

    Great

  • @Saitama-ur3lq
    @Saitama-ur3lq Рік тому

    you are not using bcrypt to "encrypt" passwords, you are using bcrypt to "hash" them,, there is a huge difference

  • @Dmitrii-Kalashnikov
    @Dmitrii-Kalashnikov 11 місяців тому +1

    Thank you, I like your approach it helped me

    • @computingpower
      @computingpower  11 місяців тому

      Glad it was helpful 🙌🏼🙌🏼🙌🏼

  • @gustavostnt
    @gustavostnt 7 місяців тому

    After 3 days of trying to get it to work, I'm giving up

    • @computingpower
      @computingpower  7 місяців тому

      Hey what was the problem?

    • @gustavostnt
      @gustavostnt 7 місяців тому

      @@computingpower It just complains that it expected my app to be version "sample" instead of 1

    • @computingpower
      @computingpower  7 місяців тому

      @@gustavostnt Is this on the ElasticBeanstalk console?

    • @gustavostnt
      @gustavostnt 7 місяців тому

      @@computingpower Yes, the web UI. I'll be using just regular RDS + EC2 for now

  • @linusj55
    @linusj55 2 місяці тому

    Dude, skip the piano!

  • @hectorlopez9393
    @hectorlopez9393 Рік тому +1

    thanks sir, really helpfull