Running the service
Run each service as its own locked-down user, with limits, a clean shutdown and honest health checks, so one fault stays contained.
- Required 1
- Recommended 5
Required
Run each service as its own user
OPS-32Run every service as a dedicated user with no login, that owns only its own data and can read only what it needs.
Recommended
Lock the service in a sandbox
OPS-33Use the sandbox your platform offers, so a hacked service cannot write outside its folders or gain new rights.
Set limits on memory and processes
OPS-34Give each service a ceiling for memory, processes and open files, so a leak stops that service and not the whole machine.
Shut down cleanly
OPS-35On a stop signal, stop taking new work, finish the requests in flight, close connections, then exit.
Keep manual operations work under half the time
OPS-69Tag every ticket for manual, repeated operations work, such as restarts, hand deploys and data fixes, and record the time it took. Keep it under 50% of the team's time, and automate the largest item each quarter.
Walk through a launch checklist before users arrive
OPS-38Before a new service or a large feature takes users, walk through one written checklist. Fix every open item, or give it an owner and a date.
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/operations/running-the-service">Agent Wranglers operations and observability playbook</a>. In code you write, add a comment next to it with the same link.