Member-only story

DynamoDB….contd..

Insightful Savant
3 min readDec 1, 2021

--

Amazon DynamoDB is a fully managed NoSQL database service that lets you offload the administrative burdens of operating and scaling a distributed database. In this three part series, I am going to walk you through the basics of the service and lead you to best practices that could save you some operational expense while using this service.

This is the second part of the series. To start from the beginning, visit this article..

Part B — Know what you Pay For

Know your choices

Reserved Capacity

With reserved capacity, you pay a one-time upfront fee and commit to a minimum provisioned usage level over a period of time. Your reserved capacity is billed at the hourly reserved capacity rate.

Replicated Writes

When using DynamoDB global tables, your data is written automatically to multiple AWS Regions of your choice. Each write occurs in the local Region as well as the replicated Regions.

Backup — PITR and On-Demand Backup

Point-In-Time-Recovery (PITR) based backup works based on the size of each DynamoDB table on which it is enabled. DynamoDB monitors the table size continuously throughout the month to determine your backup charges and continues to bill you until you disable PITR on each table.

On-demand Backup works based on the storage size of the table. The size of backup is determined at the time of each backup request. The sum of all backup of the DynamoDB table will be the cost of the backup.

Restoring a table costs too…

Global Tables

  • When using the latest version of global tables, you must either use on-demand capacity or enable auto-scaling on the table.
  • Using auto-scaling or on-demand capacity ensures that you always have sufficient capacity to perform replicated writes to all regions of the global table.
  • The number of replicated write capacity units (rWCUs) or replicated write request units will be equal in all Regions of the global table.

Change Data Capture for Kinesis streams

  • DynamoDB charges for change data capture for Amazon Kinesis Data Streams in change data capture units.
  • DynamoDB charges one change data capture unit for each write (up to 1 KB). You pay for the writes your application performs without having to manage…

--

--

Insightful Savant
Insightful Savant

Written by Insightful Savant

Architecture, cybersecurity, Cloud, psychological well-being and everything that's interesting!

No responses yet

Write a response