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 r6i.large (2 vCPU, 16 GB) $0.152/hr
Capacity ~30 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 m6i.large 1 2 $88
500-1K m6i.large 2 4 $176
1K-5K m6i.xlarge 2 8 $350
5K-10K m6i.xlarge 4 16 $700

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 PostgreSQL + Proxy

Scale Instance Multi-AZ Replicas Monthly
1-500 db.t3.large (shared) No 0 $100
500-1K db.r6g.large Yes 0 $450
1K-5K db.r6g.large Yes 1 $700
5K-10K db.r6g.xlarge Yes 1 $950

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
CloudWatch $10-50
Route 53 + ACM $1

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