Skip to the build
Cost lab

IPL live score and match metadata

SeniorBudget $3,500 a month
  1. Step 1 of 3: Fit the load, done
  2. Step 2 of 3: 2Hit the budget
  3. Step 3 of 3: 3Defend your bill

Catalogue

Compute

$9,437 a month

What runs your code.

Kind
Server size
How you pay

Reserved: a 1-year commitment, cheaper, paid all month. Spot: spare capacity, can be taken back with 2 minutes notice.

How many servers you run
Scaling

Fixed: the same number all month. Autoscale: follows the load, billed on the average (plus slack).

Database

$2,151 a month

Where the data lives.

Kind
Capacity mode

On-demand: pay per request. Provisioned: pay for capacity sized to the peak, all month, at a lower price per request.

Cache

$0.00 a month

Memory in front of the database (Valkey).

Nodes

More memory holds more of what is read again and again.

Storage and delivery

$601.15 a month

Files, bytes out to users, and what answers them.

Logs and monitoring

$478.67 a month

Needs to be kept at least 14 days.

Retention (days)
Monthly bill
$12,730
₹12,09,306 at ₹95 per $
Budget
$3,500
₹3,32,500

Monthly bill $12,730 (budget $3,500) · meets peak ✓ · availability ✓

$9,230 over budget, requirements met.

Checks

Handles the peakpassed
At peak 9,722 requests/s reach your servers (15 ms of CPU each, run at 60% load) = 243 vCPU. That is 16 x m6i.4xlarge; you allow 16. DynamoDB takes the load either way (on-demand scales itself; provisioned is sized to the peak here).
Availability: 99.95% (survives a zone loss)passed
Servers in two zones, a standby database, no all-Spot fleet.
Latency: p99 under 200 mspassed
No cold starts on the request path, and reads come from memory where it matters.
Logs kept at least 14 dayspassed
Retention is 14 days.
The choices fit the workloadpassed
Nothing in the design contradicts the workload.
Within budget ($3,500 a month)failed
$9,230 over budget.

The bill, line by line

Compute

$9,437
  • m6i.4xlarge servers, on-demand$9,437
    16 x m6i.4xlarge x $0.808/h x 730 h = $9,437

Database

$2,151
  • DynamoDB, provisioned for peak$2,101
    9,723 read units x $0.000148/h x 730 h + 1,945 write units x $0.00074/h x 730 h = $2,101
    Capacity is sized for the peak and paid for all month.
  • DynamoDB storage$49.87
    (200 - 25 free) GB x $0.285 = $49.87

Monitoring

$478.67
  • Logs ingested$469.00
    700 GB x $0.67 = $469.00
  • Logs stored (14 days)$9.67
    700 GB x 14 / 30.4 days = 322 GB x $0.03 = $9.67

Network

$662.40
  • Load balancer$61.25
    730 h x ($0.0239 + 7.5 LCU x $0.008) = $61.25
    LCU: the larger of new connections (25 a second) or 1 GB an hour.
  • Internet egress$601.15
    5,500 GB x $0.1093 = $601.15

Mumbai (ap-south-1), 730 hours a month. List prices checked 2026-10-19: the price table below has the sources and what is left out.

Where the prices come from