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

แชร์
ฝัง

ความคิดเห็น • 36

  • @bhairavkedare9074
    @bhairavkedare9074 หลายเดือนก่อน +2

    i was today years old until i got to know using scp was best option to share files this easily !! great job!

  • @GeorgeDonnelly
    @GeorgeDonnelly 4 หลายเดือนก่อน +5

    Straightforward, clear tutorial. This was really helpful, thanks. Subscribed.

  • @kevon217
    @kevon217 6 หลายเดือนก่อน +3

    Great, quick tutorial. Really appreciate it.

  • @tintintintin576
    @tintintintin576 3 หลายเดือนก่อน

    this video helped me big time! thank you so much! :)

  • @geeekfa3278
    @geeekfa3278 7 หลายเดือนก่อน +1

    You are awesome Vincent

  • @cooperfield45
    @cooperfield45 4 หลายเดือนก่อน

    very helpful tutorial! thanks man

  • @user-hc2ep3bn7c
    @user-hc2ep3bn7c 7 หลายเดือนก่อน

    Hey man. Thanks for this.

  • @uzzielperez4316
    @uzzielperez4316 5 หลายเดือนก่อน

    Thanks very much for this!

  • @ravitejalam
    @ravitejalam 7 หลายเดือนก่อน

    Great video. I have a question. Why you didn't you use gunicorn and nginx?

  • @hahaok_
    @hahaok_ 7 หลายเดือนก่อน +10

    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 6 หลายเดือนก่อน +1

      thanks!! wasn't able to do it with the sudo amazon-linux-extras install docker

    • @hahaok_
      @hahaok_ 6 หลายเดือนก่อน

      im glad i could help someone with my comment!
      @@najbighouse

    • @thanhannguyen2565
      @thanhannguyen2565 13 ชั่วโมงที่ผ่านมา

      thank you, you save my day

  • @krish4659
    @krish4659 4 หลายเดือนก่อน

    Thanks ! that was helpful

  • @ericferole7972
    @ericferole7972 8 หลายเดือนก่อน +3

    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 !

  • @TheRFreyre
    @TheRFreyre 6 หลายเดือนก่อน +1

    Pretty cool. Thanks. Wouldn't cloning from github be easier?

  • @najbighouse
    @najbighouse 6 หลายเดือนก่อน +2

    what about doing this with docker-compose? which would be the steps for it?

  • @nickname8668
    @nickname8668 2 หลายเดือนก่อน +1

    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?

  • @windws7137
    @windws7137 หลายเดือนก่อน

    Thank you, amazing tutorial, based

  • @tomstalley3179
    @tomstalley3179 6 หลายเดือนก่อน

    Thank you!

  • @jordanfox3782
    @jordanfox3782 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน

      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.

  • @MisterRyanW
    @MisterRyanW 3 หลายเดือนก่อน

    Thank you!!!!!!!!

  • @nicolassuarez2933
    @nicolassuarez2933 หลายเดือนก่อน

    Really strugling trying to atach a volume of 30gb to this instace, running out of space all the time., any tip?

  • @MyRonniej
    @MyRonniej 2 หลายเดือนก่อน

    hello new here was there a prerequisite video before this video explaining the terminal before you got started

  • @anythingforclicks
    @anythingforclicks 6 หลายเดือนก่อน +2

    I’m so confused 😞

  • @anasouardini
    @anasouardini 5 หลายเดือนก่อน +6

    Be careful with that resource-hungry docker container.

  • @eternalio1729
    @eternalio1729 7 หลายเดือนก่อน +1

    hey what ide do you use?

    • @najbighouse
      @najbighouse 6 หลายเดือนก่อน

      pycharm

    • @eternalio1729
      @eternalio1729 6 หลายเดือนก่อน

      What themes?

  • @mihirdutta-DPSi
    @mihirdutta-DPSi 7 หลายเดือนก่อน

    4:33 Change permission to avoid `sudo`

    • @muhammadhadziqrazin7213
      @muhammadhadziqrazin7213 6 หลายเดือนก่อน

      yes and perhaps you should re-connect to the instance to make it works!

  • @saifeddinesassi2782
    @saifeddinesassi2782 5 หลายเดือนก่อน +1

    I was charged around 0.1$ daily when it create the default VPC

    • @glitchbug3728
      @glitchbug3728 หลายเดือนก่อน

      its eip cost,release it

  • @windws7137
    @windws7137 2 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

      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