Azure Cosmos DB

Globally distributed, multi-model database service for any scale

Build planet-scale applications more easily than ever

Azure Cosmos DB is a fully managed database service with turnkey global distribution and transparent multi-master replication. Get single-digit millisecond read and write latencies at the 99th percentile, automatic and elastic scaling of throughput and storage worldwide, 99.999-percent high availability, and five well-defined consistency choices—all backed by industry-leading comprehensive SLAs.

Distribute data globally with a single click

Add or remove regions to and from your globally distributed database at any time, without the hassle of multi-datacenter database management, and scale throughput and storage automatically and elastically across those regions. Your applications are guaranteed single-digit millisecond read and write latencies at the 99th percentile and 99.999-percent high availability globally, with multi-master replication and the choice of five well-defined consistency models.

Access and query using the data model and API of your choice

Access and query data using APIs for SQL, MongoDB, Cassandra, Gremlin, Etcd, and Table and use Apache Spark for planet-scale operational analytics. Point existing open-source NoSQL client drivers and tools at your Cosmos database to preserve existing OSS investments, or easily migrate MongoDB, Cassandra, or other NoSQL workloads to Azure Cosmos DB.

Real-time operational analytics and AI at global scale

Run globally distributed, low-latency operational analytics and AI on transactional data within your database. With native support for Apache Spark and Jupyter notebooks, Azure Cosmos DB helps reduce time to insights by ingesting and serving data and running analytics against the local database replica in an Azure region. Directly execute Apache Spark queries on indexed multi-model data stored within your data partitions, without any unnecessary data movement.

Battle-tested for mission-critical enterprise workloads

Run your mission-critical workloads on a proven multi-model database service, built on world-class infrastructure with enterprise-grade security and compliance trusted by leading enterprises, including Microsoft. Azure Cosmos DB is a fully managed, globally distributed database service with industry-leading, comprehensive SLAs.

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

American Cancer Society connects volunteers, reduces costs while helping to save lives

"Results… have been simply phenomenal. The first year we did 86 percent more revenue year over year. Last year we did over 55 percent more revenue."

– Ben Kaplan, Senior Director of Digital Products

Read the story

American Cancer Society

ExxonMobil subsidiary taps the cloud to optimize operations and drive growth

"With Microsoft, Azure, and IoT technologies, XTO Energy is an innovation leader in the oil and gas industry."

– Anish Patel, Permian Technology Integration Manager

Read the story

ExxonMobil

Jet.com builds innovative e-commerce engine on Azure in less than a year

"When we were building Jet's next-generation event sourcing platform, Azure Cosmos DB offered the low latency, high throughput, global availability, and rich feature set critical to our success."

– Scott Havens, Director of Software Engineering

Read the story

Jet.com

ASOS bets on Azure to support a stellar experience for more than 15 million online shoppers

"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

Read the story

Asos

Cybersecurity company finds a new way to help keep 40 million devices safe in the cloud

"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

Read the story

Symantec

Pricing that gives you flexibility and control

Manage resources and costs with virtually unlimited throughput and storage, and elastic scalability. Charges are based on provisioned throughput and SSD-backed storage consumed by data and index, across all selected regions.

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.

Gremlin API

Take advantage of native graph data model support on Azure Cosmos DB without any code changes, and issue globally distributed graph queries using Gremlin API.

Built-in support for Apache Spark and Jupyter notebooks

Enable real-time machine learning and AI over globally distributed datasets by using built-in support for Apache Spark and Jupyter notebooks. With built-in support for Apache Spark and Jupyter notebooks, Azure Cosmos DB reduces time to insights and offers globally distributed, low-latency operational analytics for any scale.

Table API

Use Azure Cosmos DB as a globally distributed database for your Azure Table storage-based application, without any code changes, using the Table API. You get secondary indexes, global distribution, policy-based failover capabilities, and many other capabilities.

Why Azure for security?

  • Microsoft invests over USD 1 billion annually on cyber security research and development.
  • We employ more than 3,500 security experts who are completely focused on securing your data and privacy.
  • Azure has more compliance certifications than any other cloud provider. View the comprehensive list.

Everything you need to get started

Try Azure Cosmos DB free for 30 days.
Learn how to use Azure Cosmos DB: Find best practices, and explore tutorials and documentation.
Keep building your skills with Azure Cosmos DB.

Documentation, training, and migration resources

Community and Azure support

Ask questions and get support from Microsoft engineers and Azure community experts on Stack Overflow, and 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:

    • 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.

Explore Azure Cosmos DB and see turnkey global distribution in action

Start free