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 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 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.
Guaranteed speed at any scale—even through bursts—with instant, limitless elasticity, fast reads, and multi-master writes, anywhere in the world
Fast, flexible app development with SDKs for popular languages, a native Core (SQL) API along with APIs for MongoDB, Cassandra, Graph, and Gremlin, and no-ETL (extract, transform, load) analytics
Ready for mission-critical applications with guaranteed business continuity, 99.999-percent availability, and enterprise-level security
Fully managed and cost-effective serverless database with instant, automatic scaling that responds to application needs, integrated caching, and consumption-based pricing options
Automatic and limitless scale
Automatically provision the throughput you need for applications with consistent traffic and high performance requirements. Workloads of any size or scale are guaranteed always-on availability and <10 ms reads and write response times, so you’re able to run your most important applications worry-free anywhere in the world.
Serverless database operations
Run workloads with spiky or occasional traffic and moderate performance requirements with serverless, an alternative to provisioned throughput. This consumption-based database operations mode makes is easy to run cost-effective dev/test workloads and new production applications.
Hybrid platform for 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 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
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 integrates with Azure Synapse Analytics without data movement or diminishing the performance of your operational store.
Popular use cases for Azure Cosmos DB
Fast and scalable 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
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.
Critical applications with distributed users
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.
Industry leaders innovating with Azure Cosmos DB
Globally distributed data powers apps and microservices to improve pet care
Adam Lind, Vice President of Software Development
"Azure services enabled us to provide a secure, fully monitored, enterprise-ready foundation to our implementation."
Connected car platform relies on guaranteed high availability and low latency
Rodrigo Nunes, Principal Software Engineer
"The Azure ecosystem gave us useful capabilities that the developers worked into their system."
Chipotle powers digital ordering and personalized web experience with Azure Cosmos DB
Mike Smith, Lead Software Developer
"Switching to Azure Cosmos DB is a big win in terms of scalability, availability, and, down the road, geographic distribution."
ASOS delivers global personalized shopping recommendations with Azure Cosmos DB
Bob Strudwick, Chief Technology Officer
"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."
Symantec saves 40 percent on database costs by migrating to Azure Cosmos DB
Mike Shavell, Technical Director/Architect, Symantec
"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."
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.
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
Designed for developers, with support for a wide range of APIs
Core (SQL) 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.
Documentation, training, and migration resources
Community and Azure support
Follow Azure Cosmos DB on Twitter and YouTube. Read 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 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:
- Bounded staleness
- Consistent prefix
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).