- The Cloud Economist
- Posts
- DynamoDB Costs Savings
DynamoDB Costs Savings
Saving money on your DynamoDB database

Read on Beehiiv | September 8, 2024
Welcome to The Cloud Economist!
Last week I talked about the importance and benefits of right-sizing. With right-sizing you can achieve significant cost savings as well as performance benefits.
I ended the newsletter by sharing one right-sizing tip on using cost intelligence platforms to achieve fine-grained cost tracking to help you optimize and monitor costs more efficiently.
If you missed that you can read it here.
Last Week’s Question
In the question of the week, I asked what are some methods/tools you can use to identify and eliminate zombie resources that might be inflating your cloud bill.
Last Week’s Answer
There are two principal services that are designed to help you with this:
Cost Explorer’s Resource Optimization Reports: You’ll get a report of EC2 instances that are either idle or have low utilization.
Trusted Advisor: you can use Trusted Advisor to detect idle load balancers, unused EBS volumes, underutilized EC2 instances, and other resource inefficiencies.
This week we’ll explore some interesting methods of saving money on your DynamoDB database costs.
Here are the best articles I’ve found on cloud cost savings this week, summarized.
AWS DynamoDB Pricing: 13 Tips to Reduce Costs by Karl Robinson.
This article shares 13 effective tips to reduce your DynamoDB table costs.
These include:
Choosing a region that offers the lowest costs
Purging orphaned data
Use queries before scans
Keep your attribute names short
Avoid strongly consistent reads and transactional writes
Don’t Store Large Objects in DynamoDB
Use reserved capacity when you can
Use Provisioned Mode Where You Can
Use global secondary indexes wisely
Apply on-demand mode to unused tables or delete them
Store Infrequently Accessed Data in Standard Infrequent Access Tables.
Use On-Demand Backup Rather Than Continuous Backup
Use DynamoDB Metrics to Optimize Capacity
Read the article for more details on these tips.
Hiren shares 8 proven strategies and things to watch out for to cut down costs in DynamoDB.
Use on-demand mode when you do not know yet the traffic patterns of your application
Use Auto Scaling for your provisioned capacity tables
Enable tagging for table-level cost analysis
Choose the right table class: This is about choosing the right table that best fits your application’s balance between storage and throughput usage.
Find unused tables or global secondary indexes
Store large items efficiently
Identify sub-optimal usage patterns: scanning tables are costly. Using transactions cost 4x as much as plain reads, Global tables can also drive up your monthly bill.
One Tip on Cloud Cost Savings
Using TTLs can potentially save you thousands of dollars per month. When you write data to your tables that should not be stored permanently (log files, session data, tokens, etc) add a TTL attribute to the expirable item.
This will clear up your database of irrelevant data reducing your monthly bill.
This Week’s Question
How can you optimize the cost and latency of your queries by only getting the data you need and nothing more? (unused data in your queries leads to high charges at scale).
I encourage you to send in your answers!
Until next week.
The Cloud Economist