Skip to main content

Automatic provisioning for AWS DynamoDB tables

Project description

<a href=””><img src=””></a>

AWS DynamoDB is a great service, but it falls short when it comes to automated throughput scaling. This is where Dynamic DynamoDB enters the stage. It provides automatic read and write provisioning for DynamoDB.

All you need to do is to tell Dynamic DynamoDB at which point and how much you want to scale up or down your DynamoDB. An example is in place. Let’s say you have way more traffic on your database during sales hours 4pm - 10pm. DynamicDB can monitor the increased throughput on your DynamoDB instance (via CloudWatch) and provision more throughput as needed. When the load is reducing Dynamic DynamoDB will sence that and automatically reduce your provisioning.

See an example of how to configure Dynamic DynamoDB under Basic usage or checkout dynamic-dynamodb –help.

Gratefully receiving donations at [Gittip](

Features in short

  • Scale up and down DynamoDB automatically
  • Restrict scaling to certain time slots
  • Monitor multiple DynamoDB tables at the same time
  • Gives you control over how much reads and writes you want to scale up and down with
  • Dynamic DynamoDB has support for max and min limits so that you always knows how much money you spend at most and how much capacity you can be guaranteed
  • Support for circuit breaker API call. If your service is experiencing disturbances, Dynamic DynamoDB will not scale down your DynamoDB tables


Project documentation is hosted at [](

Basic usage

This example will configure Dynamic DynamoDB to:

  • Scale up your DynamoDB table when the consumed reads 90% of the total provisioned reads
  • Scale up your DynamoDB table when the consumed writes 90% of the total provisioned writes
  • Scale up your reads with 50%
  • Scale up your writes with 40%
  • Scale down your DynamoDB table when the consumed reads 30% of the total provisioned reads
  • Scale down your DynamoDB table when the consumed writes 40% of the total provisioned writes
  • Scale down your reads with 40%
  • Scale down your writes with 70%
  • Check for changes every 5 minutes


dynamic-dynamodb –table-name my-table
–reads-upper-threshold 90 –reads-lower-threshold 30 –increase-reads-with 50 –decrease-reads-with 40 –writes-upper-threshold 90 –writes-lower-threshold 40 –increase-writes-with 40 –decrease-writes-with 70 –check-interval 300

Please note that using configuration files instead of command line options will give you even more control over the service.

Installation instructions

The easiest way to install Dynamic DynamoDB is through PyPI:

pip install dynamic-dynamodb

Reporting bugs

Please help me by providing feedback and bug reports. You can file bugs in the project’s [GitHub Issues page](

Provide as much details as possible to make bug fixing as swift as possible.

Git strategy

This project uses [git-flow]( for handling branching and releasing in Git. See the following [blog post]( for more details on how it works.

Releasing to PyPI

make release


This project is maintained by [Sebastian Dahlgren]( ([GitHub]( | [Twitter]( | [LinkedIn](

Gratefully receiving donations at [Gittip](


APACHE LICENSE 2.0 Copyright 2013 Sebastian Dahlgren

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dynamic-dynamodb, version 1.7.1
Filename, size File type Python version Upload date Hashes
Filename, size dynamic-dynamodb-1.7.1.tar.gz (46.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page