<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vandadi Siva Prasad on Medium]]></title>
        <description><![CDATA[Stories by Vandadi Siva Prasad on Medium]]></description>
        <link>https://medium.com/@vandadisivaprasad?source=rss-82046c159537------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Vandadi Siva Prasad on Medium</title>
            <link>https://medium.com/@vandadisivaprasad?source=rss-82046c159537------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 21:16:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vandadisivaprasad/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[DevOps — Advanced Shell Scripting for Beginners]]></title>
            <link>https://medium.com/@vandadisivaprasad/devops-advanced-shell-scripting-for-beginners-d3a492afa94f?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3a492afa94f</guid>
            <category><![CDATA[shellscripting]]></category>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Fri, 05 Jun 2026 16:28:02 GMT</pubDate>
            <atom:updated>2026-06-05T16:28:02.228Z</atom:updated>
            <content:encoded><![CDATA[<p>I went deeper into Linux with advanced shell scripting. And honestly, this is where DevOps starts feeling real. Because in DevOps, you don’t do repetitive tasks manually. You write a script and let the system do it for you.<br>That’s automation. That’s the mindset shift.</p><p><strong>Varibales — storing and reusing values</strong><br>The first thing I practiced was variables. In shell scripting, varibles let you store values and reuse them across your script.</p><blockquote>NAME=“Sivaprasad”<br>DATE=$(date)<br>echo “Script run by $NAME on $DATE”</blockquote><p>One thing I learned — when you store a command output in a varibale, you use “$()” syntax. That’s called command substitution.</p><p><strong>Conditionals — making decisions in your script</strong></p><p>Next I practiced if/else. This is how your script makes decisions based on conditions.</p><p>A real DevOps use case — check disk usage and warm if it crosses 80%</p><blockquote>#!/bin/bash<br>DISK=$(df -h/ | awk ‘NR==2 {print $5}’ | tr -d ‘%’)<br>if [$DISK -gt 80 ]; then<br> echo “WARNING: Disk usage is high — $DISK%”<br>else<br> echo “Disk usage is OK — $DISK%”<br>fi</blockquote><p>This kind of script runs on production servers to alert the team before the disk fills up completely.</p><p><strong>Loops — repeat tasks automatically</strong><br>Loops are one of the most powerful things in shell scripting. Instead of running the same command 100 times manually, you write a loop.</p><blockquote><strong>For Loops :</strong><br>for FILE in /var/log/*.log<br>do<br> echo “Found log file: $FILE”<br>done</blockquote><blockquote><strong>While loops:<br></strong>COUNT=1<br>while [$COUNT -le 5]<br>do <br> echo “Count: $COUNT”<br> COUNT=$((COUNT + 1))<br>done</blockquote><p><strong>Functions — reusable blocks of code</strong><br>Functions help you avoid writing the same code again and again. You define it once and call it anywhere.</p><p>I wrote a function to check if a service is running:</p><blockquote>check_service() {<br> SERVICE=$1<br> if systemctl is-active — quiet $SERVICE; then<br> echo “$SERVICE is running”<br> else <br> echo “$SERVICE is NOT running”<br> fi<br>}<br>check_service nginx<br>check_service sshd</blockquote><p>This is super useful in real environments where you need to check multiple services at once.</p><p><strong>Cron Jobs — automating scripts on a schedule</strong></p><p>This was my favourite part. Cron is a Linux scheduler — like an alarm clock for your scripts.<br>crontab -e</p><p><strong>Cron syntax looks like this:<br></strong>MIN HOUR DAY MONTH WEEKDAY COMMAND</p><blockquote>Some examples :<br># Run every day at midnight<br>00*** /home/ec2-user/scripts/backup.sh</blockquote><blockquote># Run every 5 minutes<br>*/5**** /home/ec2-user/scripts/health_check.sh</blockquote><blockquote># Run every Sunday at 2 AM<br>02**0 /home/ec2-user/scripts/log_rotation.sh</blockquote><p>In real DevOps teams, cron jobs handle log rotation, backups, health checks, and cleanup tasks automatically without manually running them.</p><p><strong>Hands — on project — log Rotation script </strong><br>The hands-on task for today was building a log rotation script. This script finds log files older than 7 days, compresses them, and moves them to a backup floder.</p><blockquote>#!/bin/bash</blockquote><blockquote>LOG_DIR=”/var/log”<br>BACKUP_DIR=”/home/ec2-user/log_backup”<br>DATE=$(date +%y-%m-%d)</blockquote><blockquote>mkdir -p $BACKUP_DIR</blockquote><blockquote>echo “===== Log Rotation Started: $DATE =====”</blockquote><blockquote>find $LOG_DIR -name “*.log” -mtime +7 -exec gzip {}\;<br>echo “Old logs compressed”</blockquote><blockquote>find $LOG_DIR -name “*.gz” -exec mv {} $BACKUP_DIR \;<br>echo “Compressed logs moved to $BACKUP_DIR”</blockquote><blockquote>echo “===== Log Rotation Completed =====”</blockquote><p>I ran this on Git Bash, pushed it to my Github repo shell floder.</p><p>Key takeway</p><p>Shell scripting is not just a skill — it is a DevOps habit. Every time you find yourself doing something repetitive on a server, that’s a singal to write a script.<br>Variables, conditionals, loops, functions, and cron jobs are the five building blocks. Master these and you can automate almost anything on a Linux server.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3a492afa94f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevOps Learning — Git & GitHub]]></title>
            <link>https://medium.com/@vandadisivaprasad/devops-learning-git-github-846139058b41?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/846139058b41</guid>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Tue, 02 Jun 2026 07:26:24 GMT</pubDate>
            <atom:updated>2026-06-02T07:28:29.084Z</atom:updated>
            <content:encoded><![CDATA[<p>I covered Linux basics and shell scripting. <br>Now I am Exploring Git and Git hub — and honestly, this is something every DevOps engineer uses every single day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*QDAs5Ej-iYxlJ6jl2bVZMw.jpeg" /></figure><p><strong>Why Git in DevOps ?<br></strong>Before I learned Git, I used to think version control is only for Developers. But that thinking changed today. In DevOps, every automation pipeline starts with a Git push. When you push code to GitHub, Jenkins picks it up, builds it, Docker packages it, and kubernetes deploys it. Without Git, there is no CI/CD. Simple as that.</p><p><strong>What is the Difference Between Git &amp; GitHub ?<br></strong>This confused me at first, So let me make it simple.</p><p><strong>Git</strong> is a tool installed on your local system. It tracks changes in your code locally.</p><p><strong>GitHub</strong> is a cloud platform where you store and share your git reppositories online.</p><p>Ex:- Git is your personal diary, Github is the safe locker where you store that diary online.</p><p><strong>Commands </strong><br>I Opened Git Bash and practiced these commands</p><p># First Time setup<br>git config — global user.name “Sivaprasad”<br>git config — global user.email “psiva6910@gamil.com”</p><p># Clone my repo<br>git clone <a href="https://github.com/sivaprasad-131413/devops">https://github.com/sivaprasad-131413/devops</a></p><p># Daily workflow <br>git status<br>git add .<br>git commit -m “Git basics practice”<br>git push origin main</p><p># Check history<br>git log — oneline</p><p>These are the commands I will use every single day as a DevOps Engineer.</p><p>What is Branching and Why it matters ?</p><p>This was the most interesting part of the day.<br>In real DevOps teams, nobody pushes code directly to the “<strong>main</strong>” branch. <br>Why Because main is like your production server — it should always sable, working code.</p><p>So developers create a feature branch, work there, test it, and only then merge it to main. That merge triggers the CI/CD pipeline and deployment happens automatically.</p><p>Here is What I practiced:-</p><p>Git checkout -b feature<br>echo “feature branch test” &gt;&gt; git-commands.md<br>git add .<br>git commit -m “feature branch practice”<br>git checkout main<br>git merge feature<br>git push origin main <br>git branch -d feature</p><p>Common Mistakes when I learned to avoid</p><p>=&gt; Forgetting “git add” before commit — your changes won’t be saved<br>=&gt; Pushing directly to “main” — always use branches in team projects<br>=&gt; Writing vague commit messages like “fix” — write meaningful ones like “fix: corrected nginx config path”</p><p>key take away</p><p>Git is not just a developer tool. It is the starting point of every DevOps workflow. Master Git, and you already understand half of how CI/CD pipelines work.</p><p>Done for the day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=846139058b41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevOps — Linux Basics and shell Scripting for Begineers]]></title>
            <link>https://medium.com/@vandadisivaprasad/devops-learning-linux-basics-and-shell-scripting-for-begineers-62192b99de9f?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/62192b99de9f</guid>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Mon, 11 May 2026 17:05:24 GMT</pubDate>
            <atom:updated>2026-05-11T17:12:15.282Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are starting your DevOps journey, this is where it all begins — Linux</p><p><strong>why Linux is important in DevOps ?</strong><br>Every DevOps engineer works with linux daily. Whether you are managing servers, running Docker containers, or deploying applications on AWS — Linux is always underneath.</p><p>So before learning any DevOps tool, you must get comfortable with linux.</p><p><strong>What is a Shell ?</strong><br>A shell is simply an interface between you and the operating system. When you open a terminal and type a command, the shell reads it and tells the OS what todo. The most common shell in Linux is Bash ( Bourne Again Shell).</p><p><strong>Essential Linux Commands Every Beginner must to know :-</strong> <br>1. <strong>Navigation :- <br></strong>pwd # shows your current directory<br>ls # lists files and folders<br>ls -la # lists with details including hidden files<br>cd /home # change directory<br>cd .. # go back one level</p><p><strong>2. File Operations :- <br></strong>touch file.txt # create empty file<br>mkdir myfolder # create a folder<br>cp file.txt backup/ # copy file<br>mv file.txt docs/ # move file<br>cat file.txt # view file content</p><p><strong>3. System Information <br></strong>hostname # shows server name<br>whoami # shows current user<br>df -h # disk usage<br>free -h # memory usage<br>top # live process monitor<br>uptime # how long server is running</p><p><strong>4. Permissions<br></strong>chmod +x script.sh # make file executable<br>chmod 755 script.sh # set read/write/execute permissions<br>chown user file.txt # change file owner</p><p><strong>What is Shell scripting ?</strong><br>Instead of typing commands one by one you can write them all in a file and run that file. That file is called a shell script. Think of it like a recipe — you write all the steps once, and execute them anytime.</p><p><strong>First shell script</strong></p><p>#!/bin/bash<br>echo “Hello, DevOps World!”<br>echo “Today’s date is: $(date)”<br>echo “Server name is: $(hostname)”</p><p><strong>how to run in CMD:- </strong><br>chmod +x myscript.sh # give execute permission<br>./myscript.sh # run the script</p><p><strong>output:- <br></strong>Hello, DevOps World!<br>Today’s date is: Mon May 11 10:30:00 UTC 2026<br>Server name is: ip-172–31–44–12</p><p><strong>why Shell scripting in DevOps <br></strong>In DevOps, you automate everything. Shell Scripts help you.</p><p>Automate server setup — install packages, configure settings<br>Schedule tasks — run backups, cleanups automatically using cron jobs<br>Monitor systems — check disk space, CPU, memory and sens alerts<br>Deploy applcations — pull code, restart services, run tests</p><p>Without shell scripting, you would do all of this manually every single time. that inefficient and error-prone.</p><p><strong>Common Mistakes make:-<br>1. Forgetting the shebang line</strong> Always start your script with #!/bin/bash — this tells the system which shell to use.</p><p><strong>2. Not giving execute permission</strong> Always run chmod +x scriptname.sh before executing.</p><p><strong>3. Not quoting variables</strong> Always write “$variable” not $ variable — this prevents errors when values have spaces.</p><h3>Key Takeaway</h3><p>Linux and shell scripting are the foundation of DevOps. Every tool you learn next — Docker, Kubernetes, Jenkins, Terraform — runs on top of Linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*drdj3Nm6Fk_oom8zOEnWgw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62192b99de9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Commands Every DevOps Engineer Must Know]]></title>
            <link>https://medium.com/@vandadisivaprasad/linux-commands-every-devops-engineer-must-know-d52c83c052f1?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/d52c83c052f1</guid>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Wed, 22 Apr 2026 02:35:21 GMT</pubDate>
            <atom:updated>2026-04-22T02:35:21.733Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introdution:-</strong> When I started my DevOps journey, the first thing I realized was — Linux is everywhere. Every cloud server, every Docker contianer, every Kubernetes node runs on Linux. If you don’t know linux, you can’t survive in DevOps.</p><p><strong>Section 1 — Linux File System &amp; Directory Structure</strong></p><p>This first thing that confused me about Linux was — Where are my files? In Windows we have c:\ but in Linux everything starts from / which is called the root directory.</p><p>Think of it like an apartment building<br>==&gt; / = The entire building<br>==&gt; /home = Individual flats for each resident<br>==&gt; /etc =Building management office — all config files live here<br>==&gt; /var/log = security camera recordings — all logs live here<br>==&gt; /temp = visitor waiting area — temporary files<br>==&gt; /bin = building tools room — basic commands like ls,cp,mv</p><p><strong>Commands I practiced :</strong></p><p>pwd ==&gt; #where am I?<br>ls -la ==&gt;# List all files including hidden files<br>cd /etc ==&gt;# Go to a directory<br>cd ~ ==&gt;# Go back home<br>mkdir -p devops/projects/nginx ==&gt;# Create nested directories in one command<br>find /var -name “*.log” ==&gt;# Find all log files<br>grep “root” /etc/passwd ==&gt;# Search inside a file<br>df -h ==&gt;# Check disk usage<br>du -sh /var/*</p><p>The “find” command! I never knew you cloud search for files so powerfully from the terminal.</p><p><strong>Section 2 — Users,Groups &amp; Permissions</strong><br>This section blew my mind! In linux every file has an owner and a set of permissions. Understanding this is critical for DevOps because wrong permissions can break your entire application.</p><p>How permissions work:<br>-rwxr-xr- -r<br> | | | | | | | | | | | |<br> | | | | | | + — — —- others<br> | | | +++ — — — — group <br> +++ — — — — — others</p><p>Each permission had a number<br>* Read = 4<br>* Write = 2<br>* Execute = 1</p><p>So chmod 755 means:<br>Owner = 7 (4+2+1) = read,write,execute<br>Group = 5 (4+1) = write,execute<br>Others = 5 (4+0+1) = read,execute</p><p>Commands I practiced:</p><p>#bash<br>sudo useradd -m sivaprasad ==&gt; # create a user<br>sudo groupadd devops ==&gt; # create a group<br>sudo usermod -aG devops sivaprasad ==&gt; Add user to group<br>chmod 755 script.sh ==&gt;# change file permissions<br>chmod 644 config.txt<br>chown sivaprasad:devops /var/www/html ==&gt; Change ownership</p><p><strong>Real world scenario:</strong></p><p>sudo chown -R nginx:nginx /var/www/html<br>sudo chown -R 755 /var/www/html</p><p>This is a real production problem that Devops engineers face daily.</p><p><strong>Section 3 — SSH &amp; Remote Access</strong><br>SSH is the backbone of DevOps. Every time you connect to an AWS EC2 instance, GCP server, Azure VM or any remote linux machine — you use SSH.</p><p>SSH stands or Secure Shell. It creates an encrypted tunnel between your laptop and the remote server so nobody can intercept your commands or data.</p><p>The right way to use SSH — key based authentication:</p><p><strong>bash</strong><br>#Step 1 — Generate SSH key pair on your laptop<br>ssh-keygen -t rsa -b 4096 -C “sivaprasad@devops”<br># Step 2 — copy public key to server<br>ssh-copy-id sivaprasad@192.168.1.100<br># Step 3 — login without password!<br>ssh sivaprasad@192.168.1.100<br># Connect to AWS EC2<br>ssh -i mykey.pem ubuntu@13.234.56.78</p><p>SSH config file — pro tip!<br>Instead of typing long commands every time, create a config file:</p><p>nano ~/.ssh/config</p><p># Add this:<br>Host myserver <br> HostName 192.168.1.100 <br> User sivaprasad <br> IdentityFile ~/.ssh/id_rsa <br># Now simply type: <br>ssh myserver</p><p>How SSH is used in CI/CD:<br>In Jenkins or GitHub Actions pipelines, SSH is used to automatically deploy code to remote servers without any manual login. The private key is stored as a secret in the pipeline and used to connect and run deployment commands automactically.</p><p><strong>Section 4 — Process Management</strong><br>Processes are the heartbeat of any Linux server. As a DevOps engineer you need to monitor, manage and troubleshoot processes daily.</p><p>Key commands:<br># see all running processes<br>ps aux</p><p># Real time monitor<br>top<br>htop</p><p># kill a process gracefully<br>kill 1234<br># Froce kill<br>kill -9 1234</p><p># Manage services <br>sudo systemctl start nginx<br>sudo systemctl stop nginx<br>sudo systemctl restart nginx<br>sudo systemctl status nginx</p><p># Make service start on reboot — very imaportant!<br>sudo systemctl enable nginx</p><p><strong>Real trobuleshooting scenario:<br></strong>If your server is running slow, here is what I do:</p><p>#check load<br>uptime</p><p># Find CPU hungry process<br>top # press M to sort by memory</p><p># Kill the problematic process<br>kill -9 &lt;PID&gt;</p><p># Check logs<br>journalctl- u myapp -f</p><p><strong>Section 5 — Networking Commands</strong><br>Networking is something every DevOps engineer must be comfortable with. Whether it is troubleshooting connectivity, testing APIs or checking open ports — these commands save the day!</p><p>Essential networking commands:</p><p>Bash<br># Check your IP address<br>ip addr show</p><p># Test connectivity<br>ping -c 4 google.com</p><p># Trace network route<br>traceroute google.com</p><p># Check open ports<br>ss -tulpn</p><p># Check which process uses port 80<br>lsof -i :80</p><p># Test a web service<br>curl <a href="http://localhost:8080/">http://localhost:8080</a></p><p># Check HTTP response code<br>curl -o /dev/null -s -w “%{http_code}” <a href="http://google.com/">http://google.com</a></p><p># Download a file<br>wget <a href="https://example.com/file.tar.gz">https://example.com/file.tar.gz</a></p><p># DNS lookup<br>nslookup google.com<br>dig google.com</p><p>My network troubleshooting flow:</p><p>When an application is not reachable I follow this systematic approach:</p><p>bash<br># 1. Is server alive?<br>ping 192.168.1.100<br># 2. Is port open?<br>ss -tulpn | grep 8080<br># 3. Is app running locally?<br>curl <a href="http://localhost:8080/">http://localhost:8080</a><br># 4 Is firewall blocking?<br>sudo ufw status<br># 5. Is DNS resolving?<br>nslookup myapp.example.com</p><p>To put everything together I built a complete Linux server setup project:</p><p>*Created 3 user accounts and a devops group</p><p>*Set up directory permissions for the team</p><p>*Generated SSH keys and secured the server</p><p>*Wrote an automated backup script in bash</p><p>*Scheduled backup with cron to run daily at 2 AM</p><p>*Monitored server health using top, free and df</p><p>This mini project made everything click for me! Building something real is 10x better than just reading theory.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d52c83c052f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ansible]]></title>
            <link>https://medium.com/@vandadisivaprasad/ansible-ae94e6589d93?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae94e6589d93</guid>
            <category><![CDATA[ansible]]></category>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Wed, 01 Apr 2026 16:57:45 GMT</pubDate>
            <atom:updated>2026-04-01T16:57:45.964Z</atom:updated>
            <content:encoded><![CDATA[<p>Ansible is an open-source automation tool for configuration management, application deployment and orchestration. It helps automate repetitive tasks like : <br>1. Installing software<br>2. Configuring servers<br>3. Deploying applications</p><p>How ansible works ?<br>Ansible works on an agentless architecture, meaning no software is required on target servers. It uses a control node to manage systems, connects to servers using SSH, It executes tasks using modules, tasks are defined playbooks (YAML format). <br>Ansible is a simple, agentless automation tool that uses playbooks to manage and configure multiple servers effciently over SSH.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*LYqpomuha586oD5Rq1cI7w.png" /></figure><h3>Ansible Architecture</h3><p>Ansible architecture is an agentless, push-based model where a central control node manages multiple servers (managed nodes) using SSH and executes automation tasks.</p><p><strong>Components of Ansible Architecture<br>1. Control Node:-<br></strong>The Control Node is the machine where Ansible is installed and from which all automation tasks are Executed. It acts as the central contoller that manges multiple servers by running playbooks and sending instructions. <br>=&gt; The control node connects to target servers using SSH or WinRM (windows)<br>=&gt; It pushes tasks defined in playbooks to managed nodes<br>=&gt; Executes modules on those nodes and collects results</p><p><strong>2. Managed Nodes :-<br></strong>Managed Nodes are the target servers that ansible controls and configures. These can be linux or windows machines where automation tasks are executed.<br>Ansible is agentless so no software needs to be installed on managed nodes. The control node connects to them using SSH or WinRM</p><p><strong>3. Inventory :-<br></strong>Inventory is a file that contains the list of target servers (managed nodes) that ansible manages. It defines where the tasks should be executed<br>Types of Inventory<br>Static Inventory =&gt; Manually defined in a file YAML<br>Dynamic Inventory =&gt; Automatically fetched from cloud sources like AWS,Azure,GCP<br>Inventory in Ansible is a file that contains the list of manged nodes and groups which tells Ansible where to execute tasks.</p><p><strong>4. Playbooks :-</strong><br>Playbooks are YAML files in Ansible that define the automation tasks to be executed on managed nodes. Playbooks are written in YAML format which is simple and human-readable. They cosist of plays and each playbook contains a list of tasks. A playbook targets a group of servers from the inventory. It runs tasks sequentially using modules Ensures desired state like installing software or starting services.</p><p><strong>5. Modules :-</strong><br> Modules are the small reusable programs in Ansible that perform specific tasks on managed nodes. They are the actual units of work executed during automation. Each task in a playbook uses a module to perform an action. Modules are executed on managed nodes and return the result back to the control node<br>Examples of modules:<br>yum / apt — — → install packages<br>copy — — — → copy files<br>service — → start/stop services</p><p>Modules are the building blocks of ansible that perform actual tasks on managed nodes, such as installing packages or managing services</p><p><strong>6. SSH (Connection)<br></strong>SSH (Secure Shell) is the communication method ansible uses to connect from the control node to managed nodes. It enables secure encrypted communication for executing tasks. Ansible is angentless, so it does not require any software on target servers. Instead it uses SSH to log in and perform operations remotely. <br>The control node connects to managed nodes using credentails (key/password). It sends modules to execute tasks, After execution results are returned over the same SSH connection.<br> SSH in Ansible is used to securely connect the control node to managed nodes and execute tasks without requiring any agent on the target systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae94e6589d93" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Domain Name System(DNS)]]></title>
            <link>https://medium.com/@vandadisivaprasad/domain-name-system-dns-fb748ec53d4b?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb748ec53d4b</guid>
            <category><![CDATA[dns-servers]]></category>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 15:02:21 GMT</pubDate>
            <atom:updated>2026-03-11T15:02:21.830Z</atom:updated>
            <content:encoded><![CDATA[<p>DNS (Domain Name System) is used to translate <strong>domain names (like google.com)</strong> into <strong>IP addresses</strong> so computers can communicate with each other.<br>When a user enters a domain name, the browser first checks local cache, then OS cache. If not found, the request goes to a recursive DNS resolver which queries the root server, then the TLD(Top level Domain)server, and finally the authoritative DNS server. The authoritative server returns the IP address, which is cached and used by the browser to connect to the server.</p><p><strong>The Main components of DNS :-<br></strong>DNS Resolver (Recursive Resolver)<br>Root Name Server<br>TLD (Top Level Domain) Name Server<br>Authoritative Name Server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*AZ_uDzAoxxIz-CHMJhVGvg.jpeg" /></figure><h3><strong>1) DNS Resolver (Recursive Resolver)</strong></h3><p>A DNS Resolver (also Called a Recursive Resolver) is the server that receives the DNS query from the client and finds the correct IP address for the requested domain.<br>It acts as the middleman between the client and the DNS hierarchy</p><p><strong>DNS resolvers provided by companies:</strong><br>Google Public DNS<br>Cloudflare DNS<br>Internet Service Provider (ISP) DNS</p><p>EX:-<br>8.8.8.8 ==&gt; Google DNS<br>1.1.1.1 ==&gt; Cloudflare DNS</p><p>1.Receives DNS request from the client ( browser or OS)<br>2.Check its cache<br>3.If record exists =&gt; retruns immediately<br>4.If not =&gt; quries other DNS servers:- Root server, TLD server, Authoritative server<br>5. Returns the final IP address to the client <br>Ex:- <br>Users types:- <a href="http://www.google.com/">www.google.com</a><br>Request flow:- Browser ==&gt; OS Resolver ==&gt; Recursive DNS Resolver</p><p><strong>Caching <br></strong>Caching is important in DNS. Resolves caches DNS responses to reduce latency and improve performance.<br>TTL = 300 seconds<br>Meaning the resolver stores the result for 5 minutes</p><p>Devops EX:-<br>User =&gt; DNS Resolver =&gt; Route53 =&gt; load Balancer<br>Amazon Web Services Route53</p><h3><strong>2). Root Name Server</strong></h3><p>The Root Name Server is the top level of the DNS hierarcy. It is the first DNS server the recursive resolver contants when it doesn’t know the IP address of a domain. Root servers do not store domain IP addresses. <br>Instead they tell the resolver where to find the correct TLD server.</p><p>Manged by:-<br>Global DNS root server are coordinated by ICANN (Internet Corporation for Assigned Names and Numbers). <br>There are 13 logical root server clusters worldwide.<br><strong>Root servers:-</strong><br>a.root-servers.net<br>b.root-servers.net<br>c.root-servers.net<br>But each cluster contains hundreds of distributed server globally using Anycast routing.</p><p><strong>Example Query</strong><br>Resolver asks root server<br>Where is the server for .com?<br>Root server response<br>Ask the .com TLD name server</p><p><strong>Root server Responsiblity<br></strong>Root servers store information <br>.com<br>.org<br>.net<br>.io<br>.gov<br>.edu</p><h3><strong>3). TLD (Top Level Domain) Name Server</strong></h3><p>The Top Level Domain server manages domain extentions<br>.com, .org, .net, .io, .in<br>TLD server store information about which authoritative name server manages a domain</p><p>Domain name:- google.com</p><p>DNS resolver asks the .com TLD server: Where is google.com</p><p>TLD server responds:<br>ns1.google-dns.com<br>ns2.example-dns.com</p><p><strong>TLD Categories<br>.</strong>com<br>.org<br>.net<br>.io</p><p>Country Code TLDs(ccTLD)<br>.in =&gt; India<br>.us =&gt; United states<br>.UK =&gt; United Kingdom</p><p>TLD servers maintain:<br>Domain name → Authoritative DNS server mapping<br>Example:<br>google.com → ns1.dns-provider.com</p><h3><strong>4).Authoritative Name Server</strong></h3><p>The Authoritative Name Server is the final source of truth for a domain.It contains the actual DNS records.<br>When the resolver queries it, it returns the IP address.</p><p>DNS Records Stored Here<br>A Record Maps domain to IPv4 address.<br>EX:- google.com =&gt; 192.168.1.10</p><p><strong>AAAA Record</strong><br>Maps domain to IPv6 address</p><p><strong>CNAME Record</strong><br>Alias for another domain<br>Ex:- <a href="http://www.google.com/">www.google.com</a> ==&gt; google.com</p><p><strong>MX Record<br></strong>Mail server configuration<br>Ex:- google.com ==&gt; mail.google.com</p><p><strong>TXT Record<br></strong>used for verification<br>EX:- <br>SPF<br>DKIM<br>Domain verification</p><p><strong>Example Authoritative DNS Providers</strong><br>Amazon Web Services Route 53<br>Cloudflare DNS<br>GoDaddy DNS</p><p>Example DNS Record Table</p><p>Domain: example.com</p><p>Type Name Value<br> — — — — — — — — — — — — — — — — — — -<br>A example.com 192.168.1.10<br>CNAME www example.com<br>MX mail mail.example.com<br>TXT example.com v=spf1 include:_spf.google.com</p><p><strong>Complete DNS Resolution Flow</strong></p><p>Example domain<br>www.example.com</p><p><strong>Step-by-step process:</strong></p><p>1. User enters domain in browser<br>2. Browser sends request to DNS Resolver<br>3. Resolver queries Root Server<br>4. Root Server returns TLD Server (.com)<br>5. Resolver queries TLD Server<br>6. TLD returns Authoritative Server<br>7. Resolver queries Authoritative Server<br>8. Authoritative Server returns IP address<br>9. Resolver sends IP to browser<br>10. Browser connects to web server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*yHt26ZdhCmitNMmF3V252Q.png" /></figure><h3><strong>DNS Hierarchy Diagram</strong></h3><p>User<br> │<br> ▼<br>DNS Resolver (Recursive)<br> │<br> ▼<br>Root Name Server<br> │<br> ▼<br>TLD Name Server (.com)<br> │<br> ▼<br>Authoritative Name Server<br> │<br> ▼<br>IP Address Returned</p><h3><strong>Real Production Example (DevOps)</strong></h3><p>In modern cloud architecture:<br>User<br> │<br> ▼<br>DNS Resolver<br> │<br> ▼<br>Route53 (Authoritative DNS)<br> │<br> ▼<br>Load Balancer (ALB)<br> │<br> ▼<br>Kubernetes Service<br> │<br> ▼<br>Pods</p><p>DNS example:<br>api.company.com → Load Balancer</p><p>Conclusion:-<br>DNS has four main components: the DNS resolver, root name server, TLD name server, and authoritative name server. The resolver receives the query from the client and queries the root server. The root server directs the request to the appropriate TLD server, which then points to the authoritative name server. The authoritative server contains the actual DNS records and returns the IP address of the domain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb748ec53d4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub]]></title>
            <link>https://medium.com/@vandadisivaprasad/github-11919acfc313?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/11919acfc313</guid>
            <category><![CDATA[gi̇thub]]></category>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Tue, 03 Mar 2026 12:55:59 GMT</pubDate>
            <atom:updated>2026-03-03T12:55:59.558Z</atom:updated>
            <content:encoded><![CDATA[<h3>Git</h3><p>Git is a Distributed verson control system (DVCS). It is created by Linus Torvalds.</p><p><strong>why we need to use git ?</strong><br>Git tracks the history of all changes made to the code.<br> It allows teams to work together efficiently and improves collaboration.<br> Using Git, we can undo mistakes and manage different versions of the code easily.</p><p><strong>Version Control</strong></p><p>means managing and saving multiple versions of code over time. It helps track who made changes, what changes were made, and when they were made. Git tracks these changes, allows comparison between different versions, and enables reverting to older versions if needed.</p><p>We use the Git tool on our local system by installing it. Git does not require an internet connection to track changes because it works offline. However, an internet connection is required when pushing code to remote repositories like GitHub.</p><h3>GitHub</h3><p>Github is a cloud-based platform used to store, manage, and collaborate on code using Git.</p><p>GitHub is a website where developers save their code and work together on projects.</p><p><strong>Why we need to use GitHub ?</strong><br>GiHub is used to store source code online. It tracks code changes by maintaining version history. GitHub enables team collaboration, allowing multiple developers to work on the same project efficiently. It supports code reviews through pull requests and helps automate builds and deployments using CI/CD workflows. Additionally, GitHub allows developers to contribute to open-source projects.</p><p><strong>Important Terms</strong></p><ul><li>📁 <strong>Repository (Repo)</strong> → Project folder stored on GitHub</li><li>📌 <strong>Commit</strong> → Snapshot of changes</li><li>🌿 <strong>Branch</strong> → Separate working version of code</li><li>🔁 <strong>Pull Request (PR)</strong> → Request to merge changes</li><li>🍴 <strong>Fork</strong> → Copy of someone else’s project</li></ul><p><strong>Common Git Commands<br></strong>git status<br>git log<br>git diff<br>git branch<br>git checkout<br>git pull<br>git clone</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*W1QyKvfR6Nblh51V_f_TLg.jpeg" /></figure><p>🌿 <strong>Branch in GitHub<br></strong>A branch is an independent line of development within a repository. It allows you to work on new features or bug fixes without affecting the main codebase.</p><p>Branching is especially useful in production environments. When making changes to the code, we can create a new branch to safely develop and test updates without impacting the production code.</p><p>If we make changes directly to the main branch in production, it may introduce bugs or issues that can affect the live application.</p><p><strong>git branch # list branches<br>git branch new-branch # create branch<br>git checkout branch-name # switch branch<br>git checkout -b new-branch # create + switch<br>git merge branch-name # merge branch<br>git branch -d branch-name # delete branch</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*q8Xbwz6u7nZRRfnTdtLGmQ.jpeg" /></figure><h3>🔹 Real-World Development Workflow</h3><p>Here’s how teams typically use Git and GitHub:</p><ol><li>Developer creates a new branch.</li><li>Makes changes and commits code.</li><li>Pushes the branch to GitHub.</li><li>Creates a Pull Request.</li><li>Team reviews the code.</li><li>After approval, it is merged into the main branch.</li><li>CI/CD pipeline deploys the application.</li></ol><p>This workflow ensures:</p><ul><li>Code quality</li><li>Team collaboration</li><li>Safe deployments</li><li>Faster development cycles</li></ul><h3>🎯 Conclusion</h3><p>Git and GitHub are essential tools in modern software development.</p><ul><li><strong>Git</strong> helps track and manage code changes locally.</li><li><strong>GitHub</strong> provides a cloud platform for collaboration and automation.</li><li>Branching ensures safe and organized development.</li><li>Version control helps maintain project history and stability.</li></ul><p>Together, they form the foundation of DevOps and modern application development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11919acfc313" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes(K8s)]]></title>
            <link>https://medium.com/@vandadisivaprasad/kubernetes-k8s-2a6674c78154?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a6674c78154</guid>
            <category><![CDATA[kubernetes-cluster]]></category>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Thu, 12 Feb 2026 14:23:54 GMT</pubDate>
            <atom:updated>2026-02-12T14:30:01.145Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Kubernetes </strong>is a Container Orchestration platform to Deploy Microservices. kubernetes is inbuild mechanism for discovering services through services discovery machanism.</p><h3><strong>Architecture:-</strong></h3><p>In kubernetes we have a cluster. In cluster we have components</p><p>They are two main components are in Kubernetes <br>1.) Control panel(Master node)<br>2.) Worker Node</p><h3><strong>Control panel( Master node):-</strong></h3><p>Control panel manages the cluster schedule pods,stores the data, checking pods health. control panel can communicate with every pod. control is the brain of the cluster.<br>In control panel we have</p><p><strong>=&gt; Kube API Server:-</strong> Through API server we can communicate with components. For best Authentication and Authorization. And It accepts the Kubectl commands.</p><p><strong>=&gt; ETCD:-</strong> etcd is database for storing of pods data and critical cluster information.</p><p><strong>=&gt; Control Manager:-</strong> Control Manager can manages every pod, it is a node controller, job, service and checks every thing.</p><p><strong>=&gt; Kube-Scheduler:-</strong> This Kube-Scheduler can pull container to specific node or where to run pods and it is a controler of pods</p><h3><strong>Worker Node:-</strong></h3><p>worker node runs the application</p><p>In worker node we have</p><p><strong>=&gt;Kubelet:-</strong> Is agent and it communicates with apiservers and ensures the node runs assigned containers.</p><p><strong>=&gt;Container Runtime:-</strong> ContainerD, CRI-O, It runs the container images and manages the container lifecycle</p><p><strong>=&gt;kubeproxy:-</strong> It Allow network communication with pod-to-pod It control network traffic and loadbalancer external services.</p><p><strong>Pod:-</strong> It a deployable unit in kubernetes. Pod contains one or more containers pod can run on worker nodes to execure applications for high avilability through self-healing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qGsvr0wN-AsVrXv2HBWDHg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a6674c78154" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS vs Azure vs GCP — DevOps Services Mapping]]></title>
            <link>https://medium.com/@vandadisivaprasad/aws-vs-azure-vs-gcp-devops-services-mapping-9c73f4bdb6c2?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c73f4bdb6c2</guid>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Mon, 26 Jan 2026 17:36:41 GMT</pubDate>
            <atom:updated>2026-01-26T17:36:41.036Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS vs Azure vs GCP — DevOps Services Mapping</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*rNcBIkZaDZHDIVPYGTKeZg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*b8cjpPvCAcpbnE1pjokZxA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c73f4bdb6c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Infrastructure as a Code (Iac)]]></title>
            <link>https://medium.com/@vandadisivaprasad/infrastructure-as-a-code-iac-70f2b5f77420?source=rss-82046c159537------2</link>
            <guid isPermaLink="false">https://medium.com/p/70f2b5f77420</guid>
            <category><![CDATA[infrastructure-as-code]]></category>
            <dc:creator><![CDATA[Vandadi Siva Prasad]]></dc:creator>
            <pubDate>Sat, 10 Jan 2026 10:56:51 GMT</pubDate>
            <atom:updated>2026-01-10T10:56:51.207Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Infrastructure as Code (IaC)?</strong><br>Infrastructure as Code (IaC) is a practice in which infrastructure is created and managed using code instead of manual processes. With IaC, we can provision resources such as servers, networks, databases, and other cloud components in an automated and reliable way. This approach enables automation, consistency, version control, and faster deployments across multiple environments like development, testing, and production.</p><p>IaC enables:</p><ul><li><strong>Automation</strong></li><li><strong>Consistency</strong></li><li><strong>Version control</strong></li><li><strong>Faster deployments across multiple environments</strong> (Dev, QA, Prod)</li></ul><p>Because infrastructure is written as code, it can be stored in version control systems like Git, reviewed by teams, reused, and rolled back when required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ES1g7U0AmYwXbT8iu2Zaxw.png" /></figure><h3>Terraform as an IaC Tool</h3><p>Terraform is a popular IaC tool that supports multi-cloud environments. Using Terraform, we can create and manage infrastructure resources in AWS, Azure, and Google Cloud Platform using a single tool. Terraform uses HCL, which stands for HashiCorp Configuration Language. HCL is maintained by HashiCorp and is a human-readable, declarative language that describes what infrastructure is required rather than how to create it. Terraform reads configuration files with the “.tf” extension to understand the desired infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4KPd29g2qjzoBfcXSFVlCw.avif" /></figure><h3>About HCL (HashiCorp Configuration Language)</h3><ul><li>Maintained by <strong>HashiCorp</strong></li><li><strong>Human-readable</strong> and <strong>declarative</strong></li><li>Describes <em>what infrastructure is required</em>, not how to create it</li><li>Terraform reads configuration files with the <strong>.tf</strong> <strong>extension</strong></li></ul><h3>Terraform Scope</h3><p>Terraform scope refers to what Terraform is responsible for managing and how far its control extends over the infrastructure. The scope is defined by the Terraform configuration files and the state file, which together determine which resources are managed by Terraform. Only the resources defined in the configuration and tracked in the state file are under Terraform’s control.</p><h3>Terraform Author</h3><p>In Terraform, the author refers to the person or team who writes and maintains the Terraform code. Terraform does not have a command called terraform author; instead, this term is used conceptually to describe ownership and responsibility for the Infrastructure as Code.</p><h3>How to Operate Terraform — Step by Step</h3><p>Terraform commands are executed from the <strong>terminal or command prompt</strong>, and every command starts with the keyword <strong>terraform</strong>.</p><h3>Step 1: terraform init – Initialization</h3><p>To operate Terraform, the first step is initialization using the “terraform init command. This command initializes the working directory, downloads the required provider plugins such as AWS, Azure, or GCP, and prepares the backend configuration. During initialization, Terraform also sets up the state file, which can be stored locally or remotely in services like Amazon S3 or Terraform Cloud. This command is executed from the terminal or command prompt and must be run before any other Terraform commands.</p><h3><strong>Step 2: </strong><strong>terraform plan – Planning</strong></h3><p>The next step is planning, which is done using the “terraform paln” command. This command shows what changes Terraform will make to the infrastructure by comparing the desired state defined in the “.tf” files with the current state stored in the state file. It displays which resources will be created, modified, or deleted, along with a summary such as “2 to add, 1 to change, 0 to destroy.” The plan step helps prevent unexpected changes, detects mistakes before applying them, and is widely used in CI/CD pipelines for validation and approval. The plan command does not create any resources; it only shows what will happen.</p><h3>Step 3: terraform apply – Apply Changes</h3><p>After planning, the changes are applied using the “ terraform apply” command. This command creates, updates, or deletes infrastructure resources based on the Terraform configuration. Terraform reads all “.tf” files in the directory, recalculates the plan if no plan file is provided, or applies exactly the given plan if one is supplied. During this process, Terraform uses provider plugins to send API requests to the cloud platforms and then updates the local or remote state file to reflect the real-world infrastructure.</p><h3><strong>Step 4: </strong><strong>terraform destroy – Delete Infrastructure</strong></h3><p>Terraform also provides a destroy operation using the “terraform destory” command. This command safely removes all infrastructure resources managed by Terraform. It reads the configuration files and the state file to identify managed resources, creates a destroy plan similar to a plan operation but in reverse, shows which resources will be deleted, and then removes them after confirmation. This helps clean up unused infrastructure and prevents unnecessary cloud costs.</p><p>All Terraform operations are performed using commands that start with the word terraform, such as terraform init, terraform plan, terraform apply, and terraform apply. Together, these commands form the Terraform lifecycle and enable consistent, automated, and scalable infrastructure management across cloud environments</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70f2b5f77420" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>