Skip to main content

@webframp/aws/cost-report

v2026.04.22.1

Format AWS cost estimates into readable reports with breakdowns and recommendations.

Features

  • Formatted markdown tables for EC2, RDS, and spec-based estimates
  • Cost breakdowns by tag (owner, project)
  • Actionable recommendations for cost optimization
  • JSON output for programmatic analysis

Usage

The report runs automatically after @webframp/aws/cost-estimate methods. It can also be run standalone:

# Run after method execution (automatic)
swamp model method run cost-est estimate_from_spec --input-file spec.json

# Run standalone on existing model
swamp model report cost-est --json

Report Output

  • Resource tables with per-item costs
  • Tag-based cost allocation (by owner, project)
  • Recommendations for:
    • Right-sizing expensive resources
    • Windows to Linux migration opportunities
    • Multi-AZ considerations for RDS
    • Tagging gaps

Labels

Filter reports using labels:

swamp model method run <model> <method> --report-label cost

Repository

https://github.com/webframp/swamp-extensions

Labels

awscostfinopsreport

Contents

Quality score

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @webframp/aws/cost-report

@webframp/aws/cost-reportmethod
cost_report.ts

Format AWS cost estimates into readable reports with breakdowns and recommendations

costfinopsaws