Azure Cosmos DB

Fast NoSQL database with open APIs for any scale

Build or modernise 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-per cent 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 turnkey multi-master global distribution.

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.

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 Cosmos DB seamlessly integrates 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 analyse 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, ASOS and Chipotle Mexican Grill, Azure Cosmos DB enables fast personalisation 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

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

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

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

Symantec saves 40 per cent 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

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

SQL (Core) API

Build new apps with ease. Azure Cosmos DB includes native support for SQL (Core) API and JavaScript. Azure Cosmos DB 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 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.

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 $1 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 service provider. View the comprehensive list.

Everything you need to get started

Get started with 25 GB storage and 400 RU/s throughput each month for free, plus a $200 credit, by signing up for a free Azure account.

Keep building your skills.

Documentation, training and migration resources

Community and Azure support

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 only pay 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-per cent 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.

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