Skip to content

DynamoDb Cost is too much as per usage

0

I created sample table to learn and inserted only 1000 (1K) records & retrieved. My this month bill shows approx. $17. Which is too much. Please explain calculation

I am new to AWS. If possible then provide discount.

asked a year ago239 views

3 Answers
0

I understand your concern about the DynamoDB costs seeming high for what appears to be minimal usage. Let me explain how DynamoDB costs are calculated and suggest ways to minimize them.

DynamoDB charges for:

  • Read and write capacity units (RCUs and WCUs)
  • Data storage
  • Additional features like global tables, streams, etc.

For a new user with just 1,000 records, the $17 bill might be due to:

  1. Capacity mode selection: If you're using provisioned capacity mode but not fully utilizing it, you're paying for the capacity regardless of actual usage. On-demand mode might be better for learning purposes as you only pay for what you use.

  2. Idle provisioned capacity: You might have provisioned more capacity than needed for your small dataset.

  3. Additional features: You might have enabled features like global tables, continuous backups, or streams that add costs.

To reduce your costs:

  • Switch to on-demand capacity mode for unpredictable or low-volume workloads
  • Utilize the AWS Free Tier, which includes 25 WCUs and 25 RCUs for tables using DynamoDB Standard table class
  • Use the AWS Pricing Calculator to estimate costs before provisioning
  • Enable Time to Live (TTL) to automatically remove old data
  • Use AWS owned keys for encryption at rest
  • Use short attribute names to minimize storage costs
  • Consider deleting the table when not in use for learning purposes

For a detailed breakdown of your specific charges, I recommend checking your AWS bill by clicking on the plus mark next to DynamoDB charges to view detailed information. If you need further investigation, you can open a case with AWS Support under "Account and billing."

AWS does offer a Free Tier for DynamoDB which includes 25 WCUs, 25 RCUs, and 25 GB of storage for tables using the DynamoDB Standard table class. Make sure you're leveraging these free tier benefits for your learning.
Sources
Minimize DynamoDB costs | AWS re:Post
Amazon DynamoDB Pricing | NoSQL Key-Value Database | Amazon Web Services
DynamoDB cost high with any operation | AWS re:Post
Pricing for Provisioned Capacity

answered a year ago

  • Can you provide discount for this time?

0

You've probably went beyond the free tier for DynamoDB. To avoid bill issues, I'd recommend staying within the Free tier limits. Free Tier for DynamoDB which includes 25 WCUs, 25 RCUs, and 25 GB of storage for tables using the DynamoDB Standard table class. Make sure you're leveraging these free tier benefits for your learning.(as pointed out)

re:Post is a forum site, your AWS account cannot be exempted from billing through this medium. So, please contact AWS Support by opening a case with "Account and billing", they should be able to help you better. Please explain in detail the current problem and your concern, and see if a waiver is possible.

Account and billing support cases can be created by any and all AWS accounts. https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

AWS
EXPERT

answered a year ago

0

You can lower the cost by optimising your query. For example, a table scan will be far more expensive than just returning a few items. Also, look into setting the index and sort keys properly so your query returns what you need.

EXPERT

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.