Skip to content

Case Studies

Every earlier section teaches one concept at a time. These case studies put several together the way a real production task actually requires — with a failure scenario and its fix included, not just the happy path.

Read in this order

  1. Rolling Nginx Deployment — serial, handlers, and a canary rollout across 10 servers
  2. Multi-Environment Inventory — dev/staging/production isolation done correctly
  3. Linux Server Hardening — SSH lockdown without locking yourself out, firewall, automatic updates, fail2ban, and verifying effective state
  4. User and SSH Access — per-engineer accounts and keys, least-privilege sudo, and one-line offboarding
  5. Vault Secrets Case Study — per-environment vault IDs, a CI pipeline that never exposes the password, and proving nothing leaks
  6. Dynamic Inventory Case Study — AWS EC2 inventory grouped by tag, least-privilege IAM, and catching tag drift
  7. API Automation with URI — idempotent service registration with retries and body-level error handling

Next

Continue to Troubleshooting.