Skip to content

Open Source Amazon DynamoDB Alternatives

3 alternatives · Data checked · By , founder & editor · NoSQL databases

Apache Cassandra is the best open source alternative to Amazon DynamoDB. It is a permissively licensed wide-column store with multi-datacenter replication, 70% feature parity and no AWS lock-in. If you want to keep DynamoDB-style code, look at ScyllaDB and its Alternator API. For a plain transactional key-value store, look at TiKV.

Without running a server
ScyllaDB · hosted plan by the project
Most actively maintained
TiKV · health 75/100, last commit Nov 2026

Best overall

Best for: Teams that want a self-hosted wide-column store with multi-datacenter replication and no AWS lock-in

10k ActivePermissive

Pick #2

Best for: Teams wanting DynamoDB-compatible API on their own servers or cloud with predictable low latency

16k ActiveSource available

Pick #3

Best for: Teams wanting a self-hosted, horizontally scalable transactional key-value store

17k ThrivingPermissive

Compare Apache Cassandra vs ScyllaDB side by side →

Why people leave Amazon DynamoDB

Amazon DynamoDB is a managed NoSQL database from Amazon Web Services. Developers use it for key-value and document workloads that need low-latency access at large scale. It supports horizontal scaling, replication and failover across zones, secondary indexes, multi-record transactions and disk persistence. It runs only on AWS, so there is nothing to install or patch. You pay through AWS usage-based billing. It is common in serverless applications that already use other AWS services.

  • Locked into AWS. DynamoDB's API and data model exist only on AWS. Moving to another cloud or to your own servers means rewriting data access code and migrating data.
  • Costs are hard to predict. Usage-based billing can climb with traffic, indexes and storage. Running your own database gives you a fixed hardware cost instead.
  • No self-hosting option. You cannot run the service on your own hardware or in a private data center, which rules it out for some compliance and on-premises needs.
  • Query model is restrictive. Access patterns must be planned around keys and indexes up front. Many open source databases offer more flexible querying.

Quick comparison

#AlternativeLicenseStarsHealthPlatformsFitParityMigrationImports from Amazon DynamoDB
1 Apache Cassandra Permissive 10k Active CLI, Linux, macOS Self-hosted equivalent 70% Hard No
2 ScyllaDB Source available 16k Active – Direct replacement 58% Moderate –
3 TiKV Permissive 17k Thriving – Self-hosted equivalent 50% Hard No

Fit = how much of Amazon DynamoDB's job the tool replaces. Parity = share of Amazon DynamoDB's core features the tool covers fully. Migration = effort to move your data and team over. Health and stars from November 24, 2026. How we rank.

The 3 best open source Amazon DynamoDB alternatives

  1. 1

    Apache Cassandra

    Distributed wide-column database for teams that need multi-datacenter replication without

    10k Active 63 Permissive Self-hosted equivalent

    Cassandra is the closest self-hosted match for DynamoDB's wide-column model, at 70% feature parity and about 10,158 stars, with a commit in November 2026. It suits teams that want multi-datacenter replication without AWS lock-in. Expect a hard migration, no managed first-party service, and heavy cluster tuning.

    Strengths

    • Distributes data across machines and repartitions as nodes change
    • CQL is a close relative of SQL
    • Developed since 2009 under the Apache-2.0 license
    • Runs as a self-hosted cluster on Linux and macOS

    Trade-offs

    • No fully managed first-party cloud service
    • Weaker multi-record ACID transactions
    • Needs cluster operations and tuning
    • Requires a supported Java version
    Best for
    Teams that want a self-hosted wide-column store with multi-datacenter replication and no AWS lock-in
    Fit
    Self-hosted equivalent · 70% feature parity
    Health
    63/100 (Active) · breakdown
    License
    Permissive (OSI) (Apache-2.0)
    Hosting
    Self-hosted
    Migration
    Hard
    Last commit
    Nov 2026
    • macOS
    • Linux
    • CLI

    Feature parity with Amazon DynamoDB · 70%

    • Yes Horizontal scaling
    • Yes Replication and failover
    • Partly Multi-record transactions
    • Yes Secondary indexes
    • Partly Rich query language
    • Partly In-memory data storage
    • Yes Disk persistence
    • Yes Multi-region replication
    • No Managed cloud service
    Quick start
    $ tar -zxvf apache-cassandra-$VERSION.tar.gz
    $ cd apache-cassandra-$VERSION
    $ bin/cassandra -f
  2. 2

    ScyllaDB

    Cassandra- and DynamoDB-compatible NoSQL database in C++ for low-latency workloads

    16k Active 62 Source available Direct replacement

    ScyllaDB is the closest fit if you want to keep DynamoDB-style code: its Alternator interface speaks the DynamoDB API. Releases since December 2024 are under a source-available license rather than an open source one. Parity is 57.5% because Alternator covers only a subset of features, and there is no serverless pay-per-request mode.

    Strengths

    • Speaks CQL and works with Apache Cassandra drivers
    • Optional DynamoDB-compatible API through Alternator
    • Shared-nothing design built on the Seastar C++ framework
    • Self-hostable, with a hosted plan available

    Trade-offs

    • No fully managed AWS-native serverless pay-per-request mode
    • DynamoDB API (Alternator) covers only a subset of features
    • No serverless pay-per-request mode like DynamoDB
    • Building from source needs a C++23 toolchain, via Docker
    Best for
    Teams wanting DynamoDB-compatible API on their own servers or cloud with predictable low latency
    Fit
    Direct replacement · 58% feature parity
    Health
    62/100 (Active) · breakdown
    License
    Source available (LicenseRef-ScyllaDB-Source-Available-1.0)
    Hosting
    Self-hosted · Cloud
    Migration
    Moderate
    Last commit
    Nov 2026

    Feature parity with Amazon DynamoDB · 58%

    • Yes Horizontal scaling
    • Yes Replication and failover
    • Partly Multi-record transactions
    • Yes Secondary indexes
    • Partly Rich query language
    • Yes Disk persistence
    • Yes Managed cloud service
  3. 3

    TiKV

    Distributed transactional key-value database for teams needing scalable storage

    17k Thriving 75 Permissive Self-hosted equivalent

    TiKV is a distributed transactional key-value store you run yourself, with 16,963 stars and permissive licensing. It matches DynamoDB's scaling model but not its API, so migration is hard and parity is 50%. You get no secondary indexes or rich queries, and no managed service.

    Strengths

    • ACID transactions with snapshot isolation and external consistency
    • Raft replication with automatic sharding through Placement Driver
    • Scales to 100+ TB of data
    • Graduated CNCF project under Apache-2.0

    Trade-offs

    • No managed cloud service
    • No built-in TTL or change streams documented
    • No secondary indexes or rich queries
    • Running PD, stores and Regions takes cluster operations effort
    Best for
    Teams wanting a self-hosted, horizontally scalable transactional key-value store
    Fit
    Self-hosted equivalent · 50% feature parity
    Health
    75/100 (Thriving) · breakdown
    License
    Permissive (OSI) (Apache-2.0)
    Hosting
    Self-hosted
    Migration
    Hard
    Last commit
    Nov 2026

    Feature parity with Amazon DynamoDB · 50%

    • Yes Horizontal scaling
    • Yes Replication and failover
    • Yes Multi-record transactions
    • No Secondary indexes
    • No Rich query language
    • Yes Disk persistence
    • Yes Multi-region replication
    • No Managed cloud service

