Ansible 101 - on a Cluster of Raspberry Pi 2s
HTML-код
- Опубликовано: 8 сен 2024
- This video was made possible by ansiblefordevop...
In this brief introduction to Ansible, Jeff Geerling walks you through the basics of Ansible using a cluster of six Raspberry Pi model 2 B computers (a.k.a. the 'Dramble').
Mentioned in the video:
- Ansible for DevOps (book): ansiblefordevop...
- Raspberry Pi Dramble: github.com/gee...
- Ansible Documentation: docs.ansible.com/
- Ansible Vagrant Examples: github.com/gee...
See also: servercheck.in...
I'm absolutely hooked on ansible. After setting up an Ubuntu server from scratch by hand barely knowing how to ssh myself. Now using ansible to create a ha kubernetes cluster is insane! So satisfying just hitting enter once and watching everything tick away. Sometimes i do -f 1 just to enjoy it a little more 😂
Great post! Thank you. I have bought your book and I am going through it. This video tutorial complements it very nicely.
Only 2 minutes in and I love your teaching style! Thank you for posting this. Perfect pace. Great tone. I don't feel overwhelmed. And of course now I want to build a #dramble! :)
absolute awesome presentation, Thank you Jeff
Dont know if you guys gives a damn but if you guys are bored like me atm then you can stream pretty much all the latest movies and series on InstaFlixxer. Have been streaming with my gf these days :)
@Kasen Kohen Yea, been using InstaFlixxer for years myself =)
jeff thank you for your valuable time and i,ve bought your book and am looking forward to learning ansible.
Fantastic demo! Keep up the great work Jeff 👍👍
Fantastic introduction.
wow, wow, and WOW! Time for me to pick up a few more PI's!
Thank you very much for sharing this. Great info to get you started with the possibilities of Ansible
awesome video! was very helpful. Thanks a lot!
great tutorial
aweesoommee video.. thankss Jeff...
WE NEED MORE!!
You do a fantastic job explaining these pieces! What editor are you using for the yaml files?
Sublime Text 3; I use it for everything-writing and coding.
2020: Still relevant
What if the balancer or database is down. It doesn't matter if u cluster.. Where is the redundancy? Im more looking in a shared resourced and redundancy. In memory database with Pub Sub that is synced between several raspberry Pi's or (2). And Program that shares resources and when one raspberry is plugged of still accesable without a balancer that doesn't make it redundant.
***** - Quite true. Unfortunately, I ran out of Raspberry Pis, and my main focus for this particular cluster is to run a PHP CMS (Drupal), which is quite CPU heavy, so I dedicated four servers to the app, with only one balancer and one DB. Adding in additional redundancy isn't too difficult, though.
See my examples on GitHub like (github.com/geerlingguy/ansible-for-devops/tree/master/lamp-infrastructure), which exhibits a Master-Slave DB setup. I don't have any multiple-balancer setups, because usually by the time a site gets to that scale/importance, I have it running in a PaaS cloud where the balancer layer is part of the platform.
Which RPi SO did u use?
Nice video.
Where can I obtain those RGB LED modules?
Can you setup Ansible to boot 8 pi's from USB? If so where can I find it?
So do I put ansible on the cluster nodes or my own pc
very nice stuff ! :)
Please could you let me know the unicode sequence to get Apple logo in your prompt ?
Thanks !
Good question! It's defined in my dotfiles - go here: github.com/geerlingguy/dotfiles/blob/master/.bash_profile#L9 (or search 'geerlingguy dotfiles' and look in my .bash_profile).
Thanks a lot ! :)
Thanks!
this is sooooooo coooooool !!!
so....what's the point of using this cluster computer ? (I'm not saying that is useless ,I'm just curious)
hi, could ou please make a video how you built raspberry pi cluster . thanks great video
+ahsan habib - I will be posting a video on that very topic soon! Also check out pidramble dot com, click on the Wiki section for text instructions.
ok. i'll do that. thanks a lot. looking forward to that
Can i use this for like homeserver?
This cluster would be comparable to which computer? One single Intel® Celeron® Processor J1800 ????
So you said that you were going to run the cluster over WIFI, can you? I am a newby at Clustering....or was I mistaken.
can you run a video game with hpc operating systems?
Performance specs?
www.pidramble.com/wiki/benchmarks
@NewNordstromSLC fuchsia
Orange Pi is better that Raspberry Pi, have stocks and other advantages~
You can not multiply the processor speed! This is wrong! If you have 5 cars and each 200 km / h fast drives, the together synonymous not 1000 km / h!
It just multiplies how much the raspberry pi can run
But they will drive 1000km(total) in one hour