Creating Runbooks
Create runbooks to document your team’s operational procedures in a clear, executable format.
Getting Started
Access Runbooks
- Navigate to your project
- Click Runbooks in the sidebar
- Click Create Runbook
Basic Setup
Enter the essential information:
Title
- Use a clear, descriptive name
- Include the service or system
- Example: “Restart Payment Service”
Description
- Brief explanation of what this runbook does
- When to use it
- Any warnings or prerequisites
Status
- Start with Draft while building
- Change to Published when ready for use
![Placeholder: Create Runbook Form with Title, Description, and Status Fields]
Adding Steps
Create Your First Step
- Click Add Step
- Give the step a clear title
- Write detailed instructions
- Click Save Step
![Placeholder: Add Step Dialog with Rich Text Editor]
Writing Good Instructions
Keep each step focused:
Step 1: Check Current Service Status
Instructions:
1. SSH to the production server
2. Run: systemctl status payment-service
3. Note if the service is active or failed
4. Check the last log entries shown Using Rich Text
The editor supports:
- Bold for emphasis
Code formattingfor commands- Numbered and bullet lists
- Links to documentation
Decision Steps
Simple Branching
Create decision points that route to different steps:
Step 5: Is the service running?
Check the status from Step 1.
If YES: Continue to Step 6
If NO: Skip to Step 10 (Restart Procedure) Setting Up Navigation
- Create all your steps first
- Note the step numbers
- Add “Go to step X” instructions
- Test the flow makes sense
Step Management
Reordering Steps
- Drag steps to reorder them
- Numbers update automatically
- Remember to update any “Go to” references
![Placeholder: Runbook Editor Showing Draggable Steps with Reorder Handles]
Editing Steps
- Click the edit icon on any step
- Make your changes
- Save the step
Deleting Steps
- Click the delete icon
- Confirm deletion
- Update any references to that step
Testing Your Runbook
While in Draft
- Use Execute to test the flow
- Follow each step yourself
- Check decision routing works
- Make edits as needed
Getting Feedback
- Have a teammate test it
- Note any confusing parts
- Update instructions for clarity
- Add missing information
Publishing
Ready to Publish
When your runbook is tested and complete:
- Click Edit Runbook
- Change status to Published
- Save changes
After Publishing
- Runbook appears in the main list
- Team members can execute it
- You can still edit if needed
- Consider archiving old versions
Best Practices
Keep Steps Simple
- One main action per step
- Clear success criteria
- Include exact commands
- Note expected output
Be Specific
- Don’t say “check the logs”
- Say “check /var/log/app.log for errors”
- Include file paths
- Specify exact values
Plan for Problems
- What if a step fails?
- Include troubleshooting tips
- Know when to escalate
- Have rollback steps
Maintain Your Runbooks
- Review after incidents
- Update changed procedures
- Archive outdated ones
- Get team feedback
Common Examples
Service Restart
- Check current status
- Notify team of restart
- Stop service gracefully
- Wait for connections to close
- Start service
- Verify it’s running
- Check key functionality
Deployment Rollback
- Identify the issue
- Find last working version
- Take service offline
- Deploy previous version
- Restart service
- Verify functionality
- Notify stakeholders
Database Maintenance
- Check current metrics
- Set maintenance mode
- Run maintenance tasks
- Verify completion
- Exit maintenance mode
- Check performance
Learn more