CloudBurn Logo
CloudBurnHome
  • Cost estimation

    • AWS Simple Pricing CalculatorEstimate your AWS stack
    • IaC Cost EstimatorReview costs before merge

    Cost analysis

    • AWS Cost TreeSee where your spend went

    Cost Optimization

    • Unused resourcesFind resources to remove
    • Resource efficiencyImprove what you keep
    • Commitment savingsReview plans and reservations
    • Cost GovernanceBudgets, alerts, and tags

    Product

    • RoadmapWhat's coming next
    • ChangelogProduct updates
    • DocsGuides and reference
    • AboutWhy CloudBurn exists
  • Pricing
  • Blog
  • Tools
Join the CloudBurn Discord community
Join the waitlistWaitlist
Join the CloudBurn Discord community1.8k
Navigation
    • Overview
    • Installation
    • Configuration
    • GitHub Action
    • MCP Plugin
    • VS Code Extension
      • Scan IaC Files
      • Discover AWS
      • scan
      • discover
      • config
      • rules list
      • completion
      • estimate
      • Exit Codes
      • Output Formats
      • CI/CD Integration
      • Resource Explorer Setup
    • Overview
    • Connect an AWS Account
    • Set Up PR Cost Estimation
    • Plans and Billing
    • Workspaces and Members
    • AWS Cost Tree
      • Usage Assumptions
      • Examples
      • Unused Resources
      • Resource Efficiency
      • Commitment Savings
      • Cost Governance
    • Overview
    • Understanding Rules
      • CloudFront
      • CloudTrail
      • CloudWatch
      • AWS Config
      • Cost Explorer
      • Cost Guardrails
      • Cost Optimization Hub
      • DynamoDB
      • EBS
      • EC2
      • ECR
      • ECS
      • EKS
      • ElastiCache
      • ELB
      • EMR
      • KMS
      • Lambda
      • RDS
      • Redshift
      • Route 53
      • S3
      • SageMaker
      • Secrets Manager
      • Tagging
    • Overview
    • Installation
      • Static IaC Scan
      • Discovery Scan
      • CloudBurnClient
      • Types
      • Package Exports
      • Custom Config
      • AWS Credentials
    • Overview
    • Installation
    • Configuration
    • GitHub Action
    • MCP Plugin
    • VS Code Extension
      • Scan IaC Files
      • Discover AWS
      • scan
      • discover
      • config
      • rules list
      • completion
      • estimate
      • Exit Codes
      • Output Formats
      • CI/CD Integration
      • Resource Explorer Setup
    • Overview
    • Connect an AWS Account
    • Set Up PR Cost Estimation
    • Plans and Billing
    • Workspaces and Members
    • AWS Cost Tree
      • Usage Assumptions
      • Examples
      • Unused Resources
      • Resource Efficiency
      • Commitment Savings
      • Cost Governance
    • Overview
    • Understanding Rules
      • CloudFront
      • CloudTrail
      • CloudWatch
      • AWS Config
      • Cost Explorer
      • Cost Guardrails
      • Cost Optimization Hub
      • DynamoDB
      • EBS
      • EC2
      • ECR
      • ECS
      • EKS
      • ElastiCache
      • ELB
      • EMR
      • KMS
      • Lambda
      • RDS
      • Redshift
      • Route 53
      • S3
      • SageMaker
      • Secrets Manager
      • Tagging
    • Overview
    • Installation
      • Static IaC Scan
      • Discovery Scan
      • CloudBurnClient
      • Types
      • Package Exports
      • Custom Config
      • AWS Credentials
Loading documentation page
CloudBurn Logo
CloudBurn

Open-source AWS cost checks and an upcoming platform for cost estimation, optimization, and governance.

1.8k

Product

  • Pricing
  • Roadmap
  • Changelog
  • About
  • Blog
  • Waitlist
  • Docs
  • Contact

Free Tools

  • EC2 Pricing Calculator
  • S3 Pricing Calculator
  • Bedrock Pricing Calculator
  • Fargate Pricing Calculator
  • RDS Pricing Calculator
  • ECS Pricing Calculator
  • Aurora Pricing Calculator
  • All AWS pricing calculators →

CloudBurn Platform · early 2027

Price changes before you deploy. Fix the waste after.

Join now for 30% off, for as long as you keep your plan.

Join the waitlist

Two emails a month at most. Unsubscribe anytime. By signing up you agree to the privacy policy.

CloudBurn © 2026 | Terms & Privacy

