ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Day-14 | Configuration Management With Ansible |Puppet vs Ansible |Live Projects |
ฝัง
- เผยแพร่เมื่อ 22 ม.ค. 2023
- Support my work
www.buymeacoff... Hi Everyone, We are at Day 14 of our DevOps course and In this video, We will learn about Configuration Management using Ansible.
We will also try to understand why is Ansible better than other configuration management tools like Puppet and Chef.
If you like to take a look at more Ansible Interview Questions. Do take a look at this previous video on our channel.
• Answers to Ansible Int...
DevOps Zero to Hero Playlist
• Huge Announcement abou...
Telegram channel
===============
t.me/abhishekv...
About me:
-----------------
LinkedIn: / abhishek-veeramalla-77...
GitHub: github.com/iam...
Medium: / abhishekveeramalla-av
TH-cam: / @abhishekveeramalla .
.
Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.
At first system administrator used to do upgrades, secure patches and installation on 100s of servers using shell script that had to loop over all 100s of servers.
With cloud( micro service architecture) no. of servers increased and the compute/resources had decreased.
Earlier we had to take care of distribution of OS(alpine, ubuntu), so the script might not work.
To solve this configuration management came into picture. Puppet, chef and Ansible .
Why Ansible over others?
Ansible is much a push mechanism model. Write Ansible script at one instance and update all the worker nodes. Ansible is agentless, just put DNS or ip adress of servers in inventory file and have ssh password-less authentication configured, along with python3 installed by default in Linux distros.
2. Ansible also has feature of dynamic inventory. If you are creating 100s of servers in AWS cloud, Ansible will automatically detect new server.
3. Support both Windows, AIX and Linux all distros
4. Ansible is pretty simple, uses simple yaml manifest.
Explanation was crisp and clear , easy to understand the concepts.
Hands off for your efforts in explaining devops concepts in a simpler way.👏
Your efforts towards helping devops community is incredible
Thanks alot
th-cam.com/channels/tvLt8mOnq-odv_61vRF90Q.html
Just for you anna, I have never skipped even a single ad in your channel even if it's for >5 mins :)
Thanks alot for contributing to the channel Harsha
Started 3 days ago and I already just completed Day 14. Thank you Abhishek sir for all these quality content.
Excellent
@mrnobody4365 I have just started the playlist. I guess you must have completed the series ? If yes can you tell me if you have got the job or giving interviews ? Can you share the feedback with us it will help us to improve here. Please share your kind feedback. Thank you!!!
@@nash12394 Why are you asking him like this? Why not try yourself and make your time productive?
@@sachinrathee0611The reason why asked is he finished his playlist over 8 months ago. So I thought to check if he faced any challenges. Anyways I also finished the entire playlist twice and got placed.
Learning from your videos is like discovering a beacon of clarity in a sea of confusion. Thank you for sharing your expertise with such passion and sincerity. You're not just teaching DevOps; you're inspiring a community of learners to reach new heights.
one thing i really like about your videos is that it gets me interested in the topic, and its interactive , i always try to answer the interview questions in my head like i would in an interview. it helps me with recollection of concepts
Completed Day:14 Video.
I understand the overview concept of Ansible and ansible vs puppet.
Thanks Veeramalla garu
Welcome
very concept clear video.....thanks for this amazing videos
without mincing words" you're the 🏆! I wish I had known you before now. 🔥🙌 #thebest #wishfulthinking #awesome"
Thanks alot
Hello, abhishek sir, i started your playlists yesterday on devops series, your doing a great job , i am able to learn each and every concept in a simple way to crack the devops engineer job. Thankyou for showing the efforts towards people who are struggling to get into IT as a DevOps. once again thanks a lot for the devops zero to hero playlists.
😍😍
Recently started the playlist and already at day 14 , thannk you so much for your consistent efforts sir
Amazing
We should appreciate the work behind it.
Thanks
Hi Abhishek, im from Chennai, spending with your video every day 30 mins or 1 hr and i tried to practice with my laptop. i'm not a computer student. BUT very much interest to learn new things. Your video gives confident to me, one day will get my dream job.. That day will message you again.
Amazing
Thank you abhishek bhaiya
I become fan of Abhishek. You inspired me every day to become a good DevOps Engineer & one day I will .😊🙏
❤️❤️
Thank you so much sir day by day..enhancing my knowledge getting confidence... making things simpler in learning Devops course 👍👍
All the best
In the first seconds of the video did I hear you say lets reach 10k subscribers? that's just a year ago!! Shows that you are doing an incredible Job!
Yes, Thanks alot
Notes of this video-
Scenario- System admin has to configure 100s of servers, each with different OS like Ubuntu, CentOS, Windows.
Tasks include updating OS, security patches, default installations like git, databases on servers.
Issue- Doing this manually on every server is difficult. Hence, scripts were used. Powershell scripts for windows machines, other shells for Linux machines. Even in Linux machines, scripts varied based Linux flavours and type of script (bash, zsh, tsh, etc). This script will then loop over all servers to perform configuration tasks.
With cloud and micro service architecture adoption, number of servers have increased further.
Hence, even scripting approach is not very efficient. This led to concept of configuration management. Various tools are used for configuration management. Puppet and Chef were pioneering tools while Ansible, developed by Red Had is most popular.
Why Ansible over Puppet?
1. Puppet = Pull mechanism, Ansible= Push mechanism. Eg. Managing 10 EC2- Write ansible playbook and push to all 10 EC2
2. Puppet uses Master-Agent architecture- Have to create Master server and configure all 10 EC2 as agents. Ansible is agentless. Write only ip/dns of machine in inventory file and have passwordless authentication enabled. In case of dynamic demand, auto-scaling is possible by changing inventory file. Even better- 'Dynamic Inventory' feature auto detects demand- doing away need to change inventory file.
3. Support for Windows is better in Ansible than Puppet
4. Ansible Playbook is written in YAML which is widely used. Puppet configuration is written in Puppet language.
Issues with Ansible
1. Support for Windows is still not seamless
2. Debugging is not easy. Can run ansible in debug mode but debugging logs are not easy to understand.
3. Performance issues- when managing thousands of servers
Enjoy!
It's really helpful.I answered very nicely in my interview after watching ur videos.Thank you so much
😎
You’re doing extremely good in DevOps series… maybe the best series in the TH-cam 👏👏
please try to upload a content about OpenShift with AWS EKS, if possible… Thank You 🙏
I will try my best
Thanks a lot Abhishek lots of love.
Awesome Abhishek, Thanks for your great Video.
My pleasure
Sir your channel is very helpful for beginners Devops engineer ❤.
But some people can't understand English like me and other now Sir i request you create Devops zero to hero in hindi series.
God bless you Sir
Explained the concept in really simple manner,I got a clear understanding of the topics. Thank you Abhi
Completed yesterday 05/07/2023
th-cam.com/channels/tvLt8mOnq-odv_61vRF90Q.html
Superb. The example explains all.
Thanks a lot
Excellently explained
Thanks
Congratulations Sir
Keep Rocking
Thanks a lot
You are really awsome bro. Going great with cloud and devops domains. If possible pls do a video on open shift as well.
Sure 👍
thank you abhishek for explaining by paint .... its dam easy to understand the concepts ...
It's my pleasure
Thanks alot Abhishek bhaiya 😇
Proud Of You!!!
You are The Best Educator in DevOps World!!!
Saluted for your kindness!🫡🫡
Bhai eeh series bandh Maot karna Please!!!!
Sure bhai
Sir, please let me know if Iam right...? Ansible uses python for it's modules and YAML for writing playbooks?
You are best in teaching the things in crystal manner. Want to know how to write the yaml scripts.If possible make a video on this.❤
th-cam.com/channels/tvLt8mOnq-odv_61vRF90Q.html
The sessions are going really nice, it's really helpful, thank you❤🙏
Glad you like them!
awesome explaination sir
Thanks a lot
So nice Abhi. Thank you😊
Welcome 😊
excellent explanation ,very much clear on this
Great sir 👍🏻.. well explained
Thanks
Day-14 done ✅
Hi Abhishek, I have a question regarding the interview questions you provided. In one of the questions, you mentioned that the programming language used in Ansible is Python, but you also mentioned YAML for the same question later. Could you please clarify this?
Keep rock it Abhishek bro
Thanks
bro you expalined push model in ansible but missed pull in puppet
Thank you very awesome session
You are very welcome
i completed this video abhishek
u earned new subscriber + a big fan 😀
Welcome aboard!
You can write your own ansible module for installing load balancer for your own organisation in python.
You can share them using Ansible galaxy so other team can utilize. Ansible galaxy acts as bridge. Sharing is always possible, give back to community and take benefits from community.
Videos are very helpful....thank you so much. Please provide some videos on how to create API endpoint using Terraform
Additional features are dynamic addition of servers using dynamic inventory, idempotency and conditional execution.
Abhishek you said in int questions 1) ansible uses python & 5) ansible programming language YAML. little confused here can you explain in shot.
Ansible internally use python, you will write ansible files in yaml
Perfect video
🎉
Great Explanation, Abhishek.
Also please discuss the Ansible Tower AWX.
Noted
Doing a speed run on your devops/ aws videos before I start my application. If I get a job you’re the reason xD
You are the best 💕💕
❤️❤️❤️
its not about devops zero to hero..its about me zero to hero
Exited for tomorrow's video 🤩
👍
great bro you have done great work.😍
Excellent Sessions and appreciate abhishek
only small suggestion: Can we cover industry-specific real time use cases?
I know its very difficult but you are gem person.
Yes, sure
Hi Abhishek, Thanks for the video, can you try one video for Ansible Tower with simple? if possible.
Will try
hello Abhishek, can you briefly explain the difference between Ansible playbooks and roles? How would you organize your Ansible project to ensure modularity and reusability of code?
All sessions are having really good explanations.
In this session can you please elaborate on what are microservices, and how they are used?
I explained it in the course. Please follow the videos
Can you help me with difference between ansible and Jenkins and which tool should I learn first or is it necessary to learn both tools?
while connecting to EC2 Instance from aws ui getting this error. "Failed to connect to your instance
Error establishing SSH connection to your instance. Try again later." how to resolve this ?
nice explanation.
Gold content
thanks
Loved this session
Thanks alot
i've got little confusion here...( which language do we use in Ansible..!!!)
python is to wright custom modules,
yaml is to wright Ansible playbooks....am i correct...?
Yes
Yes
excellent work but is some one please help to get the command which to used over lab setup
is there any video missed between day 14 and day 15 as i think something is missed regarding how to configure inventory file , please confirm
BEST😊
Thanks !!
For windows Ansible uses winrm protocol, for linux it's ssh
I paid 18k for this course but your course is far more better than that one. My name is Murthy. How can I contact you for any advanced level courses? Hope you will reply.
I will share the details soon for advanced projects on the channel
@@AbhishekVeeramalla how can I communicate with you, Anna?
@@MNSPN1234 LinkedIn
The tutorial was very great👏
Would love to watch a video on just ansible roles.
I have a question - How we are supposed to enable password authentication if we've 100s of servers.
I got one answer on the internet using boto3 module. Is there any other method❓
i have a question mate
i learn jenkin from 1 person in my country
she said in the world currently , some of the company dont use ssh like ansible because of security of protocol ssh is not best practice
could you explain why :
Ssh is used for connecting even today
Bro, do you have any videos on Ansible molecule?
Does Ansible support all cloud providers like AWS,azure,gcp..
Ans. For Ansible it doesn't matter what your cloud provider is. You only need public ip adress, is ssh access allowed publically to your machine(laptop).
Bro can you pls do an one dedicated zero to hero ansible video
It's helpful alot
My self iam slow learner this video is little faster
My req can you pls do an one dedicated ansible video
Noted
@@AbhishekVeeramalla thankyou so much brother, if you do this it's helpful alot to me like slow learners
very good session
Hi, can you please make a video & explain step by step the writing/structure of Ansible & Terraform in a simple manner & in layman's terms, like when & where to add spaces, hyphens, what is variable, etc it's a bit confusing ...I am not from a programming background hence find it difficult to understand the structure of writing Ansible & Terraform. Please it's a request, do reply
Sure
hello abhishek ,i understood push based ,but what is pull based .explain
so ansible uses both python and yaml or it just uses python to write custom modules and yaml to write playbooks can someone explain ???
thank you
can i swich to ur zero to hero ansible playlist from here or should i continue here only ... plzz reply
U have to learn every tool after this series
Disadvantages -
Ansible has to improve lot on windows support
Ansible has to improve lot on debugging
Ansible has to improve lot on performance
Thanks 😀
You're welcome 😊
In AWS while creating EC2 instances - we can give some configurations right? So using ECS which has cluster of EC2 instances or something, can't we do the configurations?? Should Ansible be used? Also in Puppet when you are giving multiple slaves - so if 1000 machines are added. you go and add all the 1000 again in the master file?
Greta Video
Thanks for sharing excellent videos .Any ways to join your online Devops training sessions .
Everything is on TH-cam channel
Great video, thanks you 👍
Glad you enjoyed it
Sir you have said that ansible is push mechanism like we can write our own notebook and push ..wt abt puppet pull mechanism?
Hi Abhishek, Openings on ansible tower role will be good in market?
Thanks bhau♥
Thank you so much 😀
Thanks sir
Welcome
What is pull model in puppet bro?
Only push mechanism was explained in this video.
Hi Anji.. will try to upload a short video
Abhishek, I have doubt on Dynamic Inventory(20:05). How the new EC2 IP in dynamic inventory will know to which group it should be routed to(lets say I have groups like WebServers, DBServers) In Inventory file?
I will share that in a video 🙂 .. very difficult to explain hefe
Thank you ^^
perfect!!
Anna you said that the programing language used by Ansible is Python and YaML. Can you please elaborate for what python and for what Yaml?
Sir i have my ansible running on wsl instance with Ubuntu. Am facing problem while running playbook.phyton version is 3.8+ and ansible is 2+ versions. While another person running playbook successfully with CentOS. Suggestions pls
Please provide error
Sir I have started with chef I have installed on linux but when I am going to create cookbook . I m not able to create. I have tried many time showing that no such directory. Can u plz guide me .