We are all drowning in work and automation seems to be our only salvation. But sometimes our best intentions lead to horribly broken systems that need manual intervention or are outright unmaintainable. How does that happen and what can we do to prevent that? In this talk I want to show some mental models and frameworks to create good automation systems that support our teams and reduce the need for manual actions.
OSDC 2019 | Manual work is a Bug! by Martin Schurz
1. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 1/40
MANUAL WORK IS A BUG!MANUAL WORK IS A BUG!
2. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 2/40
T-Systems
15 years experience
monitoring
automation
databases
performance & debugging
ABOUT MEABOUT ME
3. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 3/40
NOW YOU!NOW YOU!
4. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 4/40
HAVE YOU:HAVE YOU:
done something "just one time"?
5. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 5/40
HAVE YOU:HAVE YOU:
done the same thing again?
6. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 6/40
HAVE YOU:HAVE YOU:
known in advance, that this would happen?
7. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 7/40
EVERY ONE OF YOUR MANUAL TASKSEVERY ONE OF YOUR MANUAL TASKS
SHOULD CREATE ARTIFACTS FORSHOULD CREATE ARTIFACTS FOR
AUTOMATION!AUTOMATION!
8. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 8/40
BUT SOMETIMES THIS DOES NOT HAPPEN ...BUT SOMETIMES THIS DOES NOT HAPPEN ...
10. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 10/40
WHY?WHY?
Time is a problem
11. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 11/40
WHY?WHY?
Time is a problem
And sometimes knowledge
12. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 12/40
WORKING IN SMALL BATCHESWORKING IN SMALL BATCHES
13. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 13/40
WORKING IN SMALL BATCHESWORKING IN SMALL BATCHES
1. DOCUMENT1. DOCUMENT
14. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 14/40
WORKING IN SMALL BATCHESWORKING IN SMALL BATCHES
2. AUTOMATION EQUIVALENTS2. AUTOMATION EQUIVALENTS
16. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 16/40
WORKING IN SMALL BATCHESWORKING IN SMALL BATCHES
3. AUTOMATION3. AUTOMATION
17. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 17/40
WORKING IN SMALL BATCHESWORKING IN SMALL BATCHES
4. SELF-SERVICE / AUTOMATED SYSTEMS4. SELF-SERVICE / AUTOMATED SYSTEMS
18. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 18/40
As you work, you have a choice:
Will each manual task create artifacts
that allow you to accelerate future work,
or do you squander these opportunities
and accept the status quo?
19. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 19/40
I'M DOING THAT!I'M DOING THAT!
I SHOULD BE FINE THEN ...I SHOULD BE FINE THEN ...
21. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 21/40
NAIVE APPROACHNAIVE APPROACH
automate the easy stuff
humans take care of the rest
in the end you need impossibly smart people to
understand your system
22. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 22/40
COMPENSATE FOR DEFICIENCIESCOMPENSATE FOR DEFICIENCIES
computers are good for repetetive work
humans take care of creativity
everyone does, what he can do best
23. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 23/40
SHIFT YOUR FOCUSSHIFT YOUR FOCUS
rst focus on your basic task
over time learn how it is connected to the ecosystem
now implement an automation for this tasks
24. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 24/40
SHIFT YOUR FOCUSSHIFT YOUR FOCUS
tasks are automated once fully understood
all learning is encapsulated in the automation
future learning is problematic
focus on the bigger-picture
26. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 26/40
CONCLUSIONCONCLUSION
1. Only that should be automated what can be done
manually.
2. What has been automated should always be doable
manually.
3. What happens, even when automated, should not be
hidden from the admin.
27. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 27/40
NO:NO:
YES:YES:
Isn't it beautiful? We have no idea how it
works
Isn't it beautiful how we learn and grow
together, sharing control over the system
28. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 28/40
SPOTTING THE DIFFERENCE IS HARDSPOTTING THE DIFFERENCE IS HARD
29. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 29/40
PITFALLSPITFALLS
30. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 30/40
"TOMORROW""TOMORROW"
AKA THE WORST POSSIBLE TIMEAKA THE WORST POSSIBLE TIME
31. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 31/40
USE THE TEAM,USE THE TEAM,
LUKE!LUKE!
32. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 32/40
THE LONE HEROTHE LONE HERO
34. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 34/40
While automating stuff, always remember this:
CODE IS A WAY YOU TREAT YOUR COWORKERS.CODE IS A WAY YOU TREAT YOUR COWORKERS.
35. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 35/40
GET THE RIGHT HELPGET THE RIGHT HELP
36. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 36/40
ASKING QUESTIONS IS GOOD, RIGHT?ASKING QUESTIONS IS GOOD, RIGHT?
37. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 37/40
MANUAL WORK IS A BUG!MANUAL WORK IS A BUG!
YOU SHOULD TREAT IT THAT WAYYOU SHOULD TREAT IT THAT WAY
38. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 38/40
THANKS!THANKS!
QUESTIONS?QUESTIONS?
40. 20.5.2019 Manual Work is a Bug!
localhost:55765/?print-pdf-now#/ 40/40
REFERENCESREFERENCES
Manual Work is a Bug
The Small Batches Principle
Automation Should Be Like Iron Man, Not Ultron