Azure Cosmos DB
Build or modernize scalable, high-performance apps
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 dedicated to data security and privacy.
Azure has more certifications than any other cloud provider. View the comprehensive list.
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.
Everything you need to get started
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
Smart home platform brings innovation to market faster with Azure global scale
Frank Puhlmann, Head of Development, Residential IoT Services
"We needed to support rapid growth with the right scaling support, and we got that with Azure."
East West Bank digital banking solution uses Azure Cosmos DB to process transactions in real time
Rakesh Nambiar, Chief Digital Officer, East West Bank
"Azure Stream Analytics, Azure Functions, Azure SQL Database, and Azure Cosmos DB are responsible for our biggest ROI."
Zero Friction delivers frustration-free SaaS metering and billing to the energy sector with Azure Cosmos DB
Yoni Nijs, Cofounder, CTO, and Product Lead, Zero Friction
"By using Azure Cosmos DB, we can do upgrades and schema-less changes without any downtime, and that means that our system is always up and running."
ASOS delivers global personalized shopping recommendations with Azure Cosmos DB
Bob Strudwick, Chief Technology Officer, ASOS
"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."
Digital health provider creates agile, scalable platform based on Azure solutions
Sarthak Kakkar, Chief Solutions Architect, Rx.Health
"Mobile devices have brought ubiquitous access, and with Azure we can deliver a range of care solutions to people wherever they are."
Munich Re digitizes insurance services with Azure Cosmos DB for faster delivery and data insights
Wolfgang Demmerich, Business Development Manager for Digital Services, Munich Re
"By choosing Azure, we created a trustworthy, easy-to-use solution that doesn't put additional strain on our clients' IT departments."
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
Tutorials and labs
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.