Azure Cosmos DB

Fast NoSQL database with open APIs for any scale

Build or modernize scalable, high-performance apps

Azure Cosmos DB is a fully managed NoSQL database service for modern app development. Get guaranteed single-digit millisecond response times and 99.999-percent availability, backed by SLAs, automatic and instant scalability, and open-source APIs for MongoDB and Cassandra. Enjoy fast writes and reads anywhere in the world with with turnkey data replication and multi-region writes. Gain insight over real-time data with no-ETL analytics using Azure Synapse Link for Azure Cosmos DB.

Mission-critical applications

Mission-critical applications

Run your most critical workloads in any Azure region in the world with SLA-backed speed, availability, throughput, and consistency. Ensure business continuity with turnkey multi-master replication and enterprise-grade security and compliance, including end-to-end encryption and access control. Azure Cosmos DB is a non-relational NoSQL database trusted by leading enterprises globally, such as Coca-Cola, Symantec, and Mars Petcare.

Hybrid platform for Cassandra data

Hybrid platform for Cassandra data

Gain scale and superior performance, while maintaining flexibility and control, with a fully managed database service trusted by companies like Symantec to run Cassandra workloads. Seamlessly integrate with Azure Managed Instance for Apache Cassandra for transparent migration, replication, and synchronization of your Cassandra data across on-premises and Azure.

No-ETL analytics over real-time operational data

No-ETL analytics over real-time operational data

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

Real-time IoT device telemetry

Real-time IoT device telemetry

Scale instantly and elastically to accommodate diverse and unpredictable IoT workloads, without sacrificing ingestion or query performance. Stream vehicle telemetry for smart fleet solutions, stream and analyze data with change feed for real-time insights, or archive data for data warehouse analytics. Mercedes Benz, ExxonMobil, and Olympus are among the market leaders that rely on Azure Cosmos DB to power IoT solutions.

Real-time retail services

Real-time retail services

Deliver high-performance digital customer experiences with real-time shopping carts, product recommendations, dynamic pricing, inventory updates, and more. Used by leading retailers and quick-service restaurant brands including Jet.com, ASOS and Chipotle Mexican Grill, Azure Cosmos DB enables personalization across high volumes of product data in milliseconds. Low-latency database response times ensure superior app performance anywhere in the world.

Develop apps with Azure Cosmos DB solution architectures

Design and implement breakthrough IoT, e-commerce, gaming, and serverless applications with data distribution across any number of Azure regions.

Industry leaders 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 personalized 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 personalized 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

Pricing that gives you flexibility and control

Find the model that best fits your workload and options to manage your resources and costs. Enjoy virtually unlimited throughput and storage, automatic elastic scalability across regions, and consumption-based serverless options.

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

Core (SQL) API

Build new apps with ease. Azure Cosmos DB includes native support for Core (SQL) API and JavaScript. Azure Cosmos DB Core (SQL) API provides a formal programming model for rich queries over JSON items. The Azure Cosmos DB query language is based on the JavaScript programming model, and the Core (SQL) API is rooted in the JavaScript type system, expression evaluation, and function invocation.

Cassandra API

Deliver Cassandra as a service using the capabilities of Azure Cosmos DB. Use Cassandra SDKs and tools, including existing drivers, to build applications at near-infinite, global scale with SLA-backed capabilities of the Azure Cosmos DB platform. Seamlessly integrate with Azure Managed Instance for Apache Cassandra for hybrid data migration and synchronization.

Azure Cosmos DB API for MongoDB

Use Azure Cosmos DB as a fully managed database service for your MongoDB app, with few code changes and native API support for MongoDB data, giving your app the benefits of a cloud-native platform.

Why Azure for security?

  • Microsoft invests more than USD1 billion annually on cybersecurity research and development.
  • We employ more than 3,500 security experts who are dedicated to data security and privacy.
  • Azure has more compliance certifications than any other cloud provider. View the comprehensive list.

Everything you need to get started

Dev/test for free with Azure Cosmos DB.

Keep building your skills.

Documentation, training, and migration resources

Community and Azure support

Follow Azure Cosmos DB on Twitter and YouTube. 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 minimize 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 our 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