i automated my home lab (and CLOUD) with Ansible

  Рет қаралды 239,764

NetworkChuck

NetworkChuck

Күн бұрын

Become an Ansible Master: Best of Fest: ntck.co/ansiblebestoffest AnsibleFest Content hub: ntck.co/contenthub
With one, simple request to Alexa, I can deploy lab machines to Proxmox, AWS, and Linode with Ansible!! I’ve automated my entire lab creation process!! In this video, I’m going to tell you an automation story, a tale of how I tried to automate everything and….went a little crazy in the process. But it was amazing and honestly…kind of addicting. I’ll also show you how you can automate your lab as well.
Automate Your STUFF
---------------------------------------------------
-All the code (Github): ntck.co/ansible
-Linode documentation: www.linode.com/docs/guides/de...
-AWS Documentation: docs.ansible.com/ansible/late...
-Proxmox Documentation: docs.ansible.com/ansible/2.9/...
-Slack Documentation: docs.ansible.com/ansible/late...
🔥🔥Join Hackwell Academy: ntck.co/NCAcademy
**Sponsored by Red Hat Ansible
SUPPORT NETWORKCHUCK
---------------------------------------------------
➡️NetworkChuck membership: ntck.co/Premium
☕☕ COFFEE and MERCH: ntck.co/coffee
Check out my new channel: ntck.co/ncclips
🆘🆘NEED HELP?? Join the Discord Server: / discord
STUDY WITH ME on Twitch: bit.ly/nc_twitch
READY TO LEARN??
---------------------------------------------------
-Learn Python: bit.ly/3rzZjzz
-Get your CCNA: bit.ly/nc-ccna
FOLLOW ME EVERYWHERE
---------------------------------------------------
Instagram: / networkchuck
Twitter: / networkchuck
Facebook: / networkchuck
Join the Discord server: bit.ly/nc-discord
0:00 ⏩ Intro
0:59 ⏩ Level 1 Laziness unlocked
2:02 ⏩ I should’ve gone to Ansible Fest
2:47 ⏩ Level 2 of Laziness, deploying proxmox
5:24 ⏩ Level 3 Laziness using slack
9:44 ⏩ Level 4 of Laziness using Alexa
12:18 ⏩ See it in Action!!
AFFILIATES & REFERRALS
---------------------------------------------------
(GEAR I USE...STUFF I RECOMMEND)
My network gear: geni.us/L6wyIUj
Amazon Affiliate Store: www.amazon.com/shop/networkchuck
Buy a Raspberry Pi: geni.us/aBeqAL
Do you want to know how I draw on the screen?? Go to ntck.co/EpicPen and use code NetworkChuck to get 20% off!!
#Redhat #Ansiblefest #Automation

