DynamoDB Cost Estimation for High Throughput Workloads

After reviewing the latest AWS pricing information, here is the updated cost estimation for your specified DynamoDB workload:


πŸ“Š Workload Summary

  • Write Throughput: 100,000 writes per second, each 0.5 KB in size.
  • Read Throughput: 1,000,000 reads per second, each 0.5 KB in size, using eventually consistent reads.
  • No Batching: Each operation is a single request.

πŸ’° Provisioned Capacity Mode

In provisioned mode, you pay for the capacity units you provision, regardless of actual usage.docs.aws.amazon.com

Capacity Units Required

  • Write Capacity Units (WCUs): Each write of up to 1 KB requires 1 WCU.

  • 100,000 writes/sec Γ— 1 WCU = 100,000 WCUs

  • Read Capacity Units (RCUs): Each eventually consistent read of up to 4 KB requires 0.5 RCU.

  • 1,000,000 reads/sec Γ— 0.5 RCU = 500,000 RCUs

Pricing

Based on the standard table class in the US East (N. Virginia) region:aws.amazon.com

Cost Calculation

  • Hourly Cost:

  • Writes: 100,000 WCUs Γ— 0.00065=βˆ—βˆ—0.00065 = **n65.00/hour**

  • Reads: 500,000 RCUs Γ— 0.00013=βˆ—βˆ—0.00013 = **n65.00/hour**

  • Total: 65.00+65.00 + n65.00 = $130.00/hour

  • Monthly Cost (assuming 730 hours/month):

  • 130.00/hourΓ—730hours=βˆ—βˆ—130.00/hour Γ— 730 hours = **n94,900.00/month**


⚑ On-Demand Capacity Mode

In on-demand mode, you pay per request.docs.aws.amazon.com

Pricing

As of November 1, 2024, AWS reduced on-demand pricing by 50%:aws.amazon.com

  • Write Request Units (WRUs): $0.625 per million writes
  • Read Request Units (RRUs): $0.125 per million readsaws.amazon.com

Request Volume

  • Daily Writes: 100,000 writes/sec Γ— 86,400 seconds/day = 8.64 billion writes/day
  • Daily Reads: 1,000,000 reads/sec Γ— 86,400 seconds/day = 86.4 billion reads/day

Cost Calculation

  • Daily Cost:

  • Writes: 8.64 billion Γ— 0.625/million=βˆ—βˆ—0.625/million = **n5,400.00/day**

  • Reads: 86.4 billion Γ— 0.125/million=βˆ—βˆ—0.125/million = **n10,800.00/day**

  • Total: 5,400.00+5,400.00 + n10,800.00 = $16,200.00/day

  • Monthly Cost (30 days):

  • 16,200.00/dayΓ—30days=βˆ—βˆ—16,200.00/day Γ— 30 days = **n486,000.00/month**


πŸ“‰ Cost Comparison

ModeMonthly Cost
Provisioned Capacity$94,900.00
On-Demand Capacity$486,000.00

Provisioned capacity mode offers significant savings for predictable, high-throughput workloads.aws.amazon.com


πŸ’‘ Additional Considerations

  • Auto Scaling: Implementing auto scaling in provisioned mode can adjust capacity based on actual usage, potentially reducing costs further.
  • Reserved Capacity: Committing to a one- or three-year term can provide additional discounts on provisioned capacity.
  • Table Class: For infrequently accessed data, consider the DynamoDB Standard-IA table class, which offers lower storage costs.aws.amazon.comaws.amazon.comaws.amazon.com

For a more tailored cost estimate, you can use the calculator.aws.amazon.com.FaviconFaviconSources