Feature parity: Amazon DynamoDB vs the top 3

FeatureAmazon DynamoDBApache CassandraScyllaDBTiKV
Horizontal scalingYesYesYesYes
Replication and failoverYesYesYesYes
Multi-record transactionsYesPartlyPartlyYes
Secondary indexesYesYesYesNo
Rich query languagePartlyPartlyPartlyNo
In-memory data storagePartlyPartly––
Disk persistenceYesYesYesYes
Change streams and pub/subYes–––
Multi-region replicationYesYes–Yes
Managed cloud serviceYesNoYesNo

yes · partly · no · – not checked.

Cost to switch

What Amazon DynamoDB costs your team in a year, against running an open source alternative yourself.

Enter Amazon DynamoDB's price per seat to compare.

Server prices are typical monthly VPS prices for the RAM the tool needs (2 GB when unknown). Your time to run and update it is not included.

How to choose

You want a self-hosted wide-column store with multi-datacenter replication and a permissive license

→ Apache Cassandra

It has 70% feature parity with DynamoDB and an OSI permissive license, with no dependency on AWS.

You want to keep application code that already calls the DynamoDB API

→ ScyllaDB

Its Alternator interface speaks the DynamoDB API, though it covers only a subset of features.

You need a license that is fully open source

→ Apache Cassandra

ScyllaDB releases since December 2024 are source-available, while Cassandra is permissively licensed.

You only need a horizontally scalable key-value store with transactions

→ TiKV

It is a distributed transactional key-value store with permissive licensing and about 16,963 stars, but it has no secondary indexes.

Moving off Amazon DynamoDB

  • None of the three imports directly from DynamoDB. Plan to export your tables, for example to S3 through DynamoDB's export feature, and load them with your own scripts.
  • ScyllaDB is the easiest move for code. Alternator accepts DynamoDB API calls, so many SDK calls only need a new endpoint. Test each feature you use, since only a subset is covered.
  • Moving to Cassandra or TiKV means rewriting your data access layer. Cassandra needs a new schema and CQL queries. TiKV needs you to build any index or query logic yourself.
  • Rebuild by hand anything tied to AWS: IAM access rules, pay-per-request capacity settings and integrations with other AWS services. Self-hosting also means you run backups, upgrades and cluster tuning.

Frequently asked questions

What is the best open source alternative to DynamoDB?

Apache Cassandra ranks first. It is a self-hosted wide-column store with multi-datacenter replication and 70% feature parity with DynamoDB.

Is there a free open source alternative to DynamoDB?

Yes. Apache Cassandra and TiKV are both permissively licensed and free to run. ScyllaDB is source-available rather than open source for releases since December 2024. You still pay for the servers you run them on.

Which alternative can I use with the DynamoDB API?

ScyllaDB. Its Alternator interface speaks the DynamoDB API, so existing code can often be pointed at it. Alternator covers only a subset of DynamoDB features.

Can I self-host a DynamoDB alternative?

Yes. Apache Cassandra, ScyllaDB and TiKV can all be self-hosted. None offers a serverless pay-per-request mode like DynamoDB.

Does Apache Cassandra run on Windows, Mac and Linux?

Cassandra is listed for Linux and macOS, with a command-line interface and self-hosted deployment. It is not listed for Windows.

Can I import my DynamoDB data into these tools?

None of them has a built-in DynamoDB import. Export your tables and load the data with scripts. ScyllaDB is the easiest because Alternator accepts the DynamoDB API.

2026 edition. Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.