5-Minute Quickstart
Get FinFocus running and see your first cost dashboard in just 5 minutes.
Prerequisites
Section titled “Prerequisites”- A Pulumi project (local or existing)
- Terminal/command line access
- ~5 minutes of time
Step 1: Install (1 minute)
Section titled “Step 1: Install (1 minute)”Option A: Install script (recommended)
Section titled “Option A: Install script (recommended)”curl -fsSL https://raw.githubusercontent.com/rshade/finfocus/main/scripts/install.sh | shOption B: From source
Section titled “Option B: From source”git clone https://github.com/rshade/finfocuscd finfocusmake buildexport PATH="$PWD/bin:$PATH"Verify installation:
finfocus --versionStep 2: Launch the Overview (1 minute)
Section titled “Step 2: Launch the Overview (1 minute)”Navigate into any Pulumi project directory and run finfocus with no arguments:
cd your-pulumi-projectfinfocusFinFocus 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 Recsmy-instance aws:ec2/instance:I... ✓ $12.40 $15.00 2my-bucket aws:s3/bucket:Bucket ✓ $0.83 $1.00 0my-db aws:rds/instance:I... ✓ $48.20 $50.00 1
Total Actual (MTD): $61.43 Projected Monthly: $66.00 Potential Savings: $45.00Press Enter on any resource to drill into its cost breakdown and recommendations.
Press q to quit.
Tip:
finfocus overviewandfinfocus ovare aliases for the same command.
Step 3: Non-interactive Output (1 minute)
Section titled “Step 3: Non-interactive Output (1 minute)”For scripts or CI/CD, use --plain --yes to skip the TUI and prompts:
# Plain text tablefinfocus overview --plain --yes
# JSON for scriptingfinfocus overview --output json --yes | jq .summary
# Projected costs only (no state required)finfocus cost projectedStep 4: Filter by Provider or Type (1 minute)
Section titled “Step 4: Filter by Provider or Type (1 minute)”# Only AWS resourcesfinfocus overview --filter provider=aws --plain --yes
# Only EC2 instancesfinfocus overview --filter type=aws:ec2/instance:Instance --plain --yesStep 5: Set Up Budgets (Optional)
Section titled “Step 5: Set Up Budgets (Optional)”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.00Budget status appears automatically in the overview. For projected costs:
finfocus cost projected --budget-scope=providerfinfocus cost projected --budget-scope=provider=awsWhat’s Next?
Section titled “What’s Next?”- Full overview docs: Overview Command
- Analyzer setup: Pulumi Analyzer Setup — see costs
inline during
pulumi preview - User Guide: User Guide
- CLI reference: CLI Commands
- Installation details: Installation Guide