- Installation
- Quick Start
- Examples
- Supported Cloud Resources
- CLI Commands
- Configuration
- Integration Tests
- Contributing
- Reporting Issues
- License
npx @cloudcent/clinpm install -g @cloudcent/clicurl -fsSL https://raw.githubusercontent.com/OverloadBlitz/cloudcent-cli/main/install.sh | bashirm https://raw.githubusercontent.com/OverloadBlitz/cloudcent-cli/main/install.ps1 | iexcloudcent --help
cloudcent initRun cloudcent init to authenticate through your browser.
This will generate a free API key and store it at:
~/.cloudcent/config.yaml
This API key is used to access the my pricing API.
No cloud or Pulumi account is required.
Note: For Pulumi projects, only Python is currently supported.
cloudcent diagram init aws-saas-example.drawio
cloudcent diagram estimate aws-saas-example.drawio
TBD
cloudcent pulumi estimate
| Provider | Services | Pricing Model | Data Source |
|---|---|---|---|
| AWS | EC2, EBS, ECS, S3, ApiGateway, AppSync, DynamoDB, Lambda, SNS | OnDemand, Reserved, SavingPlan, Spot | AWS Pricing API |
| Azure | Virtual Machines | OnDemand, Reserved, SavingPlan (with/without Azure Hybrid Benefit) | Azure Pricing Calculator |
| GCP | WIP | OnDemand, CommittedUseDiscount, Preemptible | GCP Pricing SDK v1 |
| OCI | WIP | OnDemand (PAYG) | OCI Cost Estimator |
cloudcent # Show help
cloudcent init # Authenticate via browser
cloudcent diagram init <file> # Scaffold a YAML spec next to the diagram
cloudcent diagram estimate <file> # Estimate costs from the diagram's spec
cloudcent pulumi estimate # Estimate costs from pulumi codes
cloudcent history # Show past queries
cloudcent cache stats # Show cache statistics
cloudcent cache clear # Clear cache and history
cloudcent metadata refresh # Download latest pricing metadata
cloudcent config # Show current configuration
Config is stored at ~/.cloudcent/config.yaml
Data files:
~/.cloudcent/metadata.json.gz— compressed pricing metadata~/.cloudcent/cloudcent.db— SQLite database (history, cache)
Currently, I am using the following repositories as integration test cases:
These test cases are located under:
/integration_tests/testdata
Under the /integration_tests/snapshots directory, I store the expected total pricing results, which were manually adjusted based on the official cloud cost estimators.
The run-tests.sh script is for comparing the CLI output against the saved snapshots.
I am still working on adjusting and fixing test cases
- Please create an issue first if you want to propose a change or fix.
- I usually don’t create PRs in this repo. I use a separate private repo for creating, reviewing, and merging PRs, but feel free to open PRs here.
- Feel free to use AI but need to pass integration tests before raising prs
- Rebase against main branch and squash the commits before merging
The 0.0.2-beta-legacy branch includes a deprecated TUI for querying cloud costs across providers. It is no longer supported due to changes in the pricing data model, but remains noted here as an honorable mention.
This CLI also has a TUI mode, I just disabled it for now and am still working on it