Built with ❤️ by Towards the Cloud

  • Pricing
  • Blog
  • Tools
      • Overview
      • Installation
      • Configuration
      • GitHub Action
      • MCP Plugin
      • VS Code Extension
        • Scan IaC Files
        • Discover AWS
      • Overview
      • Installation
      • Configuration
      • GitHub Action
      • MCP Plugin
      • VS Code Extension
        • Scan IaC Files
        • Discover AWS
    CloudBurn CLI

    Quickstart: Discover AWS Resources

    Run your first CloudBurn discovery scan against live AWS resources using Resource Explorer.

    This tutorial walks you through scanning your live AWS account for cost optimization opportunities using CloudBurn's discovery mode.

    Prerequisites

    • CloudBurn CLI installed (see Installation)
    • AWS credentials configured (via ~/.aws/credentials, environment variables, or an IAM role)
    • Permissions to use AWS Resource Explorer in your account

    How discovery works

    Step 1: Set up Resource Explorer

    CloudBurn uses AWS Resource Explorer to list resources across your account. Run the init command to create the required indexes:

    cloudburn discover init
    

    This attempts to set up indexes across enabled regions and an aggregator, or reuses the existing setup. Check coverage and warnings because restricted permissions can leave only a local index. The CLI scans one region per run; an aggregator also enables multi-region scans through the SDK. See the Resource Explorer Setup guide for details.

    Step 2: Check status

    Verify that Resource Explorer is ready:

    cloudburn discover status
    

    Expected output when ready:

    +-----------------------+-----------+
    | Field                 | Value     |
    +-----------------------+-----------+
    | accessibleRegionCount | 17        |
    | aggregatorRegion      | eu-west-1 |
    | coverage              | full      |
    | indexedRegionCount    | 17        |
    | totalRegionCount      | 17        |
    +-----------------------+-----------+
    

    Indexing can take a few minutes after init. Re-run status until the regions you care about report indexed. See Output format for every field.

    Step 3: Run discovery

    Once the index is active, run the discovery scan:

    cloudburn discover
    

    CloudBurn queries Resource Explorer, enriches the resource data via hydrators, then evaluates all applicable rules. Findings are printed as a table.

    On an interactive terminal, progress goes to stderr while the run works through its catalog, datasets, and rules:

    discover: catalog ready with 412 resources from eu-central-1
    discover: datasets 7/18 loaded (aws-ec2-instances)
    discover: rules 12/78 (CLDBRN-AWS-EBS-1: triggered, findings: 3, provisional)
    

    Those rule lines are provisional, so treat the final table and exit code as the result. See Progress output.

    A run has a five-minute deadline. If your account is large enough to need longer, raise it with --timeout <seconds>:

    cloudburn discover --timeout 600
    

    Step 4: Scan a specific region

    To scan a specific region instead of your current region:

    cloudburn discover --region us-west-2
    

    Step 5: Filter by service

    To limit the scan to specific AWS services:

    cloudburn discover --service ec2,ebs
    

    Expected output:

    +----------+------------------+----------+-----------+---------+--------------+-----------------------+--------------+--------------+----------------------------------------------------+
    | Provider | RuleId           | Severity | Source    | Service | ResourceType | ResourceId            | AccountId    | Region       | Message                                            |
    +----------+------------------+----------+-----------+---------+--------------+-----------------------+--------------+--------------+----------------------------------------------------+
    | aws      | CLDBRN-AWS-EBS-1 | medium   | discovery | ebs     | ec2:volume   | vol-0abc123def456789a | 123456789012 | eu-central-1 | EBS volumes should use current-generation storage. |
    +----------+------------------+----------+-----------+---------+--------------+-----------------------+--------------+--------------+----------------------------------------------------+
    
    Evidence: 0 cached, 4 collected; 0 incomplete.
    Oldest observation: 2026-02-04T09:12:31.004Z
    

    The trailing summary tells you where the run's evidence came from. See Evidence freshness.

    Step 6: Re-run without paying for the same AWS calls

    Discovery caches the evidence it collects per user, so the next run reuses whatever is still fresh and complete. Rules and configuration are re-evaluated every time, so a cached run still reflects your current rule selection. Customer evidence is only reused inside a safe authorization scope: temporary credentials (an assumed role, SSO, or OIDC session) carry one, while long-term access keys need --cache-context naming the permission set they run under.

    # Reuse fresh evidence (the default) with temporary credentials
    cloudburn discover
    
    # Reuse fresh evidence with long-term access keys
    cloudburn discover --cache-context readonly-policy-v1
    
    # Collect everything again
    cloudburn discover --cache refresh
    

    Evidence cache covers the cache directory, the authorization context that long-term credentials need, and how to turn caching off.

    Step 7: Turn on an opt-in rule

    The default AWS Core preset leaves out the rules that need AWS setup CloudBurn will not do for you, such as Cost Optimization Hub enrollment:

    cloudburn discover --enabled-rules CLDBRN-AWS-COSTOPTIMIZATIONHUB-3
    

    --enabled-rules replaces the preset, so that run checks only the rule you listed. See Opt-in rules for the full list and what each one requires.

    What's next

    Resource Explorer SetupDetailed guide on configuring Resource Explorer indexes
    cloudburn discoverFull reference for all discover flags and subcommands
    Exit CodesUse exit codes in CI/CD pipelines
    ← PreviousScan IaC FilesNext →scan

    CloudBurn Platform · early 2027

    Price changes before you deploy. Fix the waste after.

    Join now for 30% off, for as long as you keep your plan.

    Join the waitlist

    Two emails a month at most. Unsubscribe anytime. By signing up you agree to the privacy policy.