Fast, distributed NoSQL and relational database at any scale
Develop high-performance applications of any size or scale with a fully managed and serverless distributed database supporting open-source PostgreSQL, MongoDB, and Apache Cassandra. Get automatic and instant scalability, with SLA-backed single-digit millisecond reads and writes and 99.999 percent availability for NoSQL data. Deploy and scale applications with distributed PostgreSQL using the latest version, tools, and extensions.
Unparalleled performance at any scale with instant and limitless elasticity, fast reads, and multi-region writes anywhere in the world
Fast, flexible app development with free dev/test options, multiple SDKs, and support for open-source PostgreSQL, MongoDB, and Apache Cassandra
Ready for mission-critical applications with 99.999 percent availability, continuous backup, and enterprise-grade security
Pay for only what you use with a cost-effective, responsive, and fully managed serverless database that scales elastically with your app
Scale any workload without limits
Deliver high performance with a range of scalability options to meet your application needs. From scale-out architectures for extra elasticity and autoscale to traditional scale-up of nodes and storage, Azure Cosmos DB offers the best of both worlds to match the needs of your workloads for any size and scale. Run your most important applications worry-free anywhere in the world with always-on availability.
Start small and grow with serverless
Run NoSQL workloads with spiky or occasional traffic and pay for only the resources used per database operation, with no minimum charges or capacity planning needed. Use the consumption-based serverless mode to run dev/test workloads and production applications easily and cost-effectively.
Build with high-performing native PostgreSQL
Get everything you love about native PostgreSQL plus the performance, scalability, and reliability of a distributed database with Azure Cosmos DB for PostgreSQL. Build with your favorite PostgreSQL tools and features while gaining enterprise-grade security and data distribution across your choice of global Azure regions.
Gain insights with no-ETL analytics over real-time data
Reduce time to insight by running near real–time analytics and AI on the operational data within your Azure Cosmos DB NoSQL database. Use Azure Synapse Link for Azure Cosmos DB with Azure Synapse Analytics without moving data or diminishing the performance of your operational data store.
Comprehensive security and compliance, built in
Microsoft invests more than USD$1 billion annually on cybersecurity research and development.
We employ more than 3,500 security experts who are dedicated to data security and privacy.
Pricing that gives you flexibility and control
Find the model that best fits your workload, with free options for testing and development. Enjoy virtually unlimited throughput and storage, scale-out architectures for automatic elasticity, traditional scale-up of nodes, and consumption-based serverless options.
Get started with an Azure free account
After your credit, move to pay as you go to keep building with the same free services. Pay only if you use more than your free monthly amounts.
Popular use cases for Azure Cosmos DB
Fast and scalable IoT device telemetry
Scale instantly and elastically to handle IoT and telemetry use cases in real time without sacrificing ingestion or query performance. Ingest, process, and analyze 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 catalog, personalized recommendations, order processing, and checkout services. Support business-critical digital customer experiences by providing quick, efficient service to 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 globally distributed applications and delivers high availability and low latency at scale.
Industry leaders are innovating with Azure Cosmos DB
Designed for developers, with PostgreSQL, MongoDB, and Apache Cassandra support
Azure Cosmos DB for NoSQL
Azure Cosmos DB for PostgreSQL
Develop cloud-native apps with fast, distributed PostgreSQL. Start for free on a single node and grow your relational application to any scale. Azure Cosmos DB for PostgreSQL is powered by Citus open source and the latest PostgreSQL versions, with support for dozens of Postgres extensions (including PostGIS for geospatial), rich indexing, and ACID transactions.
Azure Cosmos DB for MongoDB
Run a fully managed and serverless database for your application and gain 99.999 percent availability worldwide, elastic scalability, and automatic sharding with Azure Cosmos DB for MongoDB. The API enables easy deployment with few code changes and continued use of MongoDB drivers, SDKs, and tools.
Azure Cosmos DB resources
Frequently asked questions about Azure Cosmos DB
For NoSQL data, Azure Cosmos DB for NoSQL offers comprehensive SLAs across throughput, latency, consistency, and high availability. This includes less than 10 millisecond write-and-read latency and 99.999 percent availability. Azure Cosmos DB for PostgreSQL offers 99.95 percent availability. Read the SLA.
Azure Cosmos DB for PostgreSQL is a native PostgreSQL, globally distributed relational database that automatically shards data to help you build highly scalable apps. Start building apps on a single node server group, the same way you would with PostgreSQL anywhere else. As your app's scalability and performance requirements grow, seamlessly scale to multiple nodes by transparently distributing your tables.
Azure Cosmos DB for NoSQL is a native non-relational service for working with the document data model. It can arbitrarily store native JSON documents with flexible schema. Data is indexed automatically and is available for query using a flavor of the SQL query language designed for JSON data. Access the API using SDKs for popular frameworks such as .NET, Python, Java, and Node.js.
Azure Cosmos DB for MongoDB lets you interact with Azure Cosmos DB as if it were a MongoDB database, without having to manage the database infrastructure. When using Azure Cosmos DB for MongoDB, nearly all your favorite MongoDB tooling, SDKs, and applications will continue to work, and server version 4.0 is supported. For detailed compatibility information, see documentation.
Azure Cosmos DB for Apache Cassandra 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. Your existing Cassandra application can communicate with the Azure Cosmos DB Cassandra API. Soon the API will also connect with Azure Managed Instance for Apache Cassandra.