DevOps Lesson 1: What is DevOps?
DevOps bridges the gap between development (writing code) and operations (running servers). The goal: ship software faster and more reliably.
The DevOps Lifecycle
// Plan → Code → Build → Test → Release → Deploy → Operate → Monitor
// Then repeat! (continuous loop)
// Key practices:
// CI/CD: automate build + test + deploy
// Infrastructure as Code: servers defined in files (Terraform, Ansible)
// Containers: package apps with all dependencies (Docker)
// Monitoring: know what's happening in production (Prometheus, Datadog)
// GitOps: infrastructure changes via git pull requests
Why DevOps Matters
// Old way (Waterfall):
// Dev writes code (3 months)
// Throws over wall to Ops
// Ops struggles to deploy (2 weeks of firefighting)
// Users wait forever for features
// DevOps way:
// Dev + Ops work together
// Small changes deployed continuously
// Netflix deploys hundreds of times per DAY
// Amazon deploys every 11.7 seconds
DevOps vs SRE vs Platform Engineering
DevOps: culture + practices. SRE (Site Reliability Engineering): Google’s approach to DevOps with reliability targets. Platform Engineering: build internal tools for developers. All three are in high demand and well-compensated.
🏋️ Practice Task
Research: what is the average salary for a DevOps Engineer in your region? Find 3 job postings. List the top 5 skills required. Note: most ask for Docker, Kubernetes, AWS/Azure/GCP, Linux, and CI/CD.
💡 Hint: Sites: levels.fyi, glassdoor, linkedin. DevOps roles often pay 20-40% more than pure dev roles.