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