Interview Prep/Linux/Patching, Automation & Golden Images

How do you plan an OS major-version upgrade (e.g. Ubuntu 22.04 → 24.04)?

AdvancedProductionPatching, Automation & Golden Images
Answer

Prefer replacement over in-place: build a new golden image on the new release, run the app test suite, and roll new instances in while draining old ones. Check for breaking changes (OpenSSL 3, Python version, cgroup v2, iptables→nftables, removed packages, sshd defaults). If in-place is unavoidable (do-release-upgrade, or leapp for RHEL 8→9), snapshot first, run the pre-upgrade report (leapp preupgrade), and upgrade one canary at a time.

All Linux questions Roadmap: Linux

More on Patching, Automation & Golden Images