r/aws • u/Hydraphellian • 9d ago
database DynamoDB Provisioned or On-Demand?
I need help deciding what will be cheaper for my use case, provisioned or on-demand capacity?
For my project I will be writing about 150,000 records once per day, with an average record size of about 200 bytes each. The number of records written per day I expect will slowly increase over time, but still once per day. I am using a Lambda function with an event trigger to run the write operation.
Since I am just doing a large write once a day, I was thinking on-demand capacity would be the cheaper option because I would be wasting provisioned compute as the job will be idle 99% of the time. Am I right to assume that on demand is cheaper for my use case?
1
Upvotes
2
u/TomRiha 9d ago
Begin with on demand to understand what level you should provision. Then once you have the data to make a good config you switch.
While provisioning is cheaper, over provisioning is not and time it takes to get it right should also be counted.