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
- WCU: $0.00065 per WCU-hour
- RCU: $0.00013 per RCU-houraws.amazon.com
Cost Calculation
-
Hourly Cost:
-
Writes: 100,000 WCUs Γ n65.00/hour**
-
Reads: 500,000 RCUs Γ n65.00/hour**
-
Total: n65.00 = $130.00/hour
-
Monthly Cost (assuming 730 hours/month):
-
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 Γ n5,400.00/day**
-
Reads: 86.4 billion Γ n10,800.00/day**
-
Total: n10,800.00 = $16,200.00/day
-
Monthly Cost (30 days):
-
n486,000.00/month**
π Cost Comparison
Mode | Monthly 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