Пікірлер: 363
@NetworkChuck
@NetworkChuck Жыл бұрын
Become an Ansible Master: Best of Fest: ntck.co/ansiblebestoffest AnsibleFest Content hub: ntck.co/contenthub Automate Your STUFF --------------------------------------------------- -All the code (Github): ntck.co/ansible -Linode documentation: www.linode.com/docs/guides/deploy-linodes-using-linode-ansible-collection/ -AWS Documentation: docs.ansible.com/ansible/latest/collections/amazon/aws/index.html -Proxmox Documentation: docs.ansible.com/ansible/2.9/modules/proxmox_kvm_module.html -Slack Documentation: docs.ansible.com/ansible/latest/collections/community/general/slack_module.html 0:00 ⏩ Intro 0:59 ⏩ Level 1 Laziness unlocked 2:02 ⏩ I should’ve gone to Ansible Fest 2:47 ⏩ Level 2 of Laziness, deploying proxmox 5:24 ⏩ Level 3 Laziness using slack 9:44 ⏩ Level 4 of Laziness using Alexa 12:18 ⏩ See it in Action!!
@InstantlyGratified
@InstantlyGratified Жыл бұрын
FYI, your AWS keys are able to be seen for 1 frame.
@gdtutorial
@gdtutorial Жыл бұрын
Nowadays Anyone can hack while he's sleepin...?
@uncensoredhomelessnessinbo5600
@uncensoredhomelessnessinbo5600 Жыл бұрын
There are no words for your awesomeness!!! 😎😎😎🤍🤍🤍
@nayanparmar5517
@nayanparmar5517 Жыл бұрын
👶👶👶👶🌞🌞🌞🌞LITTLE BABY
@bendorman2930
@bendorman2930 Жыл бұрын
You know you're a computer geek when you spend a week to automated something that takes less than 5 minutes to setup
@donny_bahama
@donny_bahama Жыл бұрын
Been there, done that. Over and over and over…
@Mark-gg8xx
@Mark-gg8xx Жыл бұрын
You are missing the point. If you have to do it more than once, automate it.
@studiovolantis6650
@studiovolantis6650 Жыл бұрын
Every good mind knows if you do it more than once, make it automated.
@swayy0809
@swayy0809 Жыл бұрын
or when you try to build something that's already been built but still try and take the hard way out
@technolus5742
@technolus5742 Жыл бұрын
5 minutes * 5 days * 52 weeks = 20 hours a year. If you expect to do something frequently, potentially for years, automate it. It will save you time and you can better focus on other tasks
@tramcrazy
@tramcrazy Жыл бұрын
Liking the new levelled structure of videos - this vid and the Halloween special. Also, the Alexa part was AWESOME.
@Rootjunkycom
@Rootjunkycom Жыл бұрын
Watching you nerd out big time on this was super cool. You could see your excitement and the fun you had creating it. Great video.
@ringbolditakoon4190
@ringbolditakoon4190 Жыл бұрын
you're a genius, funny and energetic chuck . I mean come on look at me now from nothing to something bigger just because of your tutorials. all your videos are clear, funny and catchy. you deserve more than just credit bro. thanks for being there,
@noname-hs8br
@noname-hs8br Жыл бұрын
He is a refreshing change for specific people all on the same level his entire theme makes me relax thinking of solutions rather than the next problem.
@nandanray100
@nandanray100 Жыл бұрын
The reason it didnt make the vm is because ansible is stateful. It matches the remote system to the state we are mentioning in the playbook. So if the vm is already present ansible sees that there is nothing to change as the state we mentioned is already fulfilled. So randomizing the VM name with IP address was the best route to go. Thanks Chuck. You were the reason i shifted from Civil Engineering to working as a cloud devops engineer. You the man.
@mrknaldhat
@mrknaldhat Жыл бұрын
Regarding getting the IP of a VM, you could also just ensure qemu-guest-agent is installed in the VM's. Then proxmox can simply "ask the VM" for it. Awksome vid as always!
@Bymo0
@Bymo0 Жыл бұрын
Was thinking the same thing, thought he would find this way faster :D Thats literally the first thing you find in the ansible-proxmox docs regarding the VM IP
@roro9413
@roro9413 Жыл бұрын
This is so damn cool! Outstanding work Chuck! Well done. 👏
@mohamedhabas7391
@mohamedhabas7391 Жыл бұрын
Thank you for always making tech fun to watch :)
@davidtalturejman9185
@davidtalturejman9185 10 ай бұрын
Amazing video like always Chuck, Thank you so much for the great content!!!
@miguelbaezquezada806
@miguelbaezquezada806 Жыл бұрын
Love your content keep up the good work
@anirudhsowrirajan3768
@anirudhsowrirajan3768 Жыл бұрын
This is exactly what I've been waiting for.. Automating proxmox sounds super fun and cool.
@CraigWhargoul
@CraigWhargoul Жыл бұрын
LOL! DId the table actually break?!?!?
@anuhas937
@anuhas937 Жыл бұрын
🤣 i also need to know it
@abbas6213
@abbas6213 Жыл бұрын
Ye same
@QuantumNaut
@QuantumNaut Жыл бұрын
but he automated everything 🤣🤣
@cryder106
@cryder106 Жыл бұрын
I thought he broke his laptop 😂
@dylanledbetter5605
@dylanledbetter5605 Жыл бұрын
Awesome vid! Love that you worked with Redhat. I use ansible quite a bit. In the future if you wanted more IAC you could define vm names and ipaddress ahead of time in group/host vars and automate them by name with a custom inventory file. A bit of a different approach. thanks for sharing!
@RoughGanome
@RoughGanome Жыл бұрын
I used Ansible to spin up three dvwa instances behind a load balancer and a jump box (red team) with splunk logging. Awesome automation!
@scriptbytes
@scriptbytes Жыл бұрын
I love the Alexa integration! Awesome video man!
@getalife6654
@getalife6654 Жыл бұрын
Always so good and promising videos!
@MehrdadGivehchi
@MehrdadGivehchi Жыл бұрын
Your videos crack me up… thank u for all the educational videos.
@buddhist_realm
@buddhist_realm Жыл бұрын
great video as always 🎉
@Asherstitusworld
@Asherstitusworld Жыл бұрын
Super video Chuck Your Videos Are awesome And informative
@nexusnui
@nexusnui Жыл бұрын
I it should be possible to use Avahi to anounce your instance through mdns. That could be easier. After you found the instance through mdns you can remove the Avahi service of your VM, if you do not want to use it.
@atighoudiallo9803
@atighoudiallo9803 Жыл бұрын
You’re amazing 🤩 Keep going
@czeslawpi
@czeslawpi Жыл бұрын
You’re a madman! We love you.
@Savannark.
@Savannark. Жыл бұрын
Is not about the time you spend try making, the thing is about the puzzle. God, I love IT!
@peterle3752
@peterle3752 Жыл бұрын
That was freaking awesome on a whole new level. I'm gonna try this!
@toddphillips8747
@toddphillips8747 Жыл бұрын
Dude, you scare me sometimes. I loved this!
@bxmusic9104
@bxmusic9104 Жыл бұрын
Keep bringing more crazy stuff
@Checker8763
@Checker8763 Ай бұрын
I really like the style and spirit of this video, I just wanted to like again but it already was. So here is my comment. I enjoy all the offroad stuff and ansible :D Gonna try it sooner or later.
@xho7007
@xho7007 Жыл бұрын
One of the best videos ive ever seen
@aaronjohncanlas9740
@aaronjohncanlas9740 Жыл бұрын
I use the upstream of Ansible Tower (A component of Ansible Automation Platform) its called AWX quite neat :)
@Abhinav-Bhat
@Abhinav-Bhat Жыл бұрын
NetworkChuck on Fire With new creative ideas 🔥🔥🔥
@erickalmeida29
@erickalmeida29 Жыл бұрын
Amazing video as always...!!
@Dudukeys
@Dudukeys Жыл бұрын
Look for Ansible Callback, in resume after the vm's provision you can execute a Hardening JOB or Workflow
@Alpha-fc3bo
@Alpha-fc3bo Жыл бұрын
OMG! You are crazy good at this stuff!!!!!
@rom_4938
@rom_4938 Жыл бұрын
Awesome!! Please more automation video!!
@chrisjchalifoux
@chrisjchalifoux 8 ай бұрын
love watching your videos
@justice32legends
@justice32legends Жыл бұрын
Hey now! Never saw this one coming!
@noname-hs8br
@noname-hs8br Жыл бұрын
Such details ty chuck
@kzlarsakalad4974
@kzlarsakalad4974 Жыл бұрын
Hello from Turkey! ❤ I am learning cybersec and also working as a cleaner. I want to learn end later found a job as a cybersec junior lol. I am so enjoyed of your videos. So thanks for great videos. ❤
@WorldITAcademy
@WorldITAcademy Жыл бұрын
Interesting and funny video.Thanks teacher Chuck
@1rkthevar
@1rkthevar Жыл бұрын
Wow really cool. I also like automating things just for fun.
@bauke-jandavids7532
@bauke-jandavids7532 Жыл бұрын
I automated the collection of Windows Autopilot Hardware hashes of already deployed machines using Powershell and Datto RMM. The script downloads AzCopy on the machine, then extracts the zip file and installs NuGet provider and the Get-WindowsAutopilotInfo script. The it runs the script saves the CSV file and uploads it to Azure blob storage. After the collection of all the CSV’s I wrote another script that merged all the CSV’s to a single file ready to upload to the customers tenant. Took me about a day to finetune the entire workflow. But now it can be used for multiple of our customers who are migrating from classic domain join to Intune managed 😁
@QuaverSager
@QuaverSager Жыл бұрын
Good god, Chuck... This is amazing. :D
@jannepelto8206
@jannepelto8206 Жыл бұрын
This is borderline craziness and I love it. Once I did things similar to this but I realized I can never maintain it so I got less crazy... unfortunately... too old maybe... =)
@theoutlet9300
@theoutlet9300 Жыл бұрын
Usually I stop at make commands but now I am intrigued.
@michaelblenkinsop9038
@michaelblenkinsop9038 Жыл бұрын
your real entertaining to watch thumbs up great vid.
@ankanroy2
@ankanroy2 Жыл бұрын
The best use case scenario of ansible is show up on the video but you didn't explain the stuff but a good video overall
@lutherx1142
@lutherx1142 Жыл бұрын
YES! Automation!
@ezekielkinder3665
@ezekielkinder3665 Жыл бұрын
BRO YOU HAVE THE SAME CASETIFY CASE AS ME!! BRO I LOVE YOU SO MUCH AND YOU TEACH IT BETTER THAN ANYONE
@jaygreentree4394
@jaygreentree4394 Жыл бұрын
yaml is one of my favorite things in tech its easy to learn as long as you get the spacing correct. Also a huge fan of proxmox. Regarding proxmox networking if you install the qemu quest agent on your vms it shows the ip
@chriswatson3385
@chriswatson3385 Жыл бұрын
Fracking GEEEEEEEEEK!!! LOVE IT!!!! So subscribing to this channel.🤣😂🙃😉
@RubenALopes
@RubenALopes Жыл бұрын
My man was so hard on that automation game that he even automatically broke the table
@tommsla123
@tommsla123 Жыл бұрын
Wow, this is awesome
@temo_is_crazy
@temo_is_crazy Жыл бұрын
love your vid and also i learnt python cuz of you
@faheem88
@faheem88 Жыл бұрын
This is awesome! I was literally looking to redo my homelab (running proxmox) using Ansible, perfect timing.
@cozi_videos
@cozi_videos Жыл бұрын
Amazing guy... love u... love ur expressions
@Ultimaus
@Ultimaus 9 ай бұрын
Chuck funny enough I found your channel through trying to find the best way to automate wol using Alexa internally and externally without exposing ports so I could fire up moonlight on my android phone strap on a razer kishi and just be like playing cyberpunk on my phone. Watching this video felt like ansible will be the final form of my hopes and dreams.
@robpalomo
@robpalomo Жыл бұрын
This is gold.
@muhammadazeem1346
@muhammadazeem1346 Жыл бұрын
Loveee the intro
@DGaller85
@DGaller85 4 ай бұрын
Great video. I had to laugh a few times as I can relate to that feeling of spending so much time to get a result such as an IP address.
@patrickstar1613
@patrickstar1613 Жыл бұрын
Super good work
@kylehartigan4763
@kylehartigan4763 Жыл бұрын
Awesome video, I use ansible for a lot of my day to day stuff and automation. To simplify my pipelines though I have moved my infrastructure to terraform and I use ansible to manage configuration state. Have a look at terraform if you get a chance.
@IsmaelLa
@IsmaelLa Жыл бұрын
"slapped me and made me do laundry" OMG laughed SO HARD! hahahhaa ... ok let's un-pause the video now and continue ;)
@lonewolfcoding5208
@lonewolfcoding5208 Жыл бұрын
i have learned a lot from you chuck i also frustrated when programming when debugging but i continously learning i hope you notice me
@Sci-fi-Si
@Sci-fi-Si Жыл бұрын
This video is wild! It'll take me a while to get my head around this... so much to learn. Chuck, just a thought, maybe instead of talking directly to Proxmox, how about talking to docker-compose and creating a new docker container (from a list of 1000's of containers that could be built). Having an empty Ubuntu VM or LXC doesn't seem that useful, but saying "Build me a website with..." or "Create a pi-hole server" which could be administrated through Portainer or something... I can see how you nearly went bonkers, the possibilities seem endless especially when combined with Auto-GPT and babyAGI (which I have running on my Home Lab as well).
@ckatke
@ckatke Жыл бұрын
Best intro in the history of KZfaq
@euphanasia210
@euphanasia210 Жыл бұрын
Badass! Now make a video of it building from different VM templates.
@RazoBeckett.
@RazoBeckett. Жыл бұрын
back to back videos OP
@atadnippy
@atadnippy Жыл бұрын
chuck's sick acting is so cute
@CattopyTheWeb
@CattopyTheWeb Жыл бұрын
You got very crazy Chuck
@Karello1
@Karello1 Жыл бұрын
Really really good I have to study harder as it Looks for me :)
@Superninja1211
@Superninja1211 Жыл бұрын
The next level would be having Alexa speak and tell you that your VM is ready. Only then is it really complete.
@DzS
@DzS Жыл бұрын
created the same couple of years ago with Siri and salt-cloud: shortcuts triggered salt-cloud, deployed in digitalocean, also registered fqdn - can be any hosting ofc, enrolled in my salt setup and messaged to discord during the process at stages
@vanderleymassinga5346
@vanderleymassinga5346 Жыл бұрын
Hi NetworkChuck
@MajorArchitect-0
@MajorArchitect-0 Жыл бұрын
I liked alexa to an ir transmitter and a flerc recever to have alexa press keyboard keys I had hotkeyed to function. Werked perfect, never had an issue, seriously
@declanmcardle
@declanmcardle Жыл бұрын
"Alex, run terraform but do not use -auto-approve". "OK, running with -auto-approve"
@Riborwahz
@Riborwahz Жыл бұрын
These legend are way maker and a leader
@Brian-ki9kc
@Brian-ki9kc Жыл бұрын
This video made me laugh so much 🤣
@dma98
@dma98 2 ай бұрын
Just started learning Ansible and I'm addicted. Although, I personally wouldn't use it as IaC, for me Terraform is a better solution, but IaaC heck yea
@raminfarzi4229
@raminfarzi4229 Жыл бұрын
So amazing
@jasontechlord
@jasontechlord Жыл бұрын
As soon as you said, "I can use arp..." I was like OH NO!!!
@Hey-Malo
@Hey-Malo Жыл бұрын
I can confirm that automation is, what I live for xd but it can transform into a recurring thought
@heinrichschlechter1134
@heinrichschlechter1134 Жыл бұрын
Love your channel! Seeing you live in Dallas, TX, I'll assume you have solar + tesla powerwall + tesla model 3/X - so here is a challenge: How about turning your idle model 3/X/excess solar energy into a free-loading Minero mining machine?
@SecurityPanda
@SecurityPanda Жыл бұрын
Awesome 😎
@feelingdizzyy
@feelingdizzyy Жыл бұрын
I see, another little Chuck Girl/Boy incoming! :D Congratulations :P
@yankluf
@yankluf 7 ай бұрын
This is great.
@CravenEsq
@CravenEsq Жыл бұрын
And here I thought writing my own install & configure shell scripts was next-level laziness.. :| Back to the drawing board!
@douglaswalker8662
@douglaswalker8662 Жыл бұрын
You are a mad scientist genius! Can you point me in the right direction for setting up a network lab I can use to teach my students the basics of networking?
@brendonfleetwood6069
@brendonfleetwood6069 Жыл бұрын
This is probably what hard-core Minecraft Redstone engineers will be like when they get a job in IT
@Riborwahz
@Riborwahz Жыл бұрын
Chuck:Alexa, build me a virtual machine Me:are u mad? Him
@sopulo4262
@sopulo4262 Жыл бұрын
Halloween destroyed his brain. But great content still. Love it!
@KyrosKohKS
@KyrosKohKS Жыл бұрын
I use Ansible for my DevOps with CI/CD :)
@repairstudio4940
@repairstudio4940 Жыл бұрын
Lol love it!
@morosis82
@morosis82 Жыл бұрын
I wonder if you could do the same with slack. A guy at work has set up a Minecraft server in fargate I think, and we start it with a slack command, it responds when the health check endpoint responds that it's running
@dualbeardedtech
@dualbeardedtech Жыл бұрын
Now you need to get Alexa to tell you that your VM is ready! I'd love a step by step, instead of a brief overview. Would you be willing?
@Chris-xo9bq
@Chris-xo9bq Жыл бұрын
I really wanted to advance on my current career. I have been into a Helpdesk or Service Desk for 5years and it seems nothing is happening. To the point I wanted to change career. I really wanted to learn the skills that you have, so at least before I retire I can say I achieve something.
@kashoo_1
@kashoo_1 Жыл бұрын
Chuck the best 💪
@eramorn
@eramorn Жыл бұрын
Make an collab with Jay! That would be awesome :-) !
@kevinpeeples726
@kevinpeeples726 Жыл бұрын
Could you use sys args with your playbook that way instead of having the random generator setup for naming the virtual machines it would name them based on user input via command line?
@ansred
@ansred Жыл бұрын
btw, you could use n8n and will make your life WAAAY easier when it comes to multi-system automation ;)
get started with Ansible Network Automation (FREE cisco router lab)
15:02
Downsizing my Home Lab to a SINGLE PC
17:56
Raid Owl
Рет қаралды 292 М.
Пробую самое сладкое вещество во Вселенной
00:41
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 72 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 60 МЛН
Automating my Homelab with Ansible
13:18
Jeff Geerling
Рет қаралды 331 М.
you STILL need a website RIGHT NOW!! (yes, even in 2024)
19:15
NetworkChuck
Рет қаралды 326 М.
I automated EVERYTHING in my HomeLab with Kestra
30:56
Christian Lempa
Рет қаралды 28 М.
What Software is Running in my Home Lab???
24:38
Raid Owl
Рет қаралды 132 М.
DO NOT design your network like this!! // FREE CCNA // EP 6
19:36
NetworkChuck
Рет қаралды 3,1 МЛН
My Mac sets up itself-with Ansible!
7:43
Jeff Geerling
Рет қаралды 95 М.
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 456 М.
What's On My Home Server? Storage, OS, Media, Provisioning, Automation
27:30
Wolfgang's Channel
Рет қаралды 1,1 МЛН
CY Superb Earphone 👌 For Smartphone Handset
0:42
Tech Official
Рет қаралды 826 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 110 М.
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 2,1 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,3 МЛН