DevOps Training - Python for DevOps Automation

Python serves as the Swiss Army knife in DevOps, wielding its versatility and simplicity across the entire lifecycle. It acts as the glue, stitching together various processes through automation, be it configuration management, deployment, or system monitoring. With its rich ecosystem of libraries and frameworks, Python scripts automate mundane tasks, enabling smoother workflows and reducing human error.

About the course

This is a comprehensive course designed to equip participants with the skills to leverage Python for efficient DevOps practices and automation. This course delves into the intersection of Python programming and DevOps methodologies, focusing on utilizing Python's capabilities for automating tasks within the Linux, Cloud, and Kubernetes environments.

Course details

What's included

Course content

Introduction to Python

  • Understanding the need for Python
  • Python 2 vs Python 3
  • Strings and string manipulation in Python
  • Lab: Creating and Using Strings in Python
  • Python lists and how to use them
  • Lab: Creating and Using Lists in Python
  • Understanding Python Dictionaries
  • Lab: Creating and Using Dictionaries in Python
  • Python comparison operators

Basics of Python for Everyone

  • User Input in Python
  • Lab: Taking Input from the User
  • For Loops in Python
  • While Loops in Python
  • Lab: Creating and Using Loops in Python
  • If, Else & Elif in Python
  • Lab: Running Condition Based Workflows
  • Understanding Python methods
  • Lab: Creating Basic Python Methods

Python File Input and Output

  • Understanding How Python Reads and Writes Files
  • Lab: Reading Files using Python
  • Lab: Writing Files using Python
  • Lab: Appending Files using Python
  • Understanding Regular Expressions in Python
  • Lab: Searching for E-mail Addresses in a File
  • Lab: Searching for IP Addresses in a File
  • Lab: Searching for Timestamps in a File
  • Understanding Downloading Files Using Python
  • Lab: Downloading a Small File Using Python
  • Lab: Downloading a Large File Using Python

Python HTTP Automation

  • Understanding HTTP Requests
  • Lab: Writing a Python Script to make an HTTP GET Request
  • Lab: Writing a Python Script to make an HTTP POST Request

Automating SSH Using Python

  • Understanding how SSH Works
  • Lab: Writing a Python Script to make SSH Connection to a Single Server
  • Lab: Writing a Python Script to make SSH Connection to Multiple Servers

Directory Walking Using Python

  • Performing Basic Directory Operations Using Python
  • Performing Basic File Operations Using Python
  • Lab: Writing a Python Script to Recursively Search a Directory

AWS Automation Using Python

  • Installing Python AWS Libraries
  • Understanding Python and AWS Authentication
  • Lab: S3 Automation Using Python
  • Lab: EC2 Automation Using Python

Creating Linux Commands Using Python

  • Understanding How Linux Commands Function
  • Installing Required Python Libraries for Creating Linux CLI
  • Lab: Creating a Python Linux CLI Utility for Reading Files
  • Lab: Creating a Python Linux CLI Utility AWS Automation
  • Lab: Creating a Python Linux CLI Utility to get System Information

Python for Networking

  • Understanding Object Oriented Programming in Python
  • Lab: Using Python OOP for Basic Class Creation
  • Understanding APIs and Importance for Multi Tier Apps
  • Lab: Creating and Hosting an API Using Python

Python for Kubernetes

  • Understanding Need of Kubernetes Automation via Python
  • Lab: Creating a Python API for Automating Kubernetes Self-Service

Frequently asked questions

Is this training live or pre-recorded?
The training is live instructor led training which is available in classroom as well as online format. We also record every training session which is then uploaded to our student portal.
How will I join the live online training?
The live online training is conducted via the zoom software, we will be providing you with the zoom meeting link to join the training.
How many students are there in a single batch?
On an average one batch will have a maximum of 18 students. We keep smaller batch sizes to promote interaction between the students and the instructor.
How can I practice the labs?
We will provide you with online labs. If needed, we can also provide you with the software required to create your own labs.
Do you offer payment flexibility?
Yes, we provide zero interest EMI options.
Can I attend the training in classroom?
Yes, our classroom training location is in New Delhi near Lajpat Nagar metro staton.

Part of these learning paths