Skip navigation

Azure Cosmos DB

Build or modernize scalable, high-performance apps

Fast NoSQL database with open APIs for any scale

Azure Cosmos DB is a fully managed, serverless NoSQL database for high-performance applications of any size or scale. Get guaranteed single-digit millisecond performance and 99.999-percent availability, backed by SLAs, automatic and instant scalability, enterprise-grade security, and open-source APIs for NoSQL databases including MongoDB and Cassandra. Enjoy fast writes and reads anywhere in the world with multi-region writes and data replication. Gain insight over real-time data with no-ETL (extract, transform, load) analytics using Azure Synapse Link for Azure Cosmos DB.

Guaranteed speed at any scale with instant and limitless elasticity, seamless burst capacity, fast reads, and multi-region writes anywhere in the world

Fast, flexible app development with SDKs for popular languages plus a native Core (SQL) API, APIs for MongoDB, Cassandra, and Gremlin, and free dev/test options

Ready for mission-critical applications with 99.999-percent availability, continuous back up with point-in-time restore, enterprise-level security that guarantees business continuity, and no-ETL analytics over real-time data

Fully managed and cost-effective serverless database that responds to application needs by instantly and automatically scaling up and down, and offers consumption-based pricing options

Automatic and limitless scale

Meet your application needs and deliver high performance—even with unpredictable traffic—with a database that scales elastically, automatically, and instantly. Workloads of any size or scale are guaranteed always-on availability and single-digit millisecond reads and writes, so you’re able to run your most important applications worry-free anywhere in the world.

Automatic and limitless scale
Serverless database operations

Serverless database operations

Run workloads with spiky or occasional traffic and pay for only the resources used per database operation, with no minimum charges or capacity planning needed. Serverless is a consumption-based mode that makes it easy and cost-effective to run dev/test workloads and production applications.

Hybrid platform for Apache Cassandra data

Gain scale and superior performance, while maintaining flexibility and control, with a fully managed NoSQL database service trusted by companies like Symantec to run Cassandra workloads. Seamlessly integrate with fully compatible Azure Managed Instance for Apache Cassandra for transparent migration, replication, and synchronisation of your Cassandra data in a hybrid deployment or lift and shift to Azure.

Hybrid platform for Apache Cassandra data
No-ETL analytics over real-time operational data

No-ETL analytics over real-time operational data

Reduce time to insight by running near-real time analytics and AI on the operational data within your Azure Cosmos DB NoSQL database. Azure Synapse Link for Azure Cosmos DB seamlessly integrates with Azure Synapse Analytics without data movement or diminishing the performance of your operational data store.

Comprehensive security and compliance, built in

Pricing that gives you flexibility and control

Find the model that best fits your workload and free options for testing and development. Enjoy virtually unlimited throughput and storage, automatic elastic scalability across regions, and consumption-based serverless options.

Everything you need to get started

Dev/test for free with Azure Cosmos DB.

Find quickstarts, videos, guided learning and more developer resources.

Keep building your skills.

Popular use cases for Azure Cosmos DB

Fast and scalable IoT device telemetry

Scale instantly and elastically to handle IoT and real-time telemetry use cases, without sacrificing ingestion or query performance. Ingest, process, and analyse streaming data at scale from any number of devices, anywhere in the world.

Real-time retail services

Deliver scalable, high-performance retail use cases, including real-time product catalogue, personalised recommendations, order processing, and check-out services. Used by leading retailers to support business-critical, digital customer experiences, Azure Cosmos DB ensures speed and performance for customers around the world.

Critical applications with distributed users

Run your most critical workloads in any Azure region with SLA-backed speed, availability, throughput, and consistency. Azure Cosmos DB supports distributed applications with users anywhere in the world, and delivers high-availability and low-latency at scale.

Industry leaders are innovating with Azure Cosmos DB

Globally distributed data powers apps and microservices to improve pet care

"Azure services enabled us to provide a secure, fully monitored, enterprise-ready foundation to our implementation."

Adam Lind, Vice President of Software Development
MARS

Connected car platform relies on guaranteed high availability and low latency

"The Azure ecosystem gave us useful capabilities that the developers worked into their system."

Rodrigo Nunes, Principal Software Engineer
Mercedes-Benz

Chipotle powers digital ordering and personalised web experience with Azure Cosmos DB

"Switching to Azure Cosmos DB is a big win in terms of scalability, availability, and, down the road, geographic distribution."

Mike Smith, Lead Software Developer
Chipotle

ASOS delivers global personalised shopping recommendations with Azure Cosmos DB

"We chose Azure Cosmos DB because of its global distribution and ability to handle heavy seasonal bursts like Black Friday…. We can distribute our data models to be near the microservices they're serving—wherever that is in the world."

Bob Strudwick, Chief Technology Officer
ASOS

