Skip to main content

Command Palette

Search for a command to run...

DevSecOps Made Simple: My Day 2 Learnings πŸ“Šβœ¨

Published
β€’4 min read
DevSecOps Made Simple: My Day 2 Learnings πŸ“Šβœ¨

πŸš€ Day 2 of My DevSecOps Journey

A Simple & Friendly Breakdown for Everyone

Today, I officially started my journey into DevSecOps β€” a field that combines Development, Security, and Operations. If that sounds technical, don’t worry! I’ll keep this article simple, visual, and easy to follow.

Let’s jump into what I learned on Day 2πŸ‘‡

🧩 What is DevSecOps?

(Visual Explanation)

Imagine building an app like running a restaurant:

πŸ‘¨β€πŸ³ Developers β€” cook the food
πŸ§‘β€πŸ’Ό Operations β€” serve the food
πŸ›‘οΈ Security β€” ensure hygiene & safety

Now imagine all three working together from the start.
That’s DevSecOps β†’ fast, safe, reliable software.

πŸ” What I Learned Today


1️⃣ DevOps vs DevSecOps β€” Simple View

DevOps        = Dev + Ops  
DevSecOps     = Dev + Sec + Ops (Security added early)

Think of DevSecOps as β€œDevOps with built-in safety.”


2️⃣ How a DevOps Project Works (Visual Flow)

A typical software workflow looks like this:

Code  
   ↓  
Compilation βœ”οΈ  
   ↓  
Gitleaks πŸ” (Check secrets)  
   ↓  
SonarQube πŸ“Š (Code quality & bugs)  
   ↓  
Trivy πŸ›‘οΈ (Dependency scan)  
   ↓  
SBOM πŸ“„ (Ingredients list of the app)  
   ↓  
HashiCorp Vault πŸ”’ (Store secure info)  
   ↓  
Trivy 🐳 (Container image scan)  
   ↓  
Penetration Testing πŸ•΅οΈβ€β™‚οΈ

Every arrow is like a quality checkpoint on a production line.


3️⃣ Key Features of DevOps (Visual Highlights)

FeatureWhat it Means
🀝 CollaborationTeams work together smoothly
πŸ”„ Continuous IntegrationCode merged frequently
πŸš€ Continuous DeploymentUpdates shipped faster
βš™οΈ AutomationFewer manual tasks
πŸ—οΈ Infrastructure as CodeSystems created using code
πŸ“ˆ Monitoring & LoggingTrack performance & issues
🧩 MicroservicesApps broken into smaller parts

4️⃣ Project Environments (Visual Map)

Here’s how software moves before reaching customers:

DEV πŸ§ͺ β†’ QA πŸ” β†’ Pre-Prod πŸ› οΈ β†’ PROD 🌍 β†’ DR πŸ†˜
  • DEV β€” developers test

  • QA β€” deeper testing

  • Pre-Prod β€” final rehearsal

  • Prod β€” real users

  • DR β€” backup environment

Not all companies have all of these β€” some choose based on cost.


5️⃣ Deployment Strategies

When new software is released, there are different ways to replace the old version with the new one. Here’s the beginner-friendly breakdown:


πŸ” Recreate Deployment

How it works:
Old version stops β†’ New version starts

Visual:

[Old ❌] β†’ (Downtime) β†’ [New βœ”οΈ]

Downtime: High ❗
Effect on users: Service unavailable for a while
Good for: Simple apps, low traffic systems


πŸ”„ Rolling Update

How it works:
New version replaces old version one piece at a time

Visual:

Old ◼️◼️◼️◼️ β†’ New 🟩🟩🟩🟩 (gradual)

Downtime: Very Low
Effect on users: Almost none
Widely used in modern cloud apps


πŸ”΅πŸŸ’ Blue-Green Deployment

How it works:
Two versions run together β†’ Switch traffic instantly

Visual:

Blue (old) ←→ Green (new)
Traffic switches instantly

Downtime: Near Zero
Effect on users: Smoothest experience
Cost: Higher (because two environments run at once)


🐀 Canary Deployment

How it works:
Release to a small % of users β†’ then expand if stable

Visual:

5% β†’ 20% β†’ 50% β†’ 100%

Downtime: None
Effect on users: Very safe rollout
Best for: Large apps, customer-facing platforms


πŸ‘₯ A/B Testing

How it works:
Different user groups get different versions at the same time

Visual:

Group A β†’ Version A  
Group B β†’ Version B

Purpose: Test what users like
Downtime: None


πŸ‘€βž‘οΈπŸ‘€ Shadow Deployment

How it works:
New version receives copied traffic but isn’t visible to users

Visual:

Real Users β†’ Old Version  
Shadow Copy β†’ New Version (hidden)

Downtime: None
Best for: Safely testing performance at scale

🎯 Day 2 Takeaway

DevSecOps is all about combining:
βœ… Speed
βœ… Security
βœ… Collaboration
βœ… Reliability

DevSecOps may sound complex, but the goal is simple:

✨ Build software that is fast, safe, and dependable β€” from start to finish.

I'm excited for this journey and will share my learning every day!. Today’s learning gave me a strong foundation of how modern teams build, test, and deploy software safely and efficiently.

I’ll be sharing my Day 3 learnings tomorrow β€” Stay Tuned 🫑

More from this blog

D

DevSecOps - Zero To Hero

19 posts

DevSecOps Made Simple: My Day 2 Learnings πŸ“Šβœ¨