This week was all about building real-world DevOps setups from scratch, writing clean automation scripts, and preparing for bigger automation + QA challenges ahead.
π§ 1. Rebuilding the DevOps Multi-VM Lab from Scratch
- Cleaned up and restructured my Vagrant-based multi-VM setup
- Provisioned 2β3 Ubuntu machines using a single
Vagrantfile - Installed and configured Apache, static site hosting, and SSH access
- Started adding Bash provisioning scripts for reproducibility
- Preparing this for full GitHub upload with README and instructions
π₯οΈ Stack Used:
Vagrant | VirtualBox | Ubuntu | Bash | SSH | Apache
π 2. Python Scripting Practice (Real World)
- Practiced
os,sys,argparse,subprocess, andloggingmodules - Wrote and patched scripts using
diff,patch, andchmod +x - Used
sys.argvand exception handling for CLI tools - Learned to automate tasks like file renaming, CPU checks, and more
π§ Tools Practiced:
chmod | wc | sys.argv | try/except | os.listdir() | Git patches
π 3. Python Log Analyzer Project (In Progress)
- Started building a script to analyze
/var/log/httpd/access_log - Extracts top IPs, most requested endpoints, status codes
- Will output a clean report or CSV
- Prepping this as a full GitHub project with CLI options
π¨βπ» Technologies:
Python | Regex | argparse | collections.Counter | CSV writing
π οΈ 4. Git + GitHub Mastery
- Daily commits to GitHub with clean folder structures
- Worked with:
.gitignore-
git diff -u,patch,revert,reset -
git log,amend, andrebasebasics
π§ Key Concepts Practiced This Week
-
shebangs(#!/usr/bin/env python3) - File permissions (
chmod +x,755) - Linux utilities (
wc,cat,ps, etc.) - Debugging via
try/except,bash -x,set -e
If you're on a DevOps or QA automation journey, follow along!
Letβs keep building, learning, and sharing. π
π Follow me on GitHub: github.com/Rishabh-lakhanpal
Top comments (0)