Deployments with Docker and Elastic Beanstalk

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • In this video, we will walk through automated deployments via Github Actions while utilizing docker and docker-compose to deploy our applications to AWS (Amazon Web Services) Elastic Beanstalk.
    Code:
    github.com/Sch...
    Notes:
    ryan-schachte....
    Notion:
    www.notion.so/...

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

  • @GeorgeWurthmann
    @GeorgeWurthmann 2 года назад +18

    The video is very good, congratulations!
    But you created a local docker environment and hoped you would deploy to EB using docker environment as well.

  • @Gio-m
    @Gio-m Год назад

    Dude you're a savior! It's been taking me weeks to understand Docker & AWS, yet despite watching countless tutorials yours is the only one that clearly explained everything in detail! Thanks for taking the time to explain everything and helping us all out, subscribed 🙌

  • @pinakadhara7650
    @pinakadhara7650 3 года назад +8

    Great tutorial. But here we are using docker for only local development and not deploying to EB right ? The title seems misleading

  • @sntshkmr60
    @sntshkmr60 9 месяцев назад +1

    In first half of the video, you talked about dockerfile and docker compose. That's awesome. But looking at the title of the video, it felt like you'll be using Docker as a platform for the beanstalk environment. I already have images pushed to dockerhub. And am looking forward to using that docker image to run on the beanstalk.

  • @joudawad1042
    @joudawad1042 2 года назад

    Man this is one of the simplest and most amazing videos that take care of everything, really liked the content and I subscribed to your channel !!

  • @igorleal1798
    @igorleal1798 2 года назад +5

    I think you are not using docker at all. Your docker and docker-compose files are being ignored by beanstalk, is that correct?

    • @IlyaGromov
      @IlyaGromov 2 года назад +3

      I was wondering about the same thing. He selects Node.js platform in BS when creating application. Does it work because dist is already present in the zip file and node.js platform just knows to serve from there automatically?

  • @swrv_sounds
    @swrv_sounds 3 года назад +4

    When did Logic start programming? Just kidding, keep up the videos! Love your stuff

  • @sakariyam1610
    @sakariyam1610 3 года назад +2

    When your zip is deployed to amazon beanstalk is only one image created. Does it sort of manage multiple backup images similar to what kubernetes does?

  • @lawrenceeze6978
    @lawrenceeze6978 3 года назад

    This is awesome, I was having issues with my environment in ELB. This was really helpful. Thank you.

  • @takshilpatil1189
    @takshilpatil1189 2 года назад

    Awesome tutorial. Please keep creating such good content.

  • @binary-brackets
    @binary-brackets 2 года назад

    Thanks for your all efforts! It's too useful! Keep it up!

  • @twopercentohgee
    @twopercentohgee 3 года назад

    i love the mechanical keyboard. bringing it back old school

  • @balmaraz96
    @balmaraz96 3 года назад

    Great video, many of us needed this!

  • @Zombull73
    @Zombull73 2 года назад +1

    I know it's been a minute...has something changed on Elastic Beanstalk? I'm following these steps, but EB is not building my image.

  • @IlyaGromov
    @IlyaGromov 2 года назад +5

    You describe process of how ELB works with docker files here (ruclips.net/video/ssVQ7OKdXiM/видео.html) - but when you create the application there you selected Node.js as your platform instead of Docker. I'm not sure why or how that works. Can you please elaborate on that? Thanks!

    • @smibrahim1587
      @smibrahim1587 2 года назад +2

      agree, doesn't make any sense. may the author still didn't realise the mistake.

    • @emryx
      @emryx 2 года назад

      Yeah i have the same question, i have a multi-container docker with php, nodejs and nginx containers. We all agree that i can't just pick a PHP or NodeJS branch platform and should use Docker Branch platforms right ?

  • @jacksteen1236
    @jacksteen1236 2 года назад

    This video is super concise! Thank you!

  • @BotaFichaCortes
    @BotaFichaCortes 3 года назад +1

    Very nice tutorial. I have a question. If I have a project with docker-compose which has threee containers: nginx, php with Laravel and nodejs with Nuxt. The production settings are completed. Laravel uses port 8000 and Node uses port 3000. How to deploy these applications and use the same domain? Also, which server should I choose in Beanstalk, PHP?

  • @xiaokourou
    @xiaokourou 3 года назад +4

    Great video! 2 questions:
    1. How can I pass an .env file that my docker-compose.yml can read with -env_file:
    2. How can I use an EFS volume to pass in my ssl certs to nginx-proxy in docker-compose

  • @runninstermz
    @runninstermz 2 года назад

    have you ever done this with vuejs? I keep getting an error saying that when it tries to start it says vue-cli-service command not found in my web.stdout.log file.
    is that an error coming from my docker container? When I run docker-compose up from my console locally, everything runs fine, but when I deploy it to elastic beanstalk it just throws that error and a healthcheck of severe.

  • @siddheshb.kukade4685
    @siddheshb.kukade4685 3 года назад

    You deserve more subscribers ☺💥🎊

  • @user-xc6jp6rm9s
    @user-xc6jp6rm9s 3 месяца назад

    But why does the title say that it will deploy with docker if in the end it configures to deploy with node.js ¿¿??

  • @akisoft1
    @akisoft1 10 месяцев назад

    This is nice, but i am trying to deploy with docker compose that has multiple imagages that depends on each others, can you help with that?

  • @christianibiri
    @christianibiri 2 года назад

    Excellent video, it is a shame that Elastic Beanstalk is not a very popular service these days :(

  • @ziat1988
    @ziat1988 2 года назад

    Thanks for the tuto. In Elastic Beanstalk you set the Platform to Nodejs but I wondering why don't set it to docker. It sound more nature for me because this is a docker environment. Is there a different? Thanks

  • @crudusplays473
    @crudusplays473 3 года назад

    Nice tutorial. :D Nice bash prompt, too. Can you share your PS1? Or make a vid on how u created it. Thanks!

  • @mathewtaylor6151
    @mathewtaylor6151 3 года назад +1

    Hi thanks for the video, my first try and GitHub Actions and this was a great help. I have a question on the hosting part though. We are checking out the repo in the GH Action, then we are zipping the repo and triggering a deployment to Beanstalk. Beanstalk is then going to execute the package.json file to install the dependencies because it's running on a Node version of Beanstalk - how is Docker being used in the Beanstalk hosting or we are not hosting in a container in production here?

    • @akash4393
      @akash4393 3 года назад

      This was my experience too and I was able to confirm that if you use Node.js the beanstalk works with the package.json

  • @thomaspotterdotexe
    @thomaspotterdotexe Год назад

    Wait, mine was need to setup vpc, rds etc, how you only need in one page and done?

  • @info662
    @info662 2 года назад

    Awesome tutorial man.
    What if I wanted to make some nginx changes, where can I do that?

  • @siddheshb.kukade4685
    @siddheshb.kukade4685 3 года назад

    You are awesome, sir

  • @mcvideo2242
    @mcvideo2242 2 года назад

    I thought elastic beanstalk already has nginx as part of the platform and all you need is a config file?

  • @AmarKumar-od9gz
    @AmarKumar-od9gz 3 года назад

    Thank youuuuuuuuuuuuuu...................... so much :):)

  • @themaskedprogrammer6707
    @themaskedprogrammer6707 2 года назад +3

    Are you sure you know what you're talking about?
    You're not using Docker at all man! Please don't post videos if you don't know what you're talking about. You just selected Node JS from the dropdown instead of Docker, so you destroyed the entire concept of Docker, despite the fact that you configured the docker files correctly.

  • @RenatoPradodev
    @RenatoPradodev Год назад

    you can add node_modules to .dockerignore to ignore on docker build

  • @alexroman2889
    @alexroman2889 3 года назад

    Thank you.

  • @YonathanBenitah
    @YonathanBenitah 2 года назад

    Don't understand why to dockerize a client app.
    IMO it would be better to build it and publish the bundled file to s3.
    these are just static files!

  • @RajAmitSingh
    @RajAmitSingh 3 года назад

    how to deploy with docker.aws.json?

  • @KhrisnaGunanasurya
    @KhrisnaGunanasurya 3 года назад

    Hi, may I know how to set the terminal similar with yours?

  • @randydiebold325
    @randydiebold325 2 года назад

    ?? where is your backend?? what is this even supposed to do?

  • @rounakchourasia2030
    @rounakchourasia2030 3 года назад

    what is ryan reynolds doin here?

  • @Alexis-ei9ct
    @Alexis-ei9ct Год назад

    Docker should not be on the title because it is irrelevant. It is not a deployment with docker.

  • @MrSydadder
    @MrSydadder 3 года назад

    I'm not able to see the code changes in realtime even though I've copied the code from the repository and ran docker-compose -f docker-compose-development.yml up. Anything I missed or has changed?