A BITS Pilani Alumnus Initiative

Python for DevOps & Cloud Automation

Master Python concepts specific to DevOps. Build your Python automation skills from scratch to expert level. Best Python course for beginners and professionals.

90 hours

Duration

Beginner

Level

Live

sessions

₹29,999

Price

Python for DevOps & Cloud Automation

Beginner to Advanced Level

Professional Skills

Course Overview

What You'll Learn

  • Data types, variables, and operators
  • Control structures and loops
  • Functions and modular programming
  • File handling and data manipulation
  • Errors and exceptions handling, Regular Expression in Python
  • Python modules for DevOps
  • Interacting with APIs using requests
  • Cloud automation

Prerequisites

  • No prior programming experience required
  • Basic Linux/system admin skills
  • Willingness to learn and practice

Career Opportunities

  • DevOps Engineer
  • Python Developer
  • Automation Engineer

Why choose us?

Continuous Assignments
1:1 doubt clearing sessions
Mock interviews
Real life projects
Post training mentorship and support
Small batch size for personalised attention

Course Curriculum

Week 1-2
Python Fundamentals & Setup
  • Why Python for DevOps and IDE setup
  • Basic syntax and indentation
  • Writing your first script
  • Variables, data types, and operators
  • Input/output operations
  • Hands-on: Automate system information (hostname, OS, uptime)
Week 3
Control Structures
  • Conditional statements (if, elif, else)
  • Loops (for, while)
  • Break and continue statements
  • Nested loops and conditions
  • Hands-on: Number guessing game
Week 4
Data Structures
  • String manipulation and methods
  • Lists and Tuples
  • Dictionaries, Sets and their operations
  • List & Dictionary comprehensions
  • Shallow copy and deep copy
  • Hands-on: Storing multiple users in lists and user details in a dictionary
Week 5
Functions and Modules
  • Function definition and calling
  • Parameters and return values
  • Recursive functions
  • Lambda functions
  • Iterators, Generators & Decorators
  • Inbuilt and user-defined modules
  • Hands-on: Creating a function based script
Week 6
File handling, Exception handling and Regular Expressions
  • File handling operations - .txt, .conf, .env, .log files
  • Exception handling techniques
  • Custom exceptions
  • Regular expressions basics - parsing files
  • Working with json, yaml and csv files
  • Hands-on: Reading and updating config files
Week 7
Python modules for DevOps
  • os, sys, pathlib, shutil, psutil, subprocess
  • System automation and logging
  • Sending emails using smtplib
  • Hands-on: Automating disk, cpu, memory usage, services, etc.
Week 8
Object-Oriented Programming
  • Classes and objects fundamentals
  • Inheritance and polymorphism
  • Encapsulation and abstraction
  • Magic methods and operator overloading
  • Abstract classes and interfaces
  • Hands-on: Build a ServerMonitor class and extend it monitor multiple servers
Week 9-10
Working with APIs & Cloud Automation
  • Requests, urllib: interacting with REST APIs
  • Automating HTTP requests, authentication
  • Network monitoring (ping, hostname resolution)
  • Intro to cloud SDKs (boto3 for AWS, az for Azure, google-cloud for GCP)
  • Creating/deleting cloud resources (VMs, volumes) via scripts
  • Upload/download files, tagging, automated termination
  • Hands-on: Automate DNS updates or SSL certificate expiry checks
  • Hands-on: Spin up test EC2 instances and cleanup old resources
Week 11
Revision & Project work
  • Recap of important topics
  • Project - Log analysis & alerting for abnormal events
  • Project - Automated Environment Health (CPU, disk, memory, logs)
  • Project - Cloud Resource Lifecycle Automation

Free Learning Resources

Get started with our free video tutorials and learn the basics before enrolling in our comprehensive courses.

Python Basics
06:41

Python Basics

Learn Python fundamental concept - Variables & Memory Management

YouTube
Advanced concepts in Python
10:09

Advanced concepts in Python

Shallow copy & Deep copy

YouTube
Loops in Python
06:43

Loops in Python

for loop

YouTube