Skip to content

5-Minute Quickstart

Get FinFocus running and see your first cost dashboard in just 5 minutes.

  • A Pulumi project (local or existing)
  • Terminal/command line access
  • ~5 minutes of time
Terminal window
curl -fsSL https://raw.githubusercontent.com/rshade/finfocus/main/scripts/install.sh | sh
Terminal window
git clone https://github.com/rshade/finfocus
cd finfocus
make build
export PATH="$PWD/bin:$PATH"

Verify installation:

Terminal window
finfocus --version

Navigate into any Pulumi project directory and run finfocus with no arguments:

Terminal window
cd your-pulumi-project
finfocus

FinFocus auto-detects your project and stack, exports the current state, and runs pulumi preview --json — then opens an interactive cost dashboard:

Resource Type Status Actual(MTD) Projected Recs
my-instance aws:ec2/instance:I... ✓ $12.40 $15.00 2
my-bucket aws:s3/bucket:Bucket ✓ $0.83 $1.00 0
my-db aws:rds/instance:I... ✓ $48.20 $50.00 1
Total Actual (MTD): $61.43 Projected Monthly: $66.00 Potential Savings: $45.00

Press Enter on any resource to drill into its cost breakdown and recommendations. Press q to quit.

Tip: finfocus overview and finfocus ov are aliases for the same command.

For scripts or CI/CD, use --plain --yes to skip the TUI and prompts:

Terminal window
# Plain text table
finfocus overview --plain --yes
# JSON for scripting
finfocus overview --output json --yes | jq .summary
# Projected costs only (no state required)
finfocus cost projected

Step 4: Filter by Provider or Type (1 minute)

Section titled “Step 4: Filter by Provider or Type (1 minute)”
Terminal window
# Only AWS resources
finfocus overview --filter provider=aws --plain --yes
# Only EC2 instances
finfocus overview --filter type=aws:ec2/instance:Instance --plain --yes

Create ~/.finfocus/config.yaml with hierarchical budgets:

cost:
scoped_budgets:
global:
amount: 5000.00
currency: USD
period: monthly
providers:
aws:
amount: 3000.00
tags:
- selector: 'team:platform'
priority: 100
amount: 2000.00

Budget status appears automatically in the overview. For projected costs:

Terminal window
finfocus cost projected --budget-scope=provider
finfocus cost projected --budget-scope=provider=aws