Symantec saves 40 percent on database costs by migrating to Azure Cosmos DB

"Our customers trust us to protect them throughout their ecosystem. So we needed a partner that we could trust to deliver a highly reliable service with ultra-low worldwide latency, at a reasonable cost."

Mike Shavell, Technical Director/Architect, Symantec
Symantec

Designed for developers, with support for a wide range of APIs

Core (SQL) API

Build new apps with ease, and take advantage of all the features and SLAs of Azure Cosmos DB. Azure Cosmos DB Core (SQL) API supports Java, Node.js, Python, .NET and JavaScript, and enables you to use the SQL language to write rich queries over JSON items.

Cassandra API

Use Cassandra SDKs, CQL, tools, and drivers with the Azure Cosmos DB Cassandra API to enable server-less and scalable applications with SLA-backed 99.999 percent availability. Seamlessly integrate with Azure Managed Instance for Apache Cassandra for hybrid data migration and synchronisation.

API for MongoDB

With the Azure Cosmos DB API for MongoDB, you can run a fully managed and server-less database for your application and gain 99.999 percent availability world-wide, elastic scalability, and automatic sharding. The API enables easy deployment with few code changes and continued use of MongoDB drivers, SDKs, and tools.

Documentation, training, and migration resources

Community and Azure support

Join the Azure Cosmos DB community. Follow the Azure Cosmos DB team on Twitter, YouTube, and the Azure Cosmos DB blog. Ask questions and get support from Microsoft engineers and Azure community experts on Stack Overflow. Find samples and repositories on GitHub.

Tutorials and labs

Azure Cosmos DB updates, blogs, and announcements

Frequently asked questions

  • Azure Cosmos DB is a globally distributed, multi-model database service for any scale. The service was built from the ground up with global distribution and horizontal scale at its core.

    With turnkey global distribution across any number of Azure regions, Azure Cosmos DB transparently scales and replicates your data wherever your users are. Elastically scale your writes and reads all around the globe and pay only for what you need. Azure Cosmos DB provides native support for NoSQL and OSS APIs, including MongoDB, Cassandra, Gremlin, etcd, Spark and SQL. It also offers multiple well-defined consistency models, guaranteed single-digit-millisecond read and write latencies at the 99th percentile, and guaranteed 99.999-percent high availability with multi-homing anywhere in the world, all backed by industry-leading, comprehensive SLAs.

    Azure Cosmos DB is a fully managed service that enables you to offload the administrative burdens of operating and scaling distributed databases to Azure, so you don’t have to worry about managing VMs, hardware provisioning, setup and configuration, capacity, replication, software patching or cluster scaling.

  • With Azure Cosmos DB, you can configure your databases to be globally distributed and available in any of the Azure regions. To minimise latency, place the data close to where your users are.

    Azure Cosmos DB transparently replicates the data to all the regions associated with your Azure Cosmos DB account. It provides a single system image of your globally distributed Azure Cosmos DB database and containers that your application can read and write to locally.

    With turnkey global distribution, you can add or remove the regions associated with your account at any time. Your application doesn’t need to be paused or redeployed to add or remove a region. High availability is maintained through multi-homing capabilities provided natively by the service. Learn more.

  • Azure Cosmos DB approaches data consistency as a spectrum of choices, with more options than the two extremes of strong and eventual consistency.

    Choose from five well-defined models on the consistency spectrum:

    • Strong
    • Bounded staleness
    • Session
    • Consistent prefix
    • Eventual

    Each model is backed by comprehensive SLAs. Learn more.

  • As a globally distributed database, Azure Cosmos DB provides comprehensive SLAs that encompass throughput, latency at the 99th percentile, consistency, and high availability. Get more information.

  • Azure Cosmos DB transparently replicates your data across all the Azure regions associated with your Azure Cosmos DB account. The service applies multiple layers of redundancy to your data. Get more details.
  • The Azure Cosmos DB API for MongoDB provides you with the ability to interact with Azure Cosmos DB as if it were a MongoDB database, without having to manage the database infrastructure itself. This means that nearly all your favorite MongoDB tooling, SDKs, and applications will continue to work. For detailed compatibility information, see the documentation.
  • With server version 4.0 support in Azure Cosmos DB API for MongoDB, it's easier to model complex transactional business logic without the complex error handling logic. V4.0 support introduces new features such as multi-document transactions, retryable writes, and more.
  • The Azure Cosmos DB Cassandra API enables you to interact with data stored in Azure Cosmos DB using the Cassandra Query Language (CQL), Cassandra-based tools (like cqlsh) and existing Apache drivers compliant with CQLv4. This means your existing Cassandra application can now communicate with the Azure Cosmos DB Cassandra API. Coming soon, the API will also connect with the Azure Managed Instance for Apache Cassandra (upon GA).

Ready when you are – start building applications with Azure Cosmos DB

Can we help you?