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...
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 🙌
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 !!
This is awesome, I was having issues with my environment in ELB. This was really helpful. Thank you.
Awesome, glad you enjoyed!
Thanks for your all efforts! It's too useful! Keep it up!
Great video, many of us needed this!
Awesome tutorial. Please keep creating such good content.
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.
This video is super concise! Thank you!
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.
Great tutorial. But here we are using docker for only local development and not deploying to EB right ? The title seems misleading
i love the mechanical keyboard. bringing it back old school
You deserve more subscribers ☺💥🎊
You are awesome, sir
I think you are not using docker at all. Your docker and docker-compose files are being ignored by beanstalk, is that correct?
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?
When did Logic start programming? Just kidding, keep up the videos! Love your stuff
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?
Thank you.
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?
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?
This was my experience too and I was able to confirm that if you use Node.js the beanstalk works with the package.json
Nice tutorial. :D Nice bash prompt, too. Can you share your PS1? Or make a vid on how u created it. Thanks!
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
use this => docker-compose --env-file up
Awesome tutorial man.
What if I wanted to make some nginx changes, where can I do that?
Thank youuuuuuuuuuuuuu...................... so much :):)
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
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.
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.
Excellent video, it is a shame that Elastic Beanstalk is not a very popular service these days :(
But why does the title say that it will deploy with docker if in the end it configures to deploy with node.js ¿¿??
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!
agree, doesn't make any sense. may the author still didn't realise the mistake.
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 ?
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?
Wait, mine was need to setup vpc, rds etc, how you only need in one page and done?
I thought elastic beanstalk already has nginx as part of the platform and all you need is a config file?
how to deploy with docker.aws.json?
Hi, may I know how to set the terminal similar with yours?
Google 'Zsh'
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!
what is ryan reynolds doin here?
you can add node_modules to .dockerignore to ignore on docker build
?? where is your backend?? what is this even supposed to do?
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.
Docker should not be on the title because it is irrelevant. It is not a deployment with docker.
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?