StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. NoSQL Databases
  4. NOSQL Database As A Service
  5. Amazon DynamoDB vs Azure Cosmos DB

Amazon DynamoDB vs Azure Cosmos DB

OverviewDecisionsComparisonAlternatives

Overview

Amazon DynamoDB
Amazon DynamoDB
Stacks4.0K
Followers3.2K
Votes195
Azure Cosmos DB
Azure Cosmos DB
Stacks594
Followers1.1K
Votes130

Amazon DynamoDB vs Azure Cosmos DB: What are the differences?

Introduction

Amazon DynamoDB and Azure Cosmos DB are both popular NoSQL databases that provide scalable and highly available storage solutions. While they share similarities in terms of being managed services and supporting NoSQL data models, there are several key differences between the two.

  1. Data Models: Amazon DynamoDB uses a key-value data model, where each item is identified by a primary key. It offers limited support for secondary indices and does not provide native support for document or graph data models. Azure Cosmos DB, on the other hand, supports multiple data models including key-value, document, columnar, and graph. It provides native support for JSON-based document data and allows for flexible schema enforcement.

  2. Consistency Models: DynamoDB offers two consistency models: eventual consistency and strong consistency. Eventual consistency provides relaxed guarantees, while strong consistency ensures that all read operations return the most up-to-date data. Cosmos DB provides five well-defined consistency models, ranging from strong consistency to eventual consistency. This allows developers to choose the level of consistency that best suits their application requirements.

  3. Global Distribution: DynamoDB supports global tables, which enable data replication across multiple AWS regions for low-latency access. However, configuring global tables can be complex and requires manual management. Cosmos DB, on the other hand, natively supports global distribution and automatic multi-region replication. It allows developers to define their desired consistency model on a per-request basis, facilitating global-scale applications without the need for manual configuration.

  4. Query Capabilities: DynamoDB provides a rich set of query capabilities, allowing users to query by the primary key, secondary index, or by using filtered queries. However, it lacks support for complex join operations and requires denormalizing data to achieve efficient queries. Cosmos DB supports SQL-like queries using its SQL API, allowing for more advanced querying capabilities including joins, aggregations, and indexing support out-of-the-box.

  5. Pricing Model: DynamoDB pricing is based on a pay-per-request model, where users pay for the number of read and write requests made, along with storage consumption. Additional features like global tables and backup storage are billed separately. Cosmos DB, on the other hand, uses a provisioned throughput model, which offers a fixed amount of throughput capacity that can be scaled up or down as per the workload requirements. Users are billed based on the provisioned throughput capacity and the storage consumed.

  6. Integration with Ecosystem: DynamoDB integrates seamlessly with other AWS services, making it a suitable choice for organizations already utilizing the AWS ecosystem. It supports integrations with AWS Lambda, Amazon Kinesis, Amazon Redshift, and more. Cosmos DB also integrates with various Azure services, including Azure Functions, Azure App Service, and Azure Kubernetes Service. It provides native support for change feed, allowing developers to build reactive applications that can react to data changes in real-time.

In summary, while both Amazon DynamoDB and Azure Cosmos DB are powerful NoSQL databases, they have key differences in their data models, consistency models, global distribution capabilities, query capabilities, pricing models, and integration with their respective ecosystems. These differences make them suitable for different use cases and application scenarios.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Amazon DynamoDB, Azure Cosmos DB

Doru
Doru

Solution Architect

Jun 9, 2019

ReviewonAmazon DynamoDBAmazon DynamoDB

I use Amazon DynamoDB because it integrates seamlessly with other AWS SaaS solutions and if cost is the primary concern early on, then this will be a better choice when compared to AWS RDS or any other solution that requires the creation of a HA cluster of IaaS components that will cost money just for being there, the costs not being influenced primarily by usage.

1.34k views1.34k
Comments
akash
akash

Aug 27, 2020

Needs adviceonCloud FirestoreCloud FirestoreFirebase Realtime DatabaseFirebase Realtime DatabaseAmazon DynamoDBAmazon DynamoDB

We are building a social media app, where users will post images, like their post, and make friends based on their interest. We are currently using Cloud Firestore and Firebase Realtime Database. We are looking for another database like Amazon DynamoDB; how much this decision can be efficient in terms of pricing and overhead?

199k views199k
Comments
Eduardo
Eduardo

Software Engineer at Parrot Software, Inc.

Aug 24, 2021

Decided

CouchDB has proven us to be a reliable multi-master NoSQL JSON database built natively for the web.

We decided to use it over alternatives such as Firebase due topology, costs and frontend architecture.

Thanks to CouchDB we are now a frontend first CRM platform. We are capable of delivering and leveraging our frontend code to build most of our new functionalities directly within the frontend which we enrich through backend sidecars connected to each Parrot and each CouchDB.

13.3k views13.3k
Comments

Detailed Comparison

Amazon DynamoDB
Amazon DynamoDB
Azure Cosmos DB
Azure Cosmos DB

With it , you can offload the administrative burden of operating and scaling a highly available distributed database cluster, while paying a low price for only what you use.

Azure DocumentDB is a fully managed NoSQL database service built for fast and predictable performance, high availability, elastic scaling, global distribution, and ease of development.

