Azure Cosmos DB

Globally distributed, multi-model database service

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 only pay for the throughput and storage you need. Azure Cosmos DB guarantees single-digit-millisecond latencies in the 99th percentile anywhere in the world, offers multiple well-defined consistency models to fine-tune performance and guarantees high availability with multi-homing capabilities – 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-data centre 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.99% 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 and document data in one service, at global scale and without concerns about schema or index management. Azure Cosmos DB automatically indexes all data, and allows you to use your favourite API, including SQL, JavaScript, Gremlin, MongoDB 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 in the 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 in 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.99% high availability, latency in 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 data centres.

Learn more

Diagram of Global reach solution

IoT

Instantly, elastically scale to accommodate diverse and unpredictable IoT workloads without sacrificing ingestion or query performance.

Learn more

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 catalogues, 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

Get started with Azure Cosmos DB

Watch What is Azure Cosmos DB or read Introducing Azure Cosmos DB to see how our globally distributed, multi-model database service works for your applications, including web high-scale gaming, social and Internet of Things (IoT) app scenarios. Get expert tips on getting started with Azure Cosmos DB.

DocumentDB SQL and JavaScript API

Azure Cosmos DB has native DocumentDB API support, and you can still use DocumentDB SQL and JavaScript APIs like you did before.

API support for MongoDB

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 with the Table API. You get secondary indexes, global distribution, policy-based failover capabilities and much more.

Distribute graph queries globally using Gremlin APIs

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

Real-time Machine Learning over globally distributed datasets using Apache Spark

For real-time machine learning over globally distributed datasets managed by Azure Cosmos DB, 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.

Designed for developers.

Start by building a simple .NET or Node.js app, or build a complete web app using existing SQL and NoSQL skills with Azure Cosmos DB’s multi-model APIs, including DocumentDB, MongoDB, Graph and Table.

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

Try Azure Cosmos DB for building fast, scalable and globally distributed applications.