DevOps Lab Project - Learn to be a DevOps Engineer through this Practical Lab Project

Поділитися
Вставка
  • Опубліковано 31 тра 2024
  • In this video I walk you through a typical DevOps project. In this Project I introduce the concept of configuration as code with Vagrant, go over configuration management with Ansible, then Containers and Container Orchestration with Docker and Docker Swarm.
    📁 github.com/devopsjourney1/dev...
    ☕ Buy me a beer: www.buymeacoffee.com/bradmorg
    👨‍💻 Join our Discord Community of DevOps Engineers: / discord
    0:00 Introduction
    0:55 Vagrant/Virtual Box setup
    10:20 Managing Server Configuration with Ansible
    25:06 Containerizing Applications with Docker
    33:40 Container Orchestration with Docker Swarm
  • Наука та технологія

КОМЕНТАРІ • 79

  • @0x007A
    @0x007A 2 роки тому +1

    This walktrough has been helpful to understand how each of these tools work together.

  • @shauryasharma7647
    @shauryasharma7647 2 роки тому +1

    Wow, a round of applause 👏. Please keep up the awesome work.

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

    Awesome video. Very well explained. Down to Earth and explained in a way that I totally understand. I'm starting a DevOps Apprenticeship in September and I think your channel will be a valuable resource. Many thanks.

  • @sheynjila2457
    @sheynjila2457 2 роки тому +1

    Thanks. It took me sometime but I finally got everything running. SO proud of you!

  • @AhmedKhan-rt6oz
    @AhmedKhan-rt6oz 2 роки тому +1

    Curiously waiting for this‼️‼️♥️

  • @ravisankar6723
    @ravisankar6723 2 роки тому +1

    Really appreciate your effort.Thanks for the video.

  • @laurentiudaniel3075
    @laurentiudaniel3075 2 роки тому +8

    Man, you're great. I'm trying to land a junior devops job and projects like this help me a lot to have a better grasp on how all these technologies work together.
    Thanks and keep up the good work.
    You made my day!

    • @FreeThink1984
      @FreeThink1984 8 місяців тому

      Did you ever get a devops job

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

    Thanks a bunch, bro! Keep doing such lessons with different technologies
    Beneficial material

  • @Dravig
    @Dravig 2 роки тому +1

    Great job! Many thanks for this demo!

  • @yanirwinnik8516
    @yanirwinnik8516 Рік тому +1

    This is so good. thank you so much!

  • @PANDApoopish
    @PANDApoopish Рік тому +2

    Hey Devops journey, thank you for taking the time to show us this detail by detail. My question for you is - would a project like this be worth putting on your resume to show that you have some familiarity with these roles are looking for?

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

    This is an incredible video.

  • @islamsalah2380
    @islamsalah2380 2 роки тому +1

    Great Job Man, Many thanks

  • @CephalicCarnage100
    @CephalicCarnage100 2 роки тому +1

    very helpful. thanks!

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

    Merci beaucoup. Very interesting lab. Thanks for this good job.

  • @miguelvergara9890
    @miguelvergara9890 2 роки тому +1

    Great! thank you!

  • @onoriodeunu2394
    @onoriodeunu2394 2 роки тому +1

    Amazing video!

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

    Please make more of these projects

  • @d0ra3m0n
    @d0ra3m0n 2 роки тому +1

    Thanks!

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

    Thanks man !

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

    Coming to the docker part, I am facing an issue. On node 1, when I run docker run hello-world, I get permission issues, but when I run sudo dokcer run hello-world, everything works fine, any idea of how can this be fixed, so that I can run docker without root access?

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

    Thanks for this tutorial. I have an exsi host with almalinux as my controller and two other nodes (centos8) as my home lab. Can I run this project on my controller?

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

    After provisioning you said I'll show how to copy the host file to the right location but there were no instructions for that, I provisioned the boxes and ssh in to control but the vagrant folder contents do not match what appears in the directory

  • @54M1WUL
    @54M1WUL 2 роки тому +4

    we need more of these devops lab tutorials plz

    • @DevOpsJourney
      @DevOpsJourney  2 роки тому +12

      They take a little longer to make and plan out, but I plan to do more of them!

    • @54M1WUL
      @54M1WUL 2 роки тому

      @@DevOpsJourney thank u very much

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

      ​@@DevOpsJourney legend!

  • @yahialamhafad5631
    @yahialamhafad5631 6 місяців тому

    Thank you for this awesome project !! I have just one question: Why not configuring the control node as the manager for docker swarm instead of using node ?

  • @bog9867
    @bog9867 2 роки тому +1

    Thanks

  • @lukesemail6980
    @lukesemail6980 Рік тому +1

    You've helped me so much over the past two years. Thank you so much for that!
    Super nit-picky and not to be taken as critique because you maybe know this by now and it's not the biggest deal: Be sure to add all of your 'RUN' commands in Dockerfiles to the same RUN line when possible, to avoid creating separate layers in your produced image and to keep the images/containers smaller.
    RUN do stuff \
    && do more stuff \
    && do final thing
    Instead of having:
    RUN do stuff
    RUN do more stuff
    RUN do final thing
    It'll keep your final images smaller.
    #bestpractices #unaskedforadvice

    • @DevOpsJourney
      @DevOpsJourney  Рік тому +1

      Thanks, that's actually really good advice that I will implement!

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

    I am getting errors when trying to test ansible, it says unable to parse .... as an inventory source and also, " no inventory list was parsed", "provided host list is empty"

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

    Will you in future bring another project using terraform instead of vagrant? And a little more advanced side of that? I am really interested. This was awesome!

    • @DevOpsJourney
      @DevOpsJourney  2 роки тому +15

      Yup! I will be working on Terraform and some Kibana tutorials in the next few months.

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

      @@DevOpsJourney awesome!

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

    I keep running vagrant up and keep getting a message that says my ip addresses arent in range. Cant find any videos on how to correct it.

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

    after installing ansible I tied to CD in to it but I am getting an error that it is not a directory. I have tried to uninstall and reinstall but still getting the same message please help

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

    Everything is fine just that things take a lot of time to load in my laptop. Like configuration of the servers took about 30 minutes and getting into vagrant ssh control too took about 40 minutes. Rest everything works fine. I am looking forward to do some more projects into devops. Thanks for this tutorial.
    Edit: Okay, so I just got stuck at the ansible part over here and then after some debugging found out that ansible installation got corrupted midway and hence the command ansible was not being recognised. So again, had to run sudo apt get ansible and the issue got fixed.

  • @brainlesstechie5490
    @brainlesstechie5490 2 роки тому +1

    I hope i dont miss it, this will be at my 3am.

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

    everything worked for me just fine, but when doing curl node1:5000 it also outputs the hostname of nodes 2 and 3

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

    Can anyone tell me why we only do orchestration on node servers?

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

    How to implement this same project out of vagrant?

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

    Hey DevOps Journey, Thanks for this project. Do you have a video on how to migrate this project to cloud using Terraform?

  • @iyadzain6972
    @iyadzain6972 2 роки тому +3

    Interesting topics about DevOps stack, I'm wonder why you chose Docker Swarm instead of K8s.

    • @DevOpsJourney
      @DevOpsJourney  2 роки тому +3

      K8s is a bigger beast to teach, requires a dedicated video. Just wanted to introduce the concept of orchestration :)

  • @DevlogBill
    @DevlogBill Рік тому +2

    Fairly new and I am trying to see what is involved with DevOps. I noticed some terminal commands; I am assuming you have to become a master of terminal commands? Also, Is Python the preferred programming language? I know Python and JavaScript if either is optional? Finally, is starting with the AWS Architect Associates enough to land a first job in AWS Cloud services or would I need 2 certifications the AWS Developers Associates as well to become employable in DevOps?

    • @DevOpsJourney
      @DevOpsJourney  Рік тому +1

      A lot of terminal commands are used day to day. Python is popular but any of the major programming languages should be enough to land you a job. No need for multiple AWS certs - I don't have any and neither do most of the people I've worked with.

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

      @@DevOpsJourney Thank you, that actually inspires me to look further into DevOps. At the moment I am comparing the DevOps developer path versus the C# Developer Path, I am stuck in the middle between these 2 professions, I like them both equally. At the moment I am just master JavaScript and Python. But I should have enough info to decide by the end of this month. Thank you so much for getting back to me and I've been watching your content more now to learn more about DevOps.

    • @DevlogBill
      @DevlogBill Рік тому +1

      @@DevOpsJourney Forgot to ask, but how can I land a job in tech like a spot as a developer for something similar like what you do? I don't have a degree, I don't work in tech I work for an airline company. What would you recommend? Thank you.

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

      @@DevOpsJourney That is actually good to know!! All I keep seeing or hearing whether it is from Twitter or UA-cam is people advertising the idea that it is mandatory to get these certifications to land an AWS job. Thanks for letting me know.

  • @mangamaniac1803
    @mangamaniac1803 2 роки тому +1

    we can create instances in AWS nd use them instead of Vagrant , Right ?

  • @noelmasong9223
    @noelmasong9223 2 роки тому +2

    Howdy Mate! how about using Vim to hold Vagrant files instead of installing Virtual Studio code?

    • @DevOpsJourney
      @DevOpsJourney  2 роки тому +1

      Yup that's fine!

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

      @@DevOpsJourney Thanks Mate. Made it running using Vim. looking forward for the next informative and fun learning tutorial w/ DevOps.. stay safe Mate.

  • @ahmadkabalo7738
    @ahmadkabalo7738 2 роки тому +2

    Legacy stack I think!!

  • @kyusionya8165
    @kyusionya8165 Рік тому +1

    Can I use terraform instead of vagrant ?

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

    I copied the keyes as per instruction but it still asks for password when i try to access any of the nodes. I followed the video to every detail. Please help. Thank you.

    • @DevOpsJourney
      @DevOpsJourney  2 роки тому +1

      Hey Kasdal. Can you give the timestamp around where you are having the issue? Thanks!

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

      @@DevOpsJourney Heya. Thx for reply. Its this part here. ua-cam.com/video/YuZ002YrvUA/v-deo.html It still asks for password regardless.
      I have the hosts copied and it pings fine when i call a node so name resolution works fine. But when i copy the ssh keyes something goes wrong. I checked /etc/ssh/sshd_config it looks ok as per Stackowerflow recommendation.

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

      @@kasdal did the ssh-copy-id commandd work? It should copy the public ssh key to the hosts. once the public ssh key is on the hosts, they should no longer require a password. This article might help: www.ssh.com/academy/ssh/copy-id

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

      @@DevOpsJourney It did i can see it in the remote machines. I also tried using other images same thing. It's really strange. I will check this article. Thank you.

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

      @@DevOpsJourney My bad. I totally misunderstood how ssh-keygen works. When creating one i added a password. xD Shooting myself in a foot and spending one day or more debugging this crap.

  • @ofekezra7567
    @ofekezra7567 2 роки тому +1

    Amazing project . How can I put those kind of projects in resume ?

    • @DevOpsJourney
      @DevOpsJourney  2 роки тому +1

      I've given a high level summary of a projects similar to how I specify job experience. I've also linked to GitHub

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

      @@DevOpsJourney got it thank you

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

    what is the password? i was asked about node1, node 2, node3 passwords

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

    海贼王漫画

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

    the best

  • @trollingday7124
    @trollingday7124 2 місяці тому

    2024: Change vagrant to terraform and containerizing with docker-compose (more similar to next step of orquestation with k8s) and why are not included gitlab/jenkins and some public cloud=?

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

    Hello,
    trying to execute the first command in Ansible I received an errror:
    ansible nodes -i myhosts -m command -a hostname
    [WARNING]: Ansible is in a world writable directory (/vagrant/ansible), ignoring it as an ansible.cfg source.
    node2 | FAILED | rc=0 >>
    MODULE FAILURE
    node1 | FAILED | rc=0 >>
    MODULE FAILURE
    node3 | FAILED | rc=0 >>
    MODULE FAILURE
    Do you know why? The ssh connection works fine.