Enterprise Linux upgrade factory
Enterprise Linux upgrade factory case study.
Scope & windows
All VMs (hypervisor lifecycle owned by a separate infra team).
Short non-production windows for testing; no user-visible downtime in production.
Role
Platform engineer.
Approach
EL9 baseline template (hardened/compliance-approved)
provision new VMs per environments (development, test, staging, production)
Ran installation/configuration playbooks per client/env/app.
Preflights via Ansible: OS checks as tasks; app checks via ad-hoc per application.
Rollback rehearsed in test with prod-like constraints.
Blue/green cutover behind LB/proxies; rollback = switch traffic to old VMs.
Results
No practical downtime in production upgrade
Rollback plan documented and tested.
No increase in alert noise post-cutover.
Confidentiality
Client artifacts can't be shared.
Examples are anonymized and recreated; configs, names, and IPs are placeholders.
Receipts use the actual stack and are representative.
Code snippets
VM Template preparation
Ansible - el9-template.yml
OS Preflight
Ansible - el9-preflight.yml
Application preflight (Ansible ad-hoc)
Shell - app-preflight.sh
Cutover (Ansible)
Ansible - cutover.yaml