-
Notifications
You must be signed in to change notification settings - Fork 5
Cost Estimation
Note: these estimates are for reference only. Please don’t make any important decisions based on this alone!
There are three components that will cost money:
- Serving static assets for the website
- Estimate: $25
- External API for uploading claims and for uploading images
- Estimate: $130
- Batch Transformers
- Estimate: $450
Total: <$1000 per 1M requests
To get the cost estimates above, we used AWS on-demand pricing and the following variables:
- Number of total claims submitted. We’ll assume 1M over the lifetime of this deployment.
- Size of each claim (JSON) and associated documents (photo of wage form, etc.). We’ll assume 5MB (0.005GB) total.
Please consider these estimates as just “order-of-magnitude correct”.
Architecture: Browser <- CloudFront CDN <- S3
AWS Pricing:
- S3 storage cost
- $0.023/GB
- $0.0000004/request
- S3 -> CDN
- free
- CDN -> internet
- $0.085 / GB
Let’s assume an example production build is ~300KB (0.0003GB). So:
- $0 for storage cost
- $0.4 for 1M S3 requests (= 1M page views)
- $25.5 for 1M outbound downloads from the CDN
Architecture: Browser -> API Gateway -> Lambda -> S3
AWS Pricing:
- API Gateway requests
- $3.50 per 1M 512KB REST requests
- API Gateway request data transfer
- Free
- API Gateway response data transfer
- $0.09/GB
- Lambda executions
- $0.0000002 per request
- Lambda memory consumption
- $0.0000002083 per request
- S3 writes
- $0.000005 / request
- S3 storage cost $0.023 per GB
That equates to:
- $7 for API Gateway requests
- $1 for data transfer for responses
- $0.2 for Lambda executions
- $0.2 for Lambda memory
- $5 for S3 writes
- $115 for S3 storage
Architecture: CRON -> (Lambda <- S3) -> {{state system}}
AWS Pricing:
- Lambda executions
- $0.0000002 per request
- Lambda memory consumption
- $0.0000002083 per request
- S3 reads
- $0.0000004 per request
- Data Transfer S3 -> Internet
- $0.09 / GB
That equates to:
- $0.2 for Lambda executions
- $0.2 for Lambda memory
- $4 for S3 writes
- $450 for outbound transfer
HOME » TECHNICAL DOCUMENTATION
Technical
Technical Overview
MVP System Design Doc
Using Github
Design
Design Overview
Security
Security Overview
Financial
Financial Overview
Cost Estimation