Deployments with Docker and Elastic Beanstalk

Поділитися
Вставка
  • Опубліковано 20 гру 2020
  • 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/Schachte/simple-en...
    Notes:
    ryan-schachte.com/2020/12/20/...
    Notion:
    www.notion.so/Automated-Deplo...

КОМЕНТАРІ • 51

  • @Gio-m
    @Gio-m 9 місяців тому

    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 🙌

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

  • @lawrenceeze6978
    @lawrenceeze6978 3 роки тому

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

  • @LoveMagic11
    @LoveMagic11 2 роки тому

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

  • @balmaraz96
    @balmaraz96 3 роки тому

    Great video, many of us needed this!

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

    Awesome tutorial. Please keep creating such good content.

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

  • @jacksteen1236
    @jacksteen1236 2 роки тому

    This video is super concise! Thank you!

  • @sntshkmr60
    @sntshkmr60 6 місяців тому +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.

  • @pinakadhara7650
    @pinakadhara7650 2 роки тому +7

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

  • @twopercentohgee
    @twopercentohgee 3 роки тому

    i love the mechanical keyboard. bringing it back old school

  • @siddheshb.kukade4685
    @siddheshb.kukade4685 2 роки тому

    You deserve more subscribers ☺💥🎊

  • @siddheshb.kukade4685
    @siddheshb.kukade4685 2 роки тому

    You are awesome, sir

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

  • @BotaFichaCortes
    @BotaFichaCortes 2 роки тому +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?

  • @alexroman2889
    @alexroman2889 3 роки тому

    Thank you.

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

  • @mathewtaylor6151
    @mathewtaylor6151 2 роки тому +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 2 роки тому

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

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

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

    • @achiever8278
      @achiever8278 2 роки тому

      use this => docker-compose --env-file up

  • @info662
    @info662 2 роки тому

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

  • @AmarKumar-od9gz
    @AmarKumar-od9gz 2 роки тому

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

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

    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

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

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

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

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

  • @user-xc6jp6rm9s
    @user-xc6jp6rm9s 2 дні тому

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

  • @IlyaGromov
    @IlyaGromov 2 роки тому +5

    You describe process of how ELB works with docker files here (ua-cam.com/video/ssVQ7OKdXiM/v-deo.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 Рік тому

      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 ?

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

    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?

  • @thomaspotterdotexe
    @thomaspotterdotexe 10 місяців тому

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

  • @mcvideo2242
    @mcvideo2242 2 роки тому

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

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

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

  • @rounakchourasia2030
    @rounakchourasia2030 3 роки тому

    what is ryan reynolds doin here?

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

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

  • @randydiebold325
    @randydiebold325 2 роки тому

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

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

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