Remediations (Runbooks)
Runbooks let you take quick, automated actions to optimize resources in your AWS accounts based on cost-saving opportunity tickets. These scripts are triggered from the OneLens UI and help you resolve issues flagged by policy violations with minimal manual effort.
How Runbooks Work
Each runbook is a script designed to fix a specific issue in your AWS environment. Once you install a runbook in your account, you can trigger it whenever needed.
Here’s what happens when you run one:
You trigger the runbook—usually from a ticket in OneLens.
OneLens sends the request to the change manager in your account.
The change manager runs the script step by step and applies the fix.
Access Scope
OneLens itself does not have permissions to perform actions defined in runbooks. All execution is handled within your account by the change manager. Runbooks use only the minimal permissions required to make the intended changes and remain confined to your environment.
Finding the Right Runbook
To access the Runbook page:
Log in to the OneLens UI.
Open the Runbook section from the left sidebar.
You’ll see a page like the one below, with key controls highlighted:
Number References
Search
Use the search bar to quickly find Runbooks by name or keyword.
Filters
Use filters to quickly find the right runbook based on what you're trying to resolvez;
Risk
Select the runbooks based on the severity of the issue they address:
Low: For low-impact fixes
Medium: For moderately actions
High: For critical remediations
Operation
Filter runbooks by the kind of change they make:
Creation
Updation
Deletion
Service
Select the runbooks based on the service. Following are the services available:
CloudWatch, EBS, EC2, ElastiCache, Elastic Load Balancing, IAM, RDS, VPC
Installing a Runbook
Executing a Runbook
You trigger a runbook directly from a ticket.
Go to the Tickets page.
Click the three-dot menu on the right side of the ticket.
Choose Execute Runbook.
Pick the runbook you want to run.
Click Run to start the runbook execution.
Last updated