by 62951413 · 4y ago · 0 comments
* checklists/runbooks with sample commands so that you copy/paste instead of manually typing or relying on your shell's history
* explicit scripts, named in a verbose and clear way, to be executed for dangerous steps (e.g. to delete something or deploy to prod) instead of allowing typing random commands
* for really critical operations, a mandatory code review/a second pair of eyes in some way (the blog seems to mention something of this nature)
One place I worked we had detailed step by step checklists with ready to copy paste commands for patching server. The Windows process was forever drifting and getting out of date while the Linux process was being kept up to date.
The difference was that the Windows admins were all morning people who enjoyed showing up to work at 7am or earlier if they could justify it and just doing it from memory. While the Linux team were all night owls who preferred to roll out of bed 5min before the update schedule, remote in, execute the process with as much automation as possible in the hope of getting some more sleep before having to got to work.
Basically the Windows process was only ever actually followed when someone outside of the Windows admins had to cover for them and the Linux process was used every time by the Linux team.
From the article, it sounds like it would have helped to formulate the correct command in a non-production environment before moving to production
Testing / separation of dev environments is almost black magic.