Cost Guardrails
Cost Guardrails scans an AWS account with 15 detectors and lists what you can save: idle or oversized resources, orphaned resources, cost spikes and trends, and reservations about to expire. Each finding shows the resource, the estimated monthly savings and the recommended action.
Before you start
- The Pro or Enterprise plan (the trial includes it). On Free the screen shows “Feature not available on your current plan”. See Plans & limits.
- An AWS connection in connected status (see Connect AWS) and, in your access profile, the Cost Guardrails section.
- Changing thresholds and exclusions requires the owner or admin role: for everyone else the Thresholds button does not appear.
- The Lambda memory detector needs Lambda Insights enabled on the functions.
1. Run a scan
- 1Go to Intelligence → Cost Guardrails. The subtitle reads “Proactive detection of spending patterns and savings recommendations”. With no scan yet it says “No scan has run yet. Use the "Scan" button to look for savings opportunities.”

- 2Check the strip above the results: “Analyzing <connection> (<account>) in region <region> — resources in other regions are not checked.” The scan uses the first connected AWS connection and only its region.
- 3Click Scan. While it runs the button reads Analyzing.... At the end you see Total Potential Savings, Active Findings and the list of findings.

The 15 detectors (the names are the ones the app shows when one of them fails):
| Detector | What it flags | Threshold (default) |
|---|---|---|
| Idle EC2 | Instances with average CPU and network traffic below the threshold | Idle CPU 5 %, under 10 KB of network per day, over Idle days (7) |
| Oversized EC2 | Instances in use with spare capacity; suggests a smaller type | Right-size CPU 20 %, over Right-size days (14) |
| Idle RDS | Databases with no connections | 0 connections over Idle days (7) |
| Unused EBS volumes | Volumes not attached to any instance | — |
| Unassociated Elastic IPs | Elastic IPs not associated with any resource | — |
| Orphaned snapshots | Snapshots no AMI references, older than the threshold | Snapshot age 90 days |
| Cost spikes | A service whose cost of the last 7 days rose against the previous 7; a single-day charge is reported apart and not projected as monthly savings | Spike 20 % |
| Old Lambda versions | Old published versions that take storage | — |
| Idle load balancers | Load balancers with no requests | 0 requests over Idle days (7) |
| Rising trend | A service whose spend grew four weeks in a row | Weekly trend 20 % |
| Growing storage | S3, EBS and snapshots that grew four weeks in a row (it recommends reviewing lifecycle policies; it does not check them) | Storage growth 10 % weekly |
| Inter-region transfer | Last week of inter-region transfer, projected to a month | US$ 50/month |
| NAT Gateway traffic | Last week of NAT Gateway data processing, projected to a month | US$ 50/month |
| Lambda memory | Functions whose peak memory used is below the threshold (Lambda Insights) | Lambda memory used 50 % |
| Expiring reservations and Savings Plans | EC2 and RDS Reserved Instances and Savings Plans about to expire | 30 days |
Trend, storage, transfer, NAT and expiring-reservation findings do not carry an estimated saving (they show $0): they point at something growing or about to change, not at a resource to turn off.
2. Review a finding
- 1Filter by category with the buttons above the list: All, Idle Resources, Right-Sizing, Cost Spikes, Orphaned Resources, Reservations.
- 2Click a finding. Finding Details shows Resource, Category, Estimated Savings, Confidence (
high,mediumorlow), the description, Detected and Recommended Action.
- 3Close it on each row with I fixed it (the resource was already stopped or deleted) or Dismiss (you are not interested). Only I fixed it is measured afterwards: the app confirms “Marked as resolved. Actual savings can be measured starting <date>…”, and the saving shows up in Intelligence → Savings Proposals, under Verified savings.

3. Thresholds and exclusions (owner or admin)
- 1Click Thresholds. The Threshold Settings dialog opens.

- 2Move the 12 sliders: Idle CPU (%), Right-size CPU (%), Spike (%), Snapshot age (days), Idle days, Right-size days, Weekly trend (%), Storage growth (% weekly), Inter-region transfer (US$/month), NAT Gateway (US$/month), Lambda memory used (%) and Expiring reservations (days). Each one explains under it whether raising or lowering it detects more.
- 3In Exclude services (comma separated) write services or resource types, for example
EC2, Amazon CloudFront. A finding is excluded if its service or resource type contains that text (case does not matter). - 4In Exclude by tag (key or key=value, comma separated) write, for example,
env=dev, keelpilot-ignore. “Applies to tagged resources: EC2, EBS, snapshots, Elastic IPs and RDS. Excluded resources drop out on the next scan.” - 5Click Save and scan again. Up to 50 entries per list. The values apply to the whole organization.
With Google Cloud
- With a Google Cloud connection, the scan uses Google’s Recommender (idle VMs, disks and IPs, machine types, idle or oversized Cloud SQL, commitments and Cloud Run), orphaned snapshots, and the cost trend detectors over the billing export. The region is “all zones with resources in the project”.
- It needs the Savings module (
roles/recommender.viewerandroles/compute.viewer) and, for the cost detectors, the Costs module. See Connect Google Cloud. - Recommender allows 100 reads per day per organization without a Google support plan. KeelPilot caches results for 6 hours and caps calls per connection; when the quota runs out the scan comes out partial and does not mark anything as stale.
- Savings from a resolved finding are measured on the billing export, like with AWS. Commitments (CUD) and exports in a currency other than USD are not measured.
How to check it works
- After Scan, the list shows findings or “The scan finished and found no savings opportunities in <region> with the current thresholds.”
- No yellow “Incomplete scan” warning: every detector could run.
- After I fixed it, the finding leaves the list and the confirmation shows the date from which the saving can be measured.
Troubleshooting
“Incomplete scan: N of M checks could not run” and, on a detector, “— the role is missing the permission …”.
Cause: The AWS role of the connection cannot read what that detector needs. The results are partial.
Fix: Add the permission shown to the KeelPilotAccessRole role in the AWS account and scan again.
“The scan finished and found no savings opportunities in <region>…” but you know there are idle resources.
Cause: The scan only looks at the region of the connection.
Fix: Check the region in the strip above the results. To analyze another region you need a connection in that region (see Connect AWS).
The Thresholds button does not appear.
Cause: Your role is not owner or admin.
Fix: Ask an owner or admin of the organization to change the thresholds.
The Lambda memory detector never reports anything.
Cause: It uses the memory metrics of Lambda Insights; without them there is nothing to compare.
Fix: Enable Lambda Insights on the functions you want to analyze.
“Feature not available on your current plan”.
Cause: Cost Guardrails is part of Pro and Enterprise.
Fix: Upgrade the organization's plan (see Plans & limits).