How To Build An Ansible Clone Using Python
Commander the parallel SSH utility
Description
Learn to build an Ansible like command line utility called Commander
Commander is a replica of scripts I built while working at companies like PayPal, eBay, and Symantec to help manage & patch thousands of Linux systems and network devices.
In this course you'll learn how to
- Build a command line utility in Python
- Use Python to SSH to Linux machines and run commands.
- Setup sudo for running commands as root
- Use Threading to increase speed by reducing wait time on network i/o
- Upload & Download files to servers via SCP in Python
- And more...
Pre-requisites
Access to machines running SSH OR the ability to sign up for Digital Ocean or another cloud provider (AWS,GCP, etc) to create machines to test with.
Python installed on your machine.
Who is this course for
This course is perfect for DevOps/SRE/Cloud engineers who are looking to automate the boring stuff in their day to day lives using Python & SSH.
If you're using Ansible or Rundeck today, you can use Commander as a foundation to extend and build exactly what you need for your use-cases.
Additionally, this course will be fun for Python beginners who want to work on a useful project that teaches you how to build a command line utility and implement Threading in Python.
This course is intended to be short, sweet and straight to the point.
I look forward to hearing your feedback & seeing what you build with this knowledge.
What You Will Learn!
- How to build a command line utility in Python
- How to manage machines using Paramiko to SSH in Python
- How to use Python threading to improve Network I/O Performance
- How to upload & download files from hosts using Python SCP
Who Should Attend!
- Systems Administrators & Network Engineers who want to manage their devices using Python.
- Beginner Python developers who want to build a fun command line utility
- Python developers who want to learn how to use Threading to make Python programs faster.