What is toil, and why should DevOps teams reduce it?

BeginnerConceptCulture & teams
Answer

In one line: Toil is manual, repetitive, automatable work that grows as the system grows and adds no lasting value — such as restarting services by hand or manually creating user accounts.

Google SRE's definition — toil is work that is:

  1. Manual — a person has to do it.
  2. Repetitive — done again and again.
  3. Automatable — a script or tool could do it.
  4. Tactical — reacting to something, not planned improvement.
  5. No lasting value — the system is no better afterwards.
  6. Grows with scale — twice the servers means twice the work.

Examples of toil:

  • Manually deploying to servers with a checklist.
  • Rotating certificates by hand every 90 days.
  • Restarting a pod every morning because of a memory leak.
  • Creating IAM users or namespaces from tickets.
  • Clearing disk space on servers when an alert fires.
  • Copying logs to a ticket for developers.

What is not toil: writing a design document, improving architecture, building automation, or doing a post-mortem — these have lasting value.

Why reduce it:

  • It doesn't scale — you can't hire people as fast as systems grow.
  • It causes mistakes (humans get tired and skip steps).
  • It burns people out and leaves no time for improvement.

How to reduce it:

  1. Measure it — log time spent on repeated tasks for a couple of weeks.
  2. Prioritise — automate the most frequent and most painful tasks first.
  3. Automate — scripts, pipelines, cert-manager, Kubernetes self-healing, autoscaling, self-service portals.
  4. Fix root causes — fix the memory leak instead of automating the restart.

Example: a team spent three hours a week creating dev environments from tickets. They built a Terraform module triggered from a pull request; now developers create environments themselves in 10 minutes.

Tip for interviews: share one piece of toil you automated and how much time it saved.

All DevOps Fundamentals questions

More on Culture & teams