Deploy Docker project in ElasticBeanstalk

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 30

  • @kumailn7662
    @kumailn7662 8 месяцев назад +1

    Man you are simply great, while demonstrating the technique.

  • @gabrielvaladares4972
    @gabrielvaladares4972 Год назад +1

    The best teacher of The online world

  • @arielro85
    @arielro85 2 месяца назад +1

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

    • @computingpower
      @computingpower  2 месяца назад

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

  • @gabrielvaladares4972
    @gabrielvaladares4972 Год назад +1

    He makes my app. Recomendo

  • @LucasoMontarroyos
    @LucasoMontarroyos Год назад +1

    Excellent!

  • @chinmayraichur8984
    @chinmayraichur8984 9 дней назад +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  8 дней назад

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

    • @computingpower
      @computingpower  8 дней назад

      Maybe these videos can help
      ruclips.net/video/00I3czV8guk/видео.html
      ruclips.net/video/wLsWALjM-Uk/видео.html
      ECS documentation: docs.aws.amazon.com/ecs/

  • @wellianeoliveira2302
    @wellianeoliveira2302 Год назад +1

    Great

  • @marcelcohen3435
    @marcelcohen3435 6 месяцев назад +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  5 месяцев назад

      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

  • @Dmitrii-Kalashnikov
    @Dmitrii-Kalashnikov 6 месяцев назад +1

    Thank you, I like your approach it helped me

    • @computingpower
      @computingpower  6 месяцев назад

      Glad it was helpful 🙌🏼🙌🏼🙌🏼

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

  • @hectorlopez9393
    @hectorlopez9393 Год назад +1

    thanks sir, really helpfull

  • @bigchallenge7987
    @bigchallenge7987 11 месяцев назад

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

    • @computingpower
      @computingpower  11 месяцев назад

      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.

  • @Saitama-ur3lq
    @Saitama-ur3lq Год назад

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

  • @gustavostnt
    @gustavostnt 2 месяца назад

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

    • @computingpower
      @computingpower  2 месяца назад

      Hey what was the problem?

    • @gustavostnt
      @gustavostnt 2 месяца назад

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

    • @computingpower
      @computingpower  2 месяца назад

      @@gustavostnt Is this on the ElasticBeanstalk console?

    • @gustavostnt
      @gustavostnt 2 месяца назад

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