Azure Cosmos DB documentation

Fully managed, distributed NoSQL, relational, and vector database for modern app development. High performance, high availability, and support for open-source PostgreSQL, MongoDB, and Apache Cassandra. Build cloud-native apps effortlessly.

MongoDB-compatible applications

Start with Azure DocumentDB for MongoDB-compatible applications, or explore Azure Cosmos DB for MongoDB (RU) for request-unit-based workloads.

Other Azure Cosmos DB APIs

Choose from multiple APIs that provide compatibility with popular NoSQL and relational database models for modern applications.

NoSQL

Build applications using native SQL queries with automatic indexing and schema flexibility for document-based workloads.

Developer and DevOps guides

Advance your development and DevOps workflows with practical guides, tools, and best practices for building scalable applications on Azure Cosmos DB.

Build your first application

Create a console application using Azure Cosmos DB and your preferred development language and API.

Core concepts and architecture

Understand the fundamental concepts that power Azure Cosmos DB's global distribution, consistency, and performance capabilities.

Security and compliance

Protect your data and applications with comprehensive security features including encryption, access controls, and compliance certifications.

Data migration and tools

Explore migration guides for Azure DocumentDB and Azure Cosmos DB, with tools for different data sources and target services.

Samples and resources

Accelerate your Azure Cosmos DB development with code samples, community resources, and learning materials.

Azure Cosmos DB is a fully managed NoSQL, relational, and vector database for modern app development. Build cloud-native apps with guaranteed speed at any scale, turnkey global distribution, and comprehensive SLA-backed availability.

Key capabilities:

  • Single-digit millisecond response times with automatic and instant scalability
  • Multi-API support - NoSQL, MongoDB, PostgreSQL, Apache Cassandra, Apache Gremlin, and Table
  • AI-powered features - Vector database, Query Copilot, and seamless Foundry Tools integration
  • Enterprise-grade security - Encryption at rest, role-based access control, and compliance certifications
  • Global distribution - Multi-region writes and data distribution to any Azure region

Trusted by industry leaders: OpenAI relies on Azure Cosmos DB to dynamically scale ChatGPT, enabling high reliability and low maintenance for one of the fastest-growing consumer applications ever.

Get started today with the Azure Cosmos DB Emulator for local development.