Hosting a Docker Container on AWS EC2 Free Tier in under 12 minutes

  Рет қаралды 33,064

Vincent Stevenson

Vincent Stevenson

7 ай бұрын

I walk through how to build and host docker containers on the AWS EC2 free tier. Link to the GitHub Flask docker repo shown in the video: github.com/vastevenson/ec2-do...

Пікірлер: 35
@bhairavkedare9074
@bhairavkedare9074 8 күн бұрын
i was today years old until i got to know using scp was best option to share files this easily !! great job!
@GeorgeDonnelly
@GeorgeDonnelly 3 ай бұрын
Straightforward, clear tutorial. This was really helpful, thanks. Subscribed.
@kevon217
@kevon217 5 ай бұрын
Great, quick tutorial. Really appreciate it.
@hahaok_
@hahaok_ 5 ай бұрын
thank you so much for this upload! had to make one adjustment to be ablte to run it: apperently you install docker with this command now: sudo yum -y install docker
@najbighouse
@najbighouse 5 ай бұрын
thanks!! wasn't able to do it with the sudo amazon-linux-extras install docker
@hahaok_
@hahaok_ 5 ай бұрын
im glad i could help someone with my comment! @@najbighouse
@geeekfa3278
@geeekfa3278 6 ай бұрын
You are awesome Vincent
@tintintintin576
@tintintintin576 2 ай бұрын
this video helped me big time! thank you so much! :)
@cooperfield45
@cooperfield45 2 ай бұрын
very helpful tutorial! thanks man
@windws7137
@windws7137 14 күн бұрын
Thank you, amazing tutorial, based
@user-hc2ep3bn7c
@user-hc2ep3bn7c 6 ай бұрын
Hey man. Thanks for this.
@uzzielperez4316
@uzzielperez4316 4 ай бұрын
Thanks very much for this!
@ravitejalam
@ravitejalam 6 ай бұрын
Great video. I have a question. Why you didn't you use gunicorn and nginx?
@ericferole7972
@ericferole7972 7 ай бұрын
Hi Vincent, Thank for you tutorial. Regarding the files you upload, let's say I have a Django project with many more files. How would you proceed? Thank you !
@najbighouse
@najbighouse 5 ай бұрын
what about doing this with docker-compose? which would be the steps for it?
@TheRFreyre
@TheRFreyre 5 ай бұрын
Pretty cool. Thanks. Wouldn't cloning from github be easier?
@jordanfox3782
@jordanfox3782 6 ай бұрын
thanks for the video. I wonder if you could give more details about why you chose to copy the dockerfile and build the image on your ec2, rather than pulling down the image from dockerhub or some other registry and running the container which I would have thought is way more usual approach.
@VincentStevenson
@VincentStevenson 6 ай бұрын
Good question - my main reason was to keep it on the free tier and stay simple enough for a relatively short video. But yes, for a more practical setup, using a container registry is better and I would do that.
@krish4659
@krish4659 2 ай бұрын
Thanks ! that was helpful
@tomstalley3179
@tomstalley3179 5 ай бұрын
Thank you!
@nicolassuarez2933
@nicolassuarez2933 19 күн бұрын
Really strugling trying to atach a volume of 30gb to this instace, running out of space all the time., any tip?
@MisterRyanW
@MisterRyanW 2 ай бұрын
Thank you!!!!!!!!
@nickname8668
@nickname8668 Ай бұрын
Just curious, why cannot you dockerize the file locally and upload it to the ec2? I thought docker was supposed to be multi-platform and allow you to dockerize in a different environment?
@MyRonniej
@MyRonniej Ай бұрын
hello new here was there a prerequisite video before this video explaining the terminal before you got started
@anasouardini
@anasouardini 4 ай бұрын
Be careful with that resource-hungry docker container.
@eternalio1729
@eternalio1729 6 ай бұрын
hey what ide do you use?
@najbighouse
@najbighouse 5 ай бұрын
pycharm
@eternalio1729
@eternalio1729 5 ай бұрын
What themes?
@anythingforclicks
@anythingforclicks 5 ай бұрын
I’m so confused 😞
@saifeddinesassi2782
@saifeddinesassi2782 4 ай бұрын
I was charged around 0.1$ daily when it create the default VPC
@glitchbug3728
@glitchbug3728 17 күн бұрын
its eip cost,release it
@mihirdutta-DPSi
@mihirdutta-DPSi 6 ай бұрын
4:33 Change permission to avoid `sudo`
@muhammadhadziqrazin7213
@muhammadhadziqrazin7213 5 ай бұрын
yes and perhaps you should re-connect to the instance to make it works!
@windws7137
@windws7137 Ай бұрын
It builds a container but doesn't show up in the website address , how to fix it ? solution: docker kill $(docker ps -q) docker start -ai container_name or run a new one from image sudo docker run -d -p 80:3000 adguard/adguardhome
@windws7137
@windws7137 Ай бұрын
These are the commands sudo yum upgrade sudo amazon-linux-extras install docker -y sudo service docker start sudo usermod -a -G docker $USER Disable Systemd resolver: sudo systemctl stop systemd-resolved sudo systemctl disable systemd-resolved docker run --name adguardhome\ --restart unless-stopped\ -v /my/own/workdir:/opt/adguardhome/work\ -v /my/own/confdir:/opt/adguardhome/conf\ -p 53:53/tcp -p 53:53/udp\ -p 67:67/udp\ -p 80:80/tcp -p 443:443/tcp -p 443:443/udp -p 3000:3000/tcp\ -p 853:853/tcp\ -p 784:784/udp -p 853:853/udp -p 8853:8853/udp\ -p 5443:5443/tcp -p 5443:5443/udp\ -d adguard/adguardhome It doesn't show up int he IP address
How to Deploy a Docker App to AWS ECS
24:18
Laith Academy
Рет қаралды 106 М.
How I deploy serverless containers for free
6:33
Beyond Fireship
Рет қаралды 388 М.
MOM TURNED THE NOODLES PINK😱
00:31
JULI_PROETO
Рет қаралды 26 МЛН
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 393 М.
Creating a Flask Web Server in EC2 on the AWS Free Tier from scratch!
17:28
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 790 М.
Creating an RDS PostgreSQL Database on the AWS Free Tier
11:20
Vincent Stevenson
Рет қаралды 53 М.
How I Would Learn AWS Today (after 10 years of cloud experience)
40:28
Be A Better Dev
Рет қаралды 346 М.
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 10 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,7 МЛН
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 11 МЛН