Azure Cosmos DB

Globally distributed, multi-model database service

A database for extremely low latency and massively scalable applications anywhere in the world, with native support for NoSQL

Azure Cosmos DB was built from the ground up with global distribution and horizontal scale at its core. It offers turnkey global distribution across any number of Azure regions by transparently scaling and replicating your data wherever your users are. Elastically scale throughput and storage worldwide and pay only for what you need. Azure Cosmos DB provides native support for NoSQL choices, offers multiple well-defined consistency models, guarantees single-digit-millisecond latencies at the 99th percentile and guarantees high availability with multi-homing capabilities and low latencies anywhere in the world— all backed by industry-leading, comprehensive service level agreements (SLAs).

Azure Cosmos DB is designed as a globally distributed database system

Turnkey global distribution

Easily build globally-distributed applications without the hassle of complex, multiple-datacenter configurations. Designed as a globally distributed database system, Azure Cosmos DB automatically replicates your data to any number of regions of your choice, for fast, responsive access. Azure Cosmos DB supports transparent multi-homing and guarantees 99.999% high availability.

Azure Cosmos DB allows you to use key-value, graph and document data in one service

Multi-model + multi-API

Only Azure Cosmos DB allows you to use key-value, graph, column-family and document data in one service. Azure Cosmos DB automatically indexes all data and allows you to use your favourite API including SQL, JavaScript, Gremlin, MongoDB, Apache® Cassandra and Azure Table Storage to access your data.

Independently and elastically scale storage and throughput with Azure Cosmos DB

Limitless elastic scale around the globe

With Azure Cosmos DB, you only pay for the throughput and storage you need. Azure Cosmos DB allows you to independently and elastically scale storage and throughput at any time, anywhere across the globe, making it a perfect ally for your serverless applications.

Five defined consistency models are offered by Azure Cosmos DB

Multiple, well-defined consistency choices

Azure Cosmos DB offers five well-defined consistency levels—strong, bounded staleness, consistent-prefix, session and eventual—for an intuitive programming model with low latency and high availability for your planet-scale app.

Guaranteed low latency

Guaranteed low latency at 99th percentile

Serve read and write requests from the nearest region while simultaneously distributing data across the globe. With its latch-free and write optimised database engine, Azure Cosmos DB guarantees less than 10-ms latencies on reads and less than 15-ms latencies on (indexed) writes at the 99th percentile.

Enterprise-grade, comprehensive SLAs

Industry-leading, enterprise-grade SLAs

Rest assured your apps are running on a “battle-tested” database service, built on world-class infrastructure. Azure Cosmos DB gives you enterprise-grade security and compliance and is the first and only service to offer industry-leading SLAs for 99.999% high availability, latency at the 99th percentile, guaranteed throughput and consistency.

Customers using Azure Cosmos DB

What can you build with Azure Cosmos DB?

Learn about use cases below:

Globally distributed mission-critical applications

Guarantee access to users around the world with the high-availability and low-latency capabilities built into Microsoft’s global datacenters.

Learn more

Diagram of Global Reach solution

IoT

Scale instantly and elastically to accommodate diverse and unpredictable IoT workloads without sacrificing ingestion or query performance.

Diagram of IoT and Telematics solution

Personalisation

Generate personalised recommendations for customers in real time, using low-latency and tunable consistency settings for immediate insights.

Learn more

Diagram of Real-time Personalisation solution

Retail and e-commerce

Support in-depth queries over diverse product catalogs, traffic spikes and rapidly changing inventory.

Learn more

Diagram of Product Catalogue solution

Gaming

Elastically scale your database to accommodate unpredictable bursts of traffic and deliver low-latency multi-player experiences on a global scale.

Learn more

Diagram of Gaming solution

Serverless apps

Use Azure Functions and Azure Cosmos DB, to build globally distributed, scalable, serverless applications.

Learn more

Diagram of Serverless Solution

Start developing with Azure Cosmos DB

Azure Cosmos DB is designed for developers, with support for a wide range of APIs. Watch What is Azure Cosmos DB, get started with expert tips, or learn more about what you can do with APIs and connectors.

SQL and JavaScript APIs

Azure Cosmos DB has native support for SQL and JavaScript APIs.

MongoDB API

Use Azure Cosmos DB as a fully managed database service for your MongoDB app, without any code changes, with native API support for MongoDB.

Azure Table storage APIs

Use Azure Cosmos DB as a globally distributed database for your Azure Table storage-based application, without any code changes, using the Table API. You get secondary indexes, global distribution, policy-based failover capabilities and much more.

Apache® Cassandra API

Delivering Cassandra as-a-service over the power of Azure Cosmos DB. Developers can use Cassandra SDKs and tools to build applications at near-infinite global scale with SLA-backed capabilities of the Azure Cosmos DB platform.

Apache® Spark

For real-time machine learning over globally distributed datasets managed by Azure Cosmos DB, you can use the Spark connector to issue Apache Spark queries. The Spark connector takes advantage of native indexes managed by Azure Cosmos DB, resulting in significant performance gains.

Gremlin APIs

Take advantage of native Graph APIs on Azure Cosmos DB without any code changes and issue globally distributed graph queries using Gremlin with Graph API.

Related products and services

SQL Database

Managed relational SQL Database as a service

App Service

Quickly create powerful cloud apps for web and mobile

HDInsight

Provision cloud Hadoop, Spark, R Server, HBase, and Storm clusters

Explore Azure Cosmos DB and see turnkey global distribution in action