<?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 Krishna Chaithanya Yada on Medium]]></title>
        <description><![CDATA[Stories by Krishna Chaithanya Yada on Medium]]></description>
        <link>https://medium.com/@krishnayada-devops?source=rss-cebe5005ec5d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KHNynStbtmohjwaO5kmMkw.png</url>
            <title>Stories by Krishna Chaithanya Yada on Medium</title>
            <link>https://medium.com/@krishnayada-devops?source=rss-cebe5005ec5d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 12:34:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@krishnayada-devops/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[20 Linux Commands I Use Daily as a DevSecOps Engineer]]></title>
            <link>https://medium.com/@krishnayada-devops/20-linux-commands-i-use-daily-as-a-devsecops-engineer-72dbcca64944?source=rss-cebe5005ec5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/72dbcca64944</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Krishna Chaithanya Yada]]></dc:creator>
            <pubDate>Wed, 05 Aug 2026 03:31:01 GMT</pubDate>
            <atom:updated>2026-08-05T03:31:01.403Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*VLoLuFfJuthiaxLpBEIQoA.avif" /></figure><p>After 8 years of working with Linux, these are the commands I reach for every single day — with real examples from my actual workflow</p><p>I’ve been working on Linux systems for over 8 years now. In that time, I’ve used hundreds of commands. But honestly? About 20 of them cover 90% of my daily work.</p><p>These aren’t just random commands from a textbook. These are the ones I actually type every day while managing servers, debugging containers, building pipelines, and investigating security issues.</p><p>Let me share them with the exact context of when and why I use them.</p><h3>Process and System Monitoring</h3><p>ps aux | grep &lt;process_name&gt;</p><p>This is always my first move when something’s acting weird. “Is the service even running?” I can’t count how many times the answer was simply “the process crashed and nobody noticed.”</p><p>top (or htop)</p><p>When a server feels slow, I open top. I’m looking for processes eating too much CPU or memory. Last month, a Java application had a memory leak that was only visible in top — it was slowly consuming RAM over days until the server became unresponsive.</p><p>df -h</p><p>Disk space. I check this almost daily. Nothing kills a production server faster than running out of disk. The -h flag makes it human-readable (GB instead of bytes). I’ve seen production databases crash because logs filled the disk at 2 AM.</p><p>free -m</p><p>Quick memory check. Shows used, free, and available memory in megabytes. I use this alongside top when investigating performance issues. If “available” is near zero, we’ve got a problem.</p><h3>File and Directory Operations</h3><p>find / -name “filename” -type f</p><p>When I know a file exists somewhere but can’t remember where. I use this a lot when debugging — finding config files, log files, or scripts that someone placed in a non-standard location.</p><p>find /var/log -mtime -1</p><p>Find files modified in the last day. I use this when investigating incidents — “what changed recently on this server?”</p><p>tail -f /var/log/syslog</p><p>Live log watching. The -f flag keeps the file open and shows new lines as they appear. I keep this running in a terminal while testing deployments. If something goes wrong, I see it in real-time.</p><p>grep -r “pattern” /path/</p><p>Recursive search for text in files. I use this constantly — finding which config file has a specific setting, searching for hardcoded secrets (grep -r “password” .), or locating error messages in logs.</p><p>ls -la</p><p>Everyone knows ls. But -la shows hidden files and detailed permissions. When debugging permission issues, this is where I start. “Who owns this file? What permissions does it have?”</p><h3>Network Troubleshooting</h3><p>netstat -tulpn (or ss -tulpn)</p><p>Shows what ports are open and which processes are listening. When a service won’t start because “port already in use” — this command tells me what’s occupying that port.</p><p>curl -v <a href="https://endpoint/">https://endpoint</a></p><p>Testing HTTP connections with verbose output. I use this to debug API calls, check if a service is responding, verify SSL certificates, and test connectivity between containers. The -v flag shows the full request/response headers.</p><p>dig domain.com (or nslookup)</p><p>DNS lookups. When someone says “the website is down,” my first check is DNS. Is the domain resolving to the right IP? Has something changed?</p><p>ping and traceroute</p><p>Basic but essential. Ping checks if a host is reachable. Traceroute shows the network path. When connectivity between services breaks, these two tell me where the problem is.</p><h3>User and Permission Management</h3><p>chmod and chown</p><p>Setting file permissions and ownership. I deal with these daily in container environments where file ownership mismatches cause “permission denied” errors. A container running as user 1000 can’t read files owned by root — chmod and chown fix that.</p><p>whoami and id</p><p>“What user am I running as?” This matters more than people think, especially in containers and when debugging sudo issues. The id command shows your user ID, group ID, and all groups you belong to.</p><p>sudo su — username</p><p>Switching between users to test permissions or run commands as a specific service account. I never stay as root longer than I need to.</p><h3>Docker-Specific Commands I Use Daily</h3><p>docker ps -a</p><p>What containers are running? What stopped? When did they stop? This is my starting point for any container debugging. The -a flag shows stopped containers too — often the problem is a container that crashed.</p><p>docker logs container_name — tail 50</p><p>Check the last 50 lines of a container’s logs. Most container issues are visible here — application errors, connection failures, out-of-memory kills.</p><p>docker exec -it container_name /bin/sh</p><p>Get a shell inside a running container. When I need to check files, test connectivity from inside the container, or debug an issue that’s not visible in logs.</p><p>docker system prune -a</p><p>Clean up disk space. Old images, stopped containers, unused networks — they pile up fast. I’ve seen build servers run out of disk because nobody was cleaning up Docker artifacts.</p><h3>Bonus: The Pipes That Connect Everything</h3><p>The real power of Linux isn’t individual commands — it’s combining them:</p><p>cat access.log | grep “500” | wc -l<br>This tells me how many 500 errors happened in the access log.</p><p>ps aux | sort -k 3 -r | head -5<br>Top 5 processes by CPU usage.</p><p>find . -name “*.log” -size +100M<br>Find log files larger than 100MB (disk space culprits).</p><p>docker ps -q | xargs docker stats — no-stream<br>Resource usage of all running containers in one view.</p><p>history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head -10<br>My 10 most-used commands. Try it — you might be surprised.</p><h3>The Pattern You’ll Notice</h3><p>Looking at my daily command usage, there’s a clear pattern:</p><p>60% is monitoring and troubleshooting — checking if things are running, checking logs, checking resources<br>25% is file operations — finding files, reading configs, checking permissions<br>15% is network debugging — connectivity, DNS, port checks</p><p>As a DevSecOps engineer, I’m rarely writing new configs from scratch. Most of my day is understanding what’s happening on a system, finding why something isn’t working, and fixing it.</p><h3>One Last Tip</h3><p>Learn to read man pages. Seriously. Instead of Googling “how to use grep,” try “man grep.” The examples section at the bottom of most man pages is gold.</p><p>Also, use Ctrl+R for reverse history search. Start typing a command you used before, and it finds it in your history. This saves me minutes every single day.</p><p>These 20 commands won’t make you a Linux expert overnight. But if you can use them confidently, you can troubleshoot 90% of the issues you’ll face in a DevOps or DevSecOps role.</p><p>Got a command you use daily that I didn’t mention? Drop it in the comments. I’m always looking to improve my workflow.</p><p>Follow me for more practical DevSecOps content — I post weekly with real-world examples from my daily work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72dbcca64944" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Image Security: How I Scan and Fix Vulnerabilities Before Deployment]]></title>
            <link>https://medium.com/@krishnayada-devops/docker-image-security-how-i-scan-and-fix-vulnerabilities-before-deployment-6099ef07d388?source=rss-cebe5005ec5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6099ef07d388</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[securtity]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[Krishna Chaithanya Yada]]></dc:creator>
            <pubDate>Mon, 20 Jul 2026 03:31:01 GMT</pubDate>
            <atom:updated>2026-07-20T03:31:01.746Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*FY6EUmOjhtR4PQ0Zvk9N8w.avif" /></figure><p>Most Docker images in production have vulnerabilities nobody checked. Here’s how to catch them before they become a problem.</p><p>Last year, I ran a security scan on a Docker image we’d been running in production for six months. The result: 127 known vulnerabilities. Twelve of them were critical. The image had a version of OpenSSL with a publicly known exploit.</p><p>Nobody had checked. The image worked, the application worked, so nobody questioned what was inside.</p><p>This is the reality for most teams using Docker. They build images, push them, deploy them, and never look at what’s actually in those layers. Let me show you how I handle Docker image security in my projects now.</p><h3>Why Docker Images Have Vulnerabilities</h3><p>Every Docker image is built on layers. Your Dockerfile might only have 5 lines, but the base image you’re pulling (like ubuntu:22.04 or python:3.11) contains hundreds of packages. Each of those packages can have known security issues.</p><p>New vulnerabilities are discovered daily. An image that was “clean” last month might have three critical CVEs today — not because you changed anything, but because researchers found new bugs in existing packages.</p><p>This is why scanning once during build isn’t enough. But it’s a great starting point.</p><h3>My Scanning Setup: Trivy</h3><p>I use Trivy for container scanning. It’s free, open-source, fast, and gets updated with new vulnerability data daily.</p><p>Installing Trivy is straightforward. On Linux:</p><p>curl -sfL <a href="https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh">https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh</a> | sh -s — -b /usr/local/bin</p><p>To scan an image, just run:</p><p>trivy image your-image-name:tag</p><p>That’s it. Trivy pulls the latest vulnerability database and checks every package in every layer of your image.</p><p>The output shows you exactly what’s wrong: the package name, installed version, fixed version (if available), and the CVE ID. You can look up any CVE to understand the actual risk.</p><h3>How I Integrate Scanning Into My Workflow</h3><p>I scan at three points:</p><p>During local development — before I even push the code. I build the image locally and scan it. Catches issues early.</p><p>In the CI/CD pipeline — automated scan after every build. If critical vulnerabilities are found, the build fails. The image never reaches the registry.</p><p>On a schedule — I scan images already in production weekly. Remember, new vulnerabilities are found daily. An image that was clean last week might not be clean today.</p><p>The pipeline integration is the most important one. It’s your last line of defense before something reaches production.</p><h3>Fixing Vulnerabilities: The Practical Approach</h3><p>When Trivy reports vulnerabilities, here’s my decision process:</p><p>Is there a fix available? If the vulnerability has a fixed version, update the package. This is the easy case.</p><p>Is it in the base image? If the vulnerability is in the base image (like ubuntu or alpine), check if a newer base image version fixes it. Often, just bumping from python:3.11.4 to python:3.11.7 resolves multiple issues.</p><p>Can I use a smaller base image? I switched several projects from ubuntu-based to alpine-based images. Fewer packages means fewer vulnerabilities. My Python application went from 420 packages to 87 by switching to python:3.11-alpine.</p><p>Is the vulnerable package actually used? Sometimes Trivy reports a vulnerability in a package your application never calls. In these cases, I document it and mark it as accepted risk. But I never ignore critical ones.</p><p>Can I remove unnecessary packages? Many base images come with tools you don’t need in production — curl, wget, git, compilers. If your app doesn’t need them, remove them in a multi-stage build.</p><h3>Writing Secure Dockerfiles</h3><p>Here are the practices I follow in every Dockerfile:</p><p>Use specific base image tags — Never use “latest.” Pin the exact version. Instead of “python:3.11” use “python:3.11.7-slim-bookworm.” You want to know exactly what you’re running.</p><p>Use multi-stage builds — Build your application in one stage (with all the build tools), then copy just the binary/artifact to a minimal runtime stage. This dramatically reduces the attack surface.</p><p>Don’t run as root — Add a non-root user and switch to it. If an attacker gets into your container, they shouldn’t have root access.</p><p>Remove unnecessary files — Delete package manager caches, temporary files, and build artifacts. Less stuff in the image means less stuff that can be exploited.</p><p>Don’t store secrets in images — Never put passwords, API keys, or tokens in your Dockerfile or image layers. They persist in the layer history even if you delete them in a later layer. Use runtime environment variables or secrets management tools.</p><p>Keep images small — A smaller image has fewer packages, fewer potential vulnerabilities, and deploys faster. It’s a win-win-win.</p><h3>Real Example: Before and After</h3><p>Before (my old approach):<br>- Base image: python:3.9 (full image, 1.2 GB)<br>- Running as root<br>- All build tools included in final image<br>- 340 packages, 47 known vulnerabilities</p><p>After (my current approach):<br>- Base image: python:3.11.7-slim-bookworm (150 MB)<br>- Running as non-root user “appuser”<br>- Multi-stage build, only runtime dependencies in final image<br>- 89 packages, 0 critical vulnerabilities, 2 low</p><p>Same application. Same functionality. But 90% less attack surface.</p><h3>What About Container Registries?</h3><p>I use Amazon ECR for storing images, and it has built-in scanning too. I enable “scan on push” — every image gets scanned when it arrives in the registry.</p><p>But I don’t rely on registry scanning alone. By the time the image is in the registry, it’s already been built and pushed. I want to catch issues before that point in the pipeline.</p><p>Think of it as layers of defense:<br>- Local scan: catches issues on my machine<br>- Pipeline scan: catches issues before registry<br>- Registry scan: catches newly discovered issues in existing images<br>- Scheduled scan: catches issues that appear after deployment</p><h3>When Vulnerabilities Can’t Be Fixed</h3><p>Sometimes there’s no fix available. The vulnerability is known, but the maintainers haven’t released a patch yet. Here’s what I do:</p><p>First, assess the actual risk. A critical CVE in a library your app never calls is different from a critical CVE in your web server.</p><p>Second, check for workarounds. Sometimes you can mitigate the risk through configuration — disabling a feature, blocking network access, or adding an extra security layer.</p><p>Third, document it. I maintain a list of accepted risks with justification. “We accept CVE-XXXX-XXXX because the vulnerable function is not reachable in our application and network access is restricted.”</p><p>Fourth, set a reminder. When the fix becomes available, apply it immediately.</p><p>Never ignore it. Acknowledge it, document it, and track it.</p><h3>Start Today</h3><p>If you take one thing from this post, let it be this: scan your Docker images before deploying them.</p><p>Install Trivy. Run it against your production images. I guarantee you’ll find something. Don’t panic — prioritize by severity and fix the critical ones first.</p><p>Container security isn’t about being perfect. It’s about being aware of what you’re running and making informed decisions about risk.</p><p>Next post, I’ll cover the 20 Linux commands I use most often in my DevSecOps work. Some you definitely know, some might surprise you.</p><p>Follow me for more practical security content. No fear-mongering, just real solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6099ef07d388" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Set Up a Secure CI/CD Pipeline on AWS — A Practical Guide]]></title>
            <link>https://medium.com/@krishnayada-devops/how-to-set-up-a-secure-ci-cd-pipeline-on-aws-a-practical-guide-970aae877b20?source=rss-cebe5005ec5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/970aae877b20</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Krishna Chaithanya Yada]]></dc:creator>
            <pubDate>Mon, 29 Jun 2026 11:48:35 GMT</pubDate>
            <atom:updated>2026-06-29T11:48:35.248Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2-26uMf4gEEvV2IqxzgoJg.avif" /></figure><p>A step-by-step walkthrough of building an automated pipeline that doesn’t compromise on security</p><p>Most teams treat CI/CD and security as two separate things. Build fast, deploy fast, worry about security later. I used to do the same — until a container with a critical vulnerability made it to production because nobody checked.</p><p>That was my wake-up call. Since then, every pipeline I build has security baked in from the start. Let me walk you through how I set up a secure CI/CD pipeline on AWS — the same approach I use in my current projects.</p><h3>What We’re Building</h3><p>By the end of this guide, you’ll have a pipeline that:</p><p>Pulls code from a Git repository<br>Builds a Docker image<br>Scans the image for security vulnerabilities<br>Runs basic tests<br>Pushes the image to a secure container registry<br>Deploys to AWS ECS</p><p>If any security check fails, the pipeline stops. Nothing bad reaches production.</p><h3>The Tools I’m Using</h3><p>AWS CodePipeline — orchestrates the entire flow<br>AWS CodeBuild — builds the Docker image and runs scans<br>Amazon ECR — stores container images securely<br>Amazon ECS — runs the containers in production<br>Trivy — scans Docker images for known vulnerabilities<br>Git (CodeCommit or GitHub) — source code repository</p><p>You can swap these with Jenkins, GitLab CI, or GitHub Actions. The concept stays the same.</p><h3>Step 1: Setting Up the Source Stage</h3><p>First, I connect my Git repository to CodePipeline. Every time I push code to the main branch, the pipeline triggers automatically.</p><p>In my case, I use GitHub. The connection is straightforward — CodePipeline has a GitHub connector that uses OAuth. You authorize it once and every push triggers a build.</p><p>The important thing here: I never trigger pipelines on every branch. Only the main branch or release branches. Feature branches get their own checks through pull requests.</p><h3>Step 2: Building the Docker Image</h3><p>CodeBuild picks up the code and builds the Docker image. My buildspec.yml file looks something like this:</p><p>The build phase does three things:<br>- Logs into ECR (so we can push the image later)<br>- Builds the Docker image with a tag based on the commit hash<br>- Tags it as “latest” as well</p><p>I always use the commit hash as the image tag. This way, I can trace exactly which code is running in production. No guessing.</p><p>One thing I learned the hard way: always use specific base images in your Dockerfile. Don’t use “python:latest” or “node:latest.” Pin the version. Today’s latest might have vulnerabilities tomorrow.</p><h3>Step 3: Security Scanning (The Most Important Part)</h3><p>This is where most pipelines fall short. They build and deploy but never check what’s inside the image.</p><p>I add a scanning step right after the build:</p><p>Trivy scans the image and reports vulnerabilities by severity — CRITICAL, HIGH, MEDIUM, LOW. I configure it to fail the build if anything CRITICAL is found.</p><p>Here’s my logic:<br>- CRITICAL vulnerabilities: pipeline fails, image never gets pushed<br>- HIGH vulnerabilities: pipeline warns, I review manually<br>- MEDIUM and LOW: logged for tracking, doesn’t block deployment</p><p>This single step has caught dozens of issues before they reached production. Outdated libraries, known CVEs in base images, packages with security advisories.</p><p>The first time I added this to an existing project, Trivy found 47 vulnerabilities in our base image. Forty-seven. All sitting in production for months. That’s when I knew this step was non-negotiable.</p><h3>Step 4: Push to ECR (Only If Scan Passes)</h3><p>Only after the security scan passes do I push the image to Amazon ECR.</p><p>ECR itself adds another layer of security:<br>- It has built-in image scanning (you can enable it on push)<br>- I enable image tag immutability — once a tag is pushed, it can’t be overwritten<br>- I set lifecycle policies to clean up old images automatically</p><p>This means even if someone tries to push a compromised image with the same tag, ECR rejects it. Defense in depth.</p><h3>Step 5: Deploy to ECS</h3><p>The final stage deploys the new image to ECS. I use a rolling deployment strategy — the new containers come up, get health-checked, and only then do the old containers go down.</p><p>Key security settings in my ECS task definition:<br>- Read-only root filesystem (containers can’t write to their own filesystem)<br>- Non-root user (containers don’t run as root)<br>- Specific CPU and memory limits (prevents resource abuse)<br>- Secrets pulled from AWS Secrets Manager (never hardcoded)<br>- VPC security groups that allow only necessary traffic</p><p>I’ve seen teams deploy containers that run as root with full network access. That’s basically giving an attacker a master key if they get in.</p><h3>Step 6: IAM — Least Privilege Everywhere</h3><p>Every component in this pipeline has its own IAM role with the minimum permissions it needs:</p><p>CodeBuild can: pull from Git, push to ECR, write logs. That’s it.<br>ECS tasks can: pull from ECR, read secrets, write logs. Nothing more.<br>CodePipeline can: trigger builds, trigger deployments. No direct resource access.</p><p>I see people using “AdministratorAccess” policies on their build roles because “it’s easier.” That’s a security incident waiting to happen. If your build environment gets compromised, the attacker has keys to your entire AWS account.</p><p>Take the extra 30 minutes to write proper IAM policies. Future you will be grateful.</p><h3>What Happens When Something Fails</h3><p>My pipeline has notifications set up through SNS:<br>- Build failure: I get a Slack notification<br>- Security scan failure: I get a Slack notification with the vulnerability report<br>- Deployment failure: I get a Slack notification plus automatic rollback triggers</p><p>The automatic rollback is crucial. If the new deployment’s health checks fail, ECS automatically rolls back to the previous working version. No manual intervention needed at 3 AM.</p><h3>Common Mistakes I See</h3><p>No scanning at all — “We’ll do security later” usually means never.</p><p>Scanning but not blocking — Having a scan that reports vulnerabilities but never fails the build is just noise. If it’s critical, block it.</p><p>Hardcoded secrets — I’ve seen AWS keys, database passwords, and API tokens committed to Git. Use Secrets Manager or Parameter Store.</p><p>Running as root — There’s rarely a reason for your container to run as root. Set a non-root user in your Dockerfile.</p><p>No image tag pinning — Using “latest” everywhere means you have no idea what’s actually running in production.</p><p>No rollback strategy — If you can’t roll back quickly, you’ll be fixing things in production at midnight.</p><h3>Final Thoughts</h3><p>A secure CI/CD pipeline doesn’t have to be complicated. It’s really just adding a few checks between your build and deploy steps. The key principle is simple: if something looks unsafe, don’t let it through.</p><p>Start with one thing — add Trivy scanning to your Docker build. That alone will catch more issues than you’d expect. Then gradually add IAM hardening, secrets management, and deployment safeguards.</p><p>Security isn’t a destination. It’s a series of small, consistent improvements to your pipeline.</p><p>If you’re building something similar or have questions about any of these steps, drop a comment. I’ll share the actual buildspec.yml and Terraform configurations in my next post.</p><p>Follow me for more practical DevSecOps content. I post 3–4 times a month — all real-world stuff, no theory.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=970aae877b20" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey from Linux Admin to DevSecOps Engineer — What Changed in 8 Years]]></title>
            <link>https://medium.com/@krishnayada-devops/my-journey-from-linux-admin-to-devsecops-engineer-what-changed-in-8-years-83f77429f6b1?source=rss-cebe5005ec5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/83f77429f6b1</guid>
            <category><![CDATA[career-change]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Krishna Chaithanya Yada]]></dc:creator>
            <pubDate>Wed, 24 Jun 2026 15:22:42 GMT</pubDate>
            <atom:updated>2026-06-24T15:31:14.784Z</atom:updated>
            <content:encoded><![CDATA[<h4>From managing servers manually to automating security in the cloud — here’s what I learned along the way</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*n_IMUkM8o0f236H1Dm5RPw.avif" /></figure><p>Eight years ago, I started my career as a Linux System Administrator. My daily life was all about SSH terminals, manually configuring servers, and those dreaded late-night incident calls. Fast forward to today — I work as a DevSecOps Engineer, building secure CI/CD pipelines on AWS using Docker containers.</p><p>This didn’t happen overnight. It was a slow, sometimes frustrating, but ultimately rewarding transition. If you’re a Linux admin right now and wondering what the path forward looks like, let me share my story.</p><h3>Where It All Started (2017)</h3><p>My first job was straightforward Linux administration. CentOS and Ubuntu servers, user permissions, Apache and Nginx configurations, basic bash scripts. Nothing fancy.</p><p>My typical morning looked like this:</p><p>SSH into 15–20 servers<br>Check disk space, memory, CPU manually<br>Apply patches one server at a time<br>Read through log files to troubleshoot issues<br>Set up cron jobs for backups</p><p>It was honest work. But after a year, I realized I was doing the exact same things every single day. Copy-paste commands, same checks, same fixes. Something had to change.</p><h3>The First Shift — I Discovered Automation (2018–2019)</h3><p>The turning point came when my manager asked me to patch 50 servers in one night. There was no way I could do that manually.</p><p>That weekend, I sat down and learned Ansible. I wrote my first playbook that could update all 50 servers with one command. What used to take me an entire night finished in 20 minutes.</p><p>That feeling of watching automation do your work — I was hooked.</p><p>I started automating everything: user creation, log rotation, backup scripts, monitoring alerts. My colleagues were still doing things manually while I was finishing the same work in minutes.</p><p>The lesson I learned: automation isn’t about replacing yourself. It’s about freeing yourself to solve harder, more interesting problems.</p><h3>Moving into DevOps (2019–2020)</h3><p>As I automated more of my Linux work, I naturally started picking up DevOps tools:</p><p>Git became my best friend. I started version-controlling everything — not just code, but server configs, scripts, documentation.</p><p>Docker changed how I thought about deployments. No more “it works on my machine” problems. Package the app in a container and it runs the same everywhere.</p><p>Jenkins and CI/CD pipelines meant I didn’t have to manually build and deploy anymore. Push code, and the pipeline handles the rest.</p><p>AWS opened up a whole new world. Instead of worrying about physical hardware, I could spin up infrastructure in minutes.</p><p>The biggest mindset shift was this: I stopped thinking like a “server guy” and started thinking like a “system designer.” I wasn’t just keeping servers alive anymore. I was designing how entire applications get built, tested, and shipped to production.</p><h3>Adding Security — The DevSecOps Part (2021-Present)</h3><p>Here’s what I noticed after working in DevOps for a while: teams were shipping code faster than ever, but security was always an afterthought. We’d find vulnerabilities in production. Docker images had critical CVEs that nobody checked. IAM policies were way too permissive because “it works, don’t touch it.”</p><p>I started asking: what if we catch these security issues before they reach production?</p><p>That’s how I moved into DevSecOps — baking security into every stage of the pipeline:</p><p>Container scanning: checking Docker images for known vulnerabilities before deploying them<br>Static code analysis: finding security bugs in the code automatically<br>IAM hardening: making sure every service has only the permissions it actually needs<br>Secrets management: no more passwords hardcoded in config files<br>Compliance checks: automated security gates in the CI/CD pipeline</p><p>DevSecOps isn’t really a separate thing from DevOps. It’s just DevOps done properly — with security built in from day one instead of bolted on later.</p><h3>My Toolkit Over the Years</h3><p>2017: Linux, Bash, SSH, Apache, Nagios<br>2018: Ansible, Advanced Shell Scripting<br>2019: Git, Jenkins, Docker<br>2020: AWS (EC2, S3, IAM), Terraform<br>2021: Kubernetes, CI/CD Pipelines<br>2022: Trivy, SonarQube, OWASP tools<br>2023 onwards: Full DevSecOps stack — AWS Security, Container Security, IaC scanning</p><p>Looking at this list, I realize every year I just added one or two new things. I never tried to learn everything at once. That’s important.</p><h3>Five Things I Wish Someone Told Me Earlier</h3><p>First — your Linux knowledge will never become irrelevant. Containers run Linux. Cloud servers run Linux. Kubernetes nodes run Linux. That foundation you built as a sysadmin? It gives you an edge that people coming from pure development backgrounds don’t have.</p><p>Second — learn one tool at a time. I see people trying to learn Docker, Kubernetes, Terraform, and AWS all simultaneously. They end up knowing nothing properly. Pick one, get comfortable, then move to the next.</p><p>Third — build real things. I learned more from setting up one actual CI/CD pipeline than I did from watching 20 YouTube tutorials. Get your hands dirty.</p><p>Fourth — document what you learn. Writing forces you to truly understand something. You can’t explain a concept clearly if you only half-understand it. That’s actually why I’m starting this blog.</p><p>Fifth — security is everyone’s responsibility. You don’t need a fancy title to start caring about security. Start small: scan your Docker images before pushing them. Review your IAM policies. Check for hardcoded credentials in your repos.</p><h3>If You’re a Linux Admin Reading This</h3><p>Here’s the path I’d recommend based on my own experience:</p><p>Start with what you know — your Linux and scripting skills are already solid. Build on that.</p><p>Learn Git if you haven’t already. Version control everything.</p><p>Pick up Docker next. Containerize a simple web application. Understand Dockerfiles, images, and containers.</p><p>Set up one CI/CD pipeline. GitHub Actions is the easiest to start with. Automate a simple build and deploy.</p><p>Get hands-on with AWS. Start with EC2, S3, and IAM. Don’t just read docs — actually build something.</p><p>Then add Terraform for infrastructure as code, and security tools like Trivy for container scanning.</p><p>This transition took me about 3–4 years while working full time. There’s no shortcut, but it’s absolutely doable if you stay consistent and keep building.</p><h3>What I’m Doing Next</h3><p>I’ve decided to share everything I learn going forward through this blog. Expect 3–4 posts from me every month — practical stuff, real-world scenarios, no theoretical fluff.</p><p>I’ll be writing about secure CI/CD pipelines, Docker security, AWS best practices, and the tools I use daily in my DevSecOps work.</p><p>If you’re on a similar path — transitioning from traditional IT into DevOps or DevSecOps — follow along. I’ll share both the wins and the mistakes.</p><p>Thanks for reading this far. If this resonated with you, drop a comment. I’d genuinely love to hear where you are in your journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83f77429f6b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>