One habit that saved me several times: keep a simple inventory (host, OS, runtime, web server, database, version) and attach the end-of-life date of each line, taken from endoflife.date. Review it once a month. The dangerous ones are never the OS, they are the forgotten runtimes: an old PHP, Node or Postgres major that quietly stopped getting security fixes while the box kept “working”.

Even a spreadsheet beats nothing, as long as someone owns it and the dates are checked automatically or on a calendar reminder.

What do you use: CMDB, a script that queries the EOL API, Renovate/Dependabot on containers, or just memory? And how far ahead do you start planning a migration?