⚙️ Week 6: CI/CD + DevOps Lifecycle

Day 1: Understanding DevOps Culture

⏱ Duration: 5 Hours

📚 Learning Objectives

  • Understand what DevOps is and isn't
  • Compare traditional SDLC vs DevOps approach
  • Learn DevOps principles and practices
  • Understand the DevOps lifecycle

📖 Core Concepts (2 Hours)

What is DevOps?

DevOps is a culture and set of practices that brings development and operations teams together to deliver software faster and more reliably.

  • Culture: Collaboration between Dev and Ops
  • Automation: Automate repetitive tasks
  • Measurement: Track everything
  • Sharing: Knowledge sharing and transparency

Traditional SDLC vs DevOps

Traditional (Waterfall): Plan → Design → Develop → Test → Deploy → Maintain [Weeks/Months between stages, Ops gets code at end] DevOps (Continuous): ┌─────────────────────────────────────┐ │ Plan → Code → Build → Test │ │ ↑ ↓ │ │ Monitor ← Operate ← Deploy │ └─────────────────────────────────────┘ [Continuous cycle, fast feedback]

DevOps Lifecycle

1. Plan - Agile planning, user stories 2. Code - Development, version control 3. Build - Compile, package 4. Test - Automated testing 5. Release - Prepare for deployment 6. Deploy - Push to production 7. Operate - Run and manage 8. Monitor - Track metrics, logs

🔬 Hands-on Lab (2.5 Hours)

Activity: DevOps Assessment

  • Identify manual processes in a typical workflow
  • List what could be automated
  • Design improvement plan

✅ Day 1 Checklist

  • Understand DevOps culture
  • Know the DevOps lifecycle
  • Can explain benefits of DevOps