Skip to content

Infrastructure Cost Components

This page breaks down the main infrastructure cost components for 4pass. For high-level summary and pricing, see Summary & Pricing.


Worker EC2 (Variable)

Item Spec Price
Instance r7g.xlarge (Graviton, 4 vCPU, 32 GB) $0.258/hr
Capacity ~60 tasks per instance 64 CPU, 384-1024 MB each
OOM protection 1024 MB hard limit Container killed, EC2 safe

API EC2 (Semi-Fixed)

Scale Instance Count Tasks Monthly
1-500 m7g.large 1 2 $74
500-1K m7g.large 2 4 $149
1K-5K m7g.xlarge 2 8 $298
5K-10K m7g.xlarge 4 16 $596

ElastiCache Valkey Serverless

Auto-scales storage and compute. No instance management.

Scale Storage ECPU/s Monthly
1-500 1 GB 1K-5K $91-100
500-1K 5 GB 10K ~$460
1K-5K 5 GB 50K ~$500
5K-10K 10 GB 100K ~$1,000
50K+ Cluster mode $2,000+

RDS Aurora Serverless v2 + Proxy

Auto-scales ACUs based on load. No instance sizing.

Scale Capacity Multi-AZ Replicas Monthly
1-500 0.5-2 ACU No 0 $55
500-1K 2-4 ACU Yes 0 $300
1K-5K 4-8 ACU Yes 1 $600
5K-10K 8-16 ACU Yes 1 $850

Lambda Orchestrator

Function Monthly Cost
worker_control ~$3
order_tasks ~$2
maintenance + worker ~$3
pool_manager ~$0.50
Total ~$8.50

Other Fixed Costs

Service Monthly
ALB $16-365 (scales with LCU)
VPC Endpoint $28
WAF $5-50
Secrets Manager $1.20
ECR $5-20
SES $1-780 (scales with users)
CloudWatch $10-50
Route 53 + ACM $1

Next: Projections & Profitability for tiered cost estimates and breakeven.