Ccoster is a React-based AWS cost estimator that parses Terraform files, discovers AWS resources, and calculates monthly costs based on configurable usage inputs. It includes presets, category-level summaries, and region-aware pricing.
- Terraform
.tfparsing with automatic resource discovery - Category grouping with per-category cost totals
- Per-resource inputs (Lambda, DynamoDB, S3, API Gateway, CloudFront, Cognito, EC2, Route 53)
- Usage presets to auto-fill common workloads
- Region detection from Terraform with type-ahead region selection
- Real-time cost recalculation
- S3 + CloudFront deployment via Terraform
Ccoster only lists resources detected in your uploaded Terraform file. The estimator supports the following resource types when they exist in your configuration:
- AWS Lambda Functions
- AWS DynamoDB Tables
- AWS S3 Buckets
- AWS API Gateway (HTTP API)
- AWS CloudFront Distributions
- AWS Cognito User Pools
- AWS EC2 Instances
- Route 53 Records
- Upload a Terraform file.
- The app parses resources and lists them by category.
- You can adjust usage inputs per resource.
- Costs update in real time at both category and resource level.
- If the region is not detected from Terraform, you can select it manually.
Presets quickly fill input values for all detected resources:
- Light Traffic: minimal usage for small sites
- Standard Site: typical small production workload
- Growth App: higher traffic application
- Enterprise: large scale usage
You can still override any individual resource input after applying a preset.
npm install
npm run devApp runs at http://localhost:5173.
npm run buildTerraform is included to provision:
- S3 bucket for static hosting
- CloudFront distribution with OAC
- ACM certificate (us-east-1)
- Route 53 records for
ccoster.cirak.ca
cd terraform
cp terraform.tfvars.example terraform.tfvars
terraform init
terraform apply- The base pricing table uses
us-east-1. - Other regions apply a multiplier to the base pricing.
- For exact regional pricing, integrate AWS Pricing API.
- React 18
- Vite
- AWS (S3, CloudFront, Route 53, ACM)
- Terraform
MIT