Automated Storage Scaling – There is no limit to the amount of data you can store in a DynamoDB table, and the service automatically allocates more storage, as you store more data using the DynamoDB write APIs;Provisioned Throughput – When creating a table, simply specify how much request capacity you require. DynamoDB allocates dedicated resources to your table to meet your performance requirements, and automatically partitions data over a sufficient number of servers to meet your request capacity;Fully Distributed, Shared Nothing Architecture
Fully managed with 99.99% Availability SLA;Elastically and highly scalable (both throughput and storage);Predictable low latency: <10ms @ P99 reads and <15ms @ P99 fully-indexed writes;Globally distributed with multi-region replication;Rich SQL queries over schema-agnostic automatic indexing;JavaScript language integrated multi-record ACID transactions with snapshot isolation;Well-defined tunable consistency models: Strong, Bounded Staleness, Session, and Eventual
Statistics
Stacks
4.0K
Stacks
594
Followers
3.2K
Followers
1.1K
Votes
195
Votes
130
Pros & Cons
Pros
  • 62
    Predictable performance and cost
  • 56
    Scalable
  • 35
    Native JSON Support
  • 21
    AWS Free Tier
  • 7
    Fast
Cons
  • 4
    Only sequential access for paginate data
  • 1
    Scaling
  • 1
    Document Limit Size
Pros
  • 28
    Best-of-breed NoSQL features
  • 22
    High scalability
  • 15
    Globally distributed
  • 14
    Automatic indexing over flexible json data model
  • 10
    Tunable consistency
Cons
  • 18
    Pricing
  • 4
    Poor No SQL query support
Integrations
Amazon RDS for PostgreSQL
Amazon RDS for PostgreSQL
PostgreSQL
PostgreSQL
MySQL
MySQL
SQLite
SQLite
Azure Database for MySQL
Azure Database for MySQL
Azure Machine Learning
Azure Machine Learning
MongoDB
MongoDB
Hadoop
Hadoop
Java
Java
Azure Functions
Azure Functions
Azure Container Service
Azure Container Service
Azure Storage
Azure Storage
Azure Websites
Azure Websites
Apache Spark
Apache Spark
Python
Python

What are some alternatives to Amazon DynamoDB, Azure Cosmos DB?

Cloud Firestore

Cloud Firestore

Cloud Firestore is a NoSQL document database that lets you easily store, sync, and query data for your mobile and web apps - at global scale.

Cloudant

Cloudant

Cloudant’s distributed database as a service (DBaaS) allows developers of fast-growing web and mobile apps to focus on building and improving their products, instead of worrying about scaling and managing databases on their own.

Google Cloud Bigtable

Google Cloud Bigtable

Google Cloud Bigtable offers you a fast, fully managed, massively scalable NoSQL database service that's ideal for web, mobile, and Internet of Things applications requiring terabytes to petabytes of data. Unlike comparable market offerings, Cloud Bigtable doesn't require you to sacrifice speed, scale, or cost efficiency when your applications grow. Cloud Bigtable has been battle-tested at Google for more than 10 years—it's the database driving major applications such as Google Analytics and Gmail.

Google Cloud Datastore

Google Cloud Datastore

Use a managed, NoSQL, schemaless database for storing non-relational data. Cloud Datastore automatically scales as you need it and supports transactions as well as robust, SQL-like queries.

CloudBoost

CloudBoost

CloudBoost.io is a database service for the “next web” - that not only does data-storage, but also search, real-time and a whole lot more which enables developers to build much richer apps with 50% less time saving them a ton of cost and helping them go to market much faster.

Firebase Realtime Database

Firebase Realtime Database

It is a cloud-hosted NoSQL database that lets you store and sync data between your users in realtime. Data is synced across all clients in realtime, and remains available when your app goes offline.

restdb.io

restdb.io

RestDB is a NoSql document oriented database cloud service. Data is accessed as JSON objects via HTTPS. This gives great flexibility, easy system integration and future compatibility.

Amazon DocumentDB

Amazon DocumentDB

Amazon DocumentDB is a non-relational database service designed from the ground-up to give you the performance, scalability, and availability you need when operating mission-critical MongoDB workloads at scale. In Amazon DocumentDB, the storage and compute are decoupled, allowing each to scale independently, and you can increase the read capacity to millions of requests per second by adding up to 15 low latency read replicas in minutes, regardless of the size of your data.

Amazon SimpleDB

Amazon SimpleDB

Developers simply store and query data items via web services requests and Amazon SimpleDB does the rest. Behind the scenes, Amazon SimpleDB creates and manages multiple geographically distributed replicas of your data automatically to enable high availability and data durability. Amazon SimpleDB provides a simple web services interface to create and store multiple data sets, query your data easily, and return the results. Your data is automatically indexed, making it easy to quickly find the information that you need. There is no need to pre-define a schema or change a schema if new data is added later. And scale-out is as simple as creating new domains, rather than building out new servers.

Aiven

Aiven

A fully-managed and hosted database as a service (DBaaS) that provides enterprises of every size access to secure and scalable open-source database and messaging services on all major clouds across the globe.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase