---
name: cloud-cost-optimization-and-idle-resource-auditor
description: "Audits cloud environments weekly for unattached storage, idle database instances and orphaned compute resources, then compiles cost-saving recommendations. Use when cloud spend needs review."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, Slack, Spreadsheet."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/cloud-cost-optimization-and-idle-resource-auditor/"
  kind: workflow
  hermes:
    tags: ["finops", "cloud", "cost", "devops", "infrastructure"]
    category: ops
    requires_toolsets: ["terminal", "file", "connections"]
---
# Cloud cost optimization and idle resource auditor

Identify unused infrastructure, calculate potential savings, and propose safe de-provisioning plans

## When to use

Scans cloud environments and usage records on a routine basis to identify unattached storage, idle database instances, and orphaned compute resources. Compiles cost-saving recommendations into an actionable audit sheet and prepares de-provisioning notifications for resource owners before taking any cleanup action.

## Inputs

- `cloud_environment_scope`: Cloud accounts, environments, or regions to scan for idle and unused resources.
- `billing_records`: Spreadsheet or billing export used to compare usage against cost records.
- `idle_thresholds` (optional): Optional thresholds defining when a resource is considered idle or oversized.

## Steps

1. On a schedule: Weekly cloud audit trigger (Weekly scheduled audit of cloud resource metrics and billing records.). Schedule: `0 0 * * 1`
2. Inspect resource metrics for idle state
3. Request approval before decommissioning

## Instructions

Query infrastructure metrics via terminal commands and compare them against billing records in your spreadsheet. When an idle or oversized resource is detected, record its identifier, owner tag, and projected monthly savings. Draft a cleanup proposal and ask for explicit human approval via Slack before executing any decommission, termination, or resource deletion commands.

## Approvals

- Human approval in Slack before decommissioning any resource.
- Human approval in Slack before terminating any resource.
- Human approval in Slack before deleting any resource.

## Output

Audit sheet listing idle or oversized resources, owner tags, and projected monthly savings. (format: spreadsheet)

## Source

Summarized in our own words from [openops: The batteries-included, No-Code FinOps automation platform, with the AI you trust.](https://github.com/openops-cloud/openops) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/cloud-cost-optimization-and-idle-resource-auditor/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
