# Azure Cosmos DB

Azure Cosmos DB is a fully managed, globally distributed NoSQL and vector database service for applications that require scalable throughput and low-latency data access.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-cosmos-db

> Azure Cosmos DB stores operational data and distributes it across Azure regions, with configurable consistency, managed replication, and consumption-based throughput options. Its API for NoSQL supports JSON documents, SQL-like queries, and vector search, while compatibility APIs support additional application models and protocols.

## 9 key features of Azure Cosmos DB

1. **Global distribution and regional failover**: Replicate data across selected Azure regions to place reads closer to applications and support regional recovery. Configure write regions, failover behavior, and SDK regional preferences together, and test the resulting availability and consistency behavior.
2. **Partitioned storage and elastic throughput**: Azure Cosmos DB manages physical partitions as data and throughput requirements grow. Engineers control logical partitioning and must select keys that avoid hot partitions and excessive cross-partition queries.
3. **Configurable consistency**: Choose among strong, bounded staleness, session, consistent prefix, and eventual consistency where supported. Session consistency is useful for applications that need read-your-writes behavior without imposing strong consistency on all clients.
4. **JSON queries and indexing**: The API for NoSQL supports SQL-like queries over JSON documents and indexes document properties automatically by default. Tune indexing policies and add appropriate composite indexes to support production queries while controlling write costs.
5. **Vector and hybrid retrieval**: Store embeddings alongside operational documents and use vector search for similarity-based retrieval. Combine vector and text retrieval where supported, and use semantic reranking to improve the ordering of candidate results.
6. **Change feed processing**: Process document changes to build materialized views, synchronize downstream systems, or drive event-based workflows. Select the feed mode deliberately and make consumers idempotent because processing can be retried.
7. **Workload throughput controls**: Use throughput buckets to limit the maximum throughput consumed by individual workloads sharing a container. For example, constrain an ETL job so it does not consume the entire throughput allocation needed by interactive requests.
8. **Backup and recovery**: Use native continuous backup for point-in-time operational recovery. Azure Backup adds isolated, immutable vaulted backups with long-term retention of up to 10 years for compliance and recovery requirements.
9. **Application identity and network protection**: For supported APIs, use Microsoft Entra identities and data-plane role assignments instead of distributing account keys. Combine authorization with private endpoints, firewall rules, encryption, and diagnostic logging according to the deployment's security requirements.

## Where Azure Cosmos DB is used

1. **Global web and mobile applications**: Store user profiles, preferences, sessions, and application state with regional reads close to users. Select consistency and failover settings based on whether the application prioritizes immediate visibility of updates, availability, or geographic latency.
2. **Multitenant software platforms**: Store tenant-scoped documents using partition keys aligned with tenant access patterns. Use hierarchical partitioning where appropriate, monitor large tenants separately, and apply workload controls to reduce contention between background processing and interactive traffic.
3. **Product catalogs and shopping carts**: Represent products with varying attributes as JSON documents and maintain low-latency shopping-cart state. Keep updates that require atomicity within the same logical partition, and use change feed processing to update search indexes or downstream projections.
4. **IoT operational state and telemetry**: Maintain device state and recent telemetry for applications that need frequent writes and targeted device lookups. Use time-to-live policies for short-lived data where supported, and send historical data to an analytical or archival store rather than retaining everything in the operational database.
5. **Retrieval-augmented generation and recommendations**: Store source documents, metadata, and embeddings together so retrieval can use both semantic similarity and application filters. Refresh embeddings when source content changes and evaluate retrieval quality against representative application questions.
6. **Event-driven materialized views**: Use the change feed to maintain read-optimized summaries, synchronize external indexes, or propagate business-state changes. Design consumers for replay and duplicate delivery, and explicitly handle deletion requirements.

## How Azure Cosmos DB is priced

- **Manual provisioned throughput**: Reserve a configured amount of throughput in RU/s at the container or shared-database level where supported, with charges based on provisioned capacity over time. This suits predictable workloads; replicated regions, storage, and applicable data transfer add to the total cost.
- **Autoscale provisioned throughput**: Set a maximum throughput and let the service adjust capacity within the supported autoscale range. Billing reflects autoscale rules and the highest capacity reached during the billing hour at the applicable partition and region granularity, rather than simply the average number of requests.
- **Serverless consumption**: Pay for request units consumed by database operations and for stored data without reserving RU/s. This is useful for intermittent or variable workloads, but serverless has different capacity and regional capabilities from provisioned-throughput accounts.
- **Reserved capacity**: Purchase eligible provisioned-throughput capacity commitments for a one-year or three-year term to reduce throughput costs. Size reservations against sustained usage and verify which account configurations and meters qualify; storage and unrelated charges are not covered automatically.
- **Storage, replication, and optional capabilities**: Data and index storage are billed separately from throughput, and regional replication increases the resources being billed. Backup retention, restore operations, analytical capabilities, data transfer, and Azure Backup can introduce additional charges depending on configuration.
- **Free tier**: Eligible accounts can receive 1,000 RU/s of provisioned throughput and 25 GB of storage free under the Azure Cosmos DB free-tier rules. Enable free tier when creating the account; it is limited to one qualifying account per subscription and does not apply to serverless accounts.

## Services Azure Cosmos DB works with

A common application architecture places an API in Azure App Service and uses Azure Cosmos DB for operational JSON data. The application uses a supported SDK, managed identity where available, and private networking when required. Regional application deployments should align SDK region preferences with the database's replication topology.

For ingestion, Azure Event Hubs provides a buffer between producers and database writers. Consumers validate events, choose partition keys, and write at a rate that respects available throughput. After data is committed, Azure Functions can process the change feed to update derived views or downstream systems. Use idempotent processing and explicit deletion handling rather than assuming exactly-once delivery or a complete event history.

Azure AI Search can maintain a separate retrieval index when applications need search-specific ranking and indexing capabilities. Azure Monitor provides metrics, logs, and alerts for throttling, latency, and capacity planning. Azure Backup complements native recovery with isolated long-term protection. Treat search freshness, ingestion lag, backup retention, and restore testing as explicit operational requirements.

- **[Azure Functions](https://blowstack.com/tools/cloud-services-hub/azure-functions)**: Use the Azure Cosmos DB trigger for Azure Functions to process supported change feed events without running a dedicated polling service. For example, update an order summary whenever an order document changes. Configure the lease container and throughput, and make handlers idempotent because changes can be delivered more than once.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: Use Event Hubs to buffer incoming telemetry or application events before a consumer writes them to Azure Cosmos DB. For example, a Functions or stream-processing consumer can validate device events and update each device's current-state document. Coordinate consumer concurrency with available RU/s, and use stable identifiers or conditional updates to handle replay safely.
- **[App Service](https://blowstack.com/tools/cloud-services-hub/app-service)**: Host an application API in App Service and access Azure Cosmos DB through a supported SDK. For example, a catalog API can use managed identity and NoSQL data-plane roles to read product documents without storing account keys. Reuse SDK clients and configure App Service networking and private DNS when accessing a private endpoint.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Send Azure Cosmos DB metrics and diagnostic logs to Azure Monitor for operational visibility. For example, alert on sustained throttling and correlate normalized RU consumption, request latency, and application failures to identify hot partitions or insufficient capacity. Enable only the required diagnostic categories and manage log retention to control monitoring costs.
- **[Azure Backup](https://blowstack.com/tools/cloud-services-hub/azure-backup)**: Use Azure Backup to protect supported Azure Cosmos DB accounts with vaulted backups isolated from the production account. For example, retain immutable recovery copies for regulatory requirements that exceed native continuous-backup retention. Configure retention, authorization safeguards, and recovery procedures, then test restores independently of regional failover.
- **[API Management](https://blowstack.com/tools/cloud-services-hub/api-management)**: Azure Cosmos DB for NoSQL can serve as a direct REST backend for API Management. An API gateway can authenticate to Cosmos DB with a managed identity and expose selected item operations without a separate application backend.
- **[Azure Advisor](https://blowstack.com/tools/cloud-services-hub/azure-advisor)**: Azure Cosmos DB accounts receive resource-specific recommendations in Azure Advisor. For example, Advisor can identify eligible workloads that could save money by switching from standard provisioned throughput to autoscale.
- **[Azure AI Bot Service](https://blowstack.com/tools/cloud-services-hub/azure-ai-bot-service)**: Azure Cosmos DB for NoSQL provides persistent bot state through the Bot Framework's Cosmos DB partitioned storage provider. A bot can resume a conversation after a restart or continue it on another instance.
- **[Azure Analysis Services](https://blowstack.com/tools/cloud-services-hub/azure-analysis-services)**: Azure Cosmos DB for NoSQL data can be imported into an Azure Analysis Services tabular model through the Azure Cosmos DB Power Query connector. For example, product documents can become a table in a semantic model used for reporting.
- **[Azure App Testing](https://blowstack.com/tools/cloud-services-hub/azure-app-testing)**: Azure Cosmos DB can be added as an application component in Azure Load Testing, part of Azure App Testing. During a test, database metrics such as request counts and request-unit consumption can be compared with application latency and errors.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Azure Cosmos DB stores periodic backups in Azure Blob Storage managed by the service. It can also archive diagnostic logs to a customer-selected Azure Storage account, such as for long-term retention of database request logs.
- **[Azure Chaos Studio](https://blowstack.com/tools/cloud-services-hub/azure-chaos-studio)**: Azure Cosmos DB accounts with a supported multi-region configuration can be targeted by the Cosmos DB failover fault in Chaos Studio. An experiment can move the write region to verify that applications reconnect and resume writes.
- **[Azure Container Apps](https://blowstack.com/tools/cloud-services-hub/azure-container-apps)**: Azure Cosmos DB can persist state for Azure Container Apps through the Cosmos DB state-store component in managed Dapr. For example, a container app can save workflow state through Dapr and recover it after a replica restarts.
- **[Azure Data Factory](https://blowstack.com/tools/cloud-services-hub/azure-data-factory)**: Azure Cosmos DB can act as a source or destination in Azure Data Factory pipelines through its built-in connectors. For example, a pipeline can transform incoming records and write them to a Cosmos DB for NoSQL container.
- **[Azure Database Migration Service](https://blowstack.com/tools/cloud-services-hub/azure-database-migration-service)**: Azure Cosmos DB for MongoDB can be a migration destination for supported MongoDB sources in Azure Database Migration Service. An online migration can copy collections and synchronize subsequent changes before cutover.
- **[Azure Databricks](https://blowstack.com/tools/cloud-services-hub/azure-databricks)**: Azure Cosmos DB for NoSQL has a Spark connector that lets Azure Databricks read and write container data and consume the change feed. A streaming job can process changed items as they arrive instead of repeatedly scanning the container.
- **[Azure DevOps](https://blowstack.com/tools/cloud-services-hub/azure-devops)**: Azure Cosmos DB provides an emulator that can run in Azure Pipelines for integration testing. A build can exercise container operations against the emulator without opening access to a production database or consuming its throughput.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: Azure Cosmos DB private endpoints use API-specific Azure Private DNS zones to resolve account names to private IP addresses. A private DNS zone group can maintain the records that clients need for the account's regional endpoints.
- **[Azure DocumentDB](https://blowstack.com/tools/cloud-services-hub/azure-documentdb)**: Azure Cosmos DB for MongoDB accounts that use request-unit throughput can serve as a source for migration to Azure DocumentDB. This gives applications a migration path to a MongoDB-compatible, vCore-based service.
- **[Azure ExpressRoute](https://blowstack.com/tools/cloud-services-hub/azure-expressroute)**: Azure Cosmos DB's public endpoints can be reached from on-premises over ExpressRoute Microsoft peering. If the account uses IP firewall rules, it can allow the public NAT addresses used by that peering.
- **[Azure Firewall](https://blowstack.com/tools/cloud-services-hub/azure-firewall)**: Azure Cosmos DB publishes the AzureCosmosDB service tag for use in Azure Firewall network rules. A rule can allow outbound traffic to Cosmos DB service IP ranges without maintaining individual prefixes.
- **[Azure IoT Hub](https://blowstack.com/tools/cloud-services-hub/azure-iot-hub)**: Azure Cosmos DB for NoSQL containers can be configured as custom endpoints for IoT Hub message routing. A route can write selected device telemetry directly into a container without an intermediary application.
- **[Azure Key Vault](https://blowstack.com/tools/cloud-services-hub/azure-key-vault)**: Azure Cosmos DB can use a customer-managed key in Azure Key Vault as an additional layer of encryption at rest. Applications can also store Cosmos DB credentials in Key Vault instead of embedding them in configuration files.
- **[Azure Kubernetes Service (AKS)](https://blowstack.com/tools/cloud-services-hub/azure-kubernetes-service-(aks))**: Azure Cosmos DB can be connected to workloads on Azure Kubernetes Service through Service Connector. The connection sets up the supported authentication and supplies the database connection settings to the workload.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: Azure Cosmos DB has built-in Azure Policy definitions for auditing and enforcing account settings. For example, a policy can require public network access to be disabled or audit accounts that do not use customer-managed keys.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: Azure Cosmos DB has dedicated account management and Data Explorer experiences in the Azure portal. From the portal, you can configure replication and throughput or open a container to query its items.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: Azure Cosmos DB supports Private Link endpoints that give clients private IP addresses for database access in a virtual network. Public network access can be disabled so clients connect through the private endpoints.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: Azure Cosmos DB accounts, databases, containers, and other child resources can be provisioned as Azure Resource Manager resource types. A declarative deployment can create a NoSQL container with its partition key, indexing policy, and throughput settings.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Azure Cosmos DB uses Azure RBAC to control management operations such as updating account settings or listing account keys. Azure Cosmos DB for NoSQL also has native data-plane roles that can grant access to a database or container without giving the caller account keys.
- **[Azure Service Health](https://blowstack.com/tools/cloud-services-hub/azure-service-health)**: Azure Cosmos DB account availability is reported through Resource Health in Azure Service Health. Service Health also reports regional Cosmos DB incidents and planned maintenance that affect a subscription.
- **[Azure Spring Apps](https://blowstack.com/tools/cloud-services-hub/azure-spring-apps)**: Azure Cosmos DB can be wired to an Azure Spring Apps workload through Service Connector. It supplies the connection configuration for the chosen Cosmos DB API, so the application does not need to hard-code the endpoint or credentials.
- **[Azure SRE Agent](https://blowstack.com/tools/cloud-services-hub/azure-sre-agent)**: Azure Cosmos DB has a workload troubleshooting capability built on Azure SRE Agent. It can correlate client telemetry with database diagnostics when investigating symptoms such as increased request latency or throttling.
- **[Azure Stream Analytics](https://blowstack.com/tools/cloud-services-hub/azure-stream-analytics)**: Azure Cosmos DB for NoSQL is a built-in output for Azure Stream Analytics jobs. A job can write filtered events or rolling aggregates directly to a container that an application queries.
- **[Azure Synapse Analytics](https://blowstack.com/tools/cloud-services-hub/azure-synapse-analytics)**: Azure Cosmos DB can expose operational data to Azure Synapse Analytics through Synapse Link. Synapse Spark and serverless SQL can query the analytical store without consuming the provisioned throughput used by transactional queries.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: Azure Cosmos DB can restrict access to selected Azure Virtual Network subnets through virtual network rules and the Azure Cosmos DB service endpoint. The account's public endpoint then accepts traffic from the permitted subnets under those rules.
- **[Foundry Agent Service](https://blowstack.com/tools/cloud-services-hub/foundry-agent-service)**: Azure Cosmos DB can store conversation and agent state in a customer-owned account for supported Foundry Agent Service setups. This keeps persisted agent state in the customer's Azure resources.
- **[HDInsight](https://blowstack.com/tools/cloud-services-hub/hdinsight)**: Azure Cosmos DB for NoSQL can be read from and written to by HDInsight Spark jobs through the Cosmos DB Spark connector. A batch job can process documents in parallel and write the results to a separate container.
- **[Logic Apps](https://blowstack.com/tools/cloud-services-hub/logic-apps)**: Azure Cosmos DB has a Logic Apps connector with database actions such as querying, creating, or updating documents. A workflow can look up an order document and record the result of an approval in the same container.
- **[Microsoft Defender for Cloud](https://blowstack.com/tools/cloud-services-hub/microsoft-defender-for-cloud)**: Azure Cosmos DB accounts can be protected by the Defender for Azure Cosmos DB plan in Microsoft Defender for Cloud. The plan detects suspicious database activity, such as unusual access or potential extraction of sensitive data, and raises security alerts.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Azure Cosmos DB for NoSQL accepts Microsoft Entra tokens for data-plane access by users, service principals, and managed identities when they have the required data roles. A Cosmos DB account can also use its own managed identity to access a customer-managed key.
- **[Microsoft Fabric](https://blowstack.com/tools/cloud-services-hub/microsoft-fabric)**: Azure Cosmos DB for NoSQL can continuously replicate supported operational data into OneLake through Fabric Mirroring. Fabric can query the mirrored data for analytics without running those queries against the operational containers.
- **[Microsoft Foundry](https://blowstack.com/tools/cloud-services-hub/microsoft-foundry)**: Azure Cosmos DB can be attached as a customer-managed resource in a Microsoft Foundry project configured for standard agents. The project supplies the Cosmos DB connection used to persist agent state in the customer's account.
- **[Microsoft Purview](https://blowstack.com/tools/cloud-services-hub/microsoft-purview)**: Azure Cosmos DB for NoSQL can be registered and scanned as a data source in Microsoft Purview. A scan catalogs database and container metadata so users can discover those assets in the data catalog.
- **[Microsoft Sentinel](https://blowstack.com/tools/cloud-services-hub/microsoft-sentinel)**: Azure Cosmos DB diagnostic logs can be ingested through the Azure Cosmos DB connector in Microsoft Sentinel. Security teams can investigate database activity alongside identity, network, and application logs.

## Alternatives to Azure Cosmos DB in other clouds

### AWS

**[Amazon DocumentDB (with MongoDB compatibility)](https://blowstack.com/tools/cloud-services-hub/amazon-documentdb-(with-mongodb-compatibility))**: Amazon DocumentDB and Azure Cosmos DB are managed document databases that support MongoDB workloads through DocumentDB’s MongoDB-compatible API and Azure Cosmos DB’s API for MongoDB, respectively. DocumentDB bills provisioned instances by runtime, while Cosmos DB bills provisioned throughput based on capacity measured in request units per second (RU/s).

| | Azure Cosmos DB | Amazon DocumentDB (with MongoDB compatibility) |
| --- | --- | --- |
| Provisioned capacity billing | Provisioned throughput (RU/s) | Instance runtime |
| Discount commitment terms | 1 or 3 years | 1 year |
| Free usage | Free tier for eligible accounts | 30-day trial for new customers |

Compared Nov 2026.

**[Amazon DynamoDB](https://blowstack.com/tools/cloud-services-hub/amazon-dynamodb)**: Amazon DynamoDB and Azure Cosmos DB are fully managed NoSQL databases that scale throughput and replicate data across regions. DynamoDB supports atomic transactions across tables and bills on-demand reads and writes per request, while Azure Cosmos DB for NoSQL limits transactional batches to one logical partition and Cosmos DB serverless bills by request units consumed.

| | Azure Cosmos DB | Amazon DynamoDB |
| --- | --- | --- |
| Transaction scope | One logical partition (API for NoSQL) | Across one or more tables |
| Consumption billing | Per request unit (RU) consumed | Per read or write request |
| Query model | SQL-like queries over JSON | Partition and sort key queries |

Compared Nov 2026.

**[Amazon Keyspaces (for Apache Cassandra)](https://blowstack.com/tools/cloud-services-hub/amazon-keyspaces-(for-apache-cassandra))**: Amazon Keyspaces and Azure Cosmos DB are managed NoSQL databases that support Cassandra workloads and multi-region replication. Keyspaces focuses on Cassandra compatibility and meters on-demand reads and writes separately, while Cosmos DB offers Cassandra as one of several APIs and uses a common request unit for database operations.

| | Azure Cosmos DB | Amazon Keyspaces (for Apache Cassandra) |
| --- | --- | --- |
| Database APIs | Cassandra, NoSQL, and other APIs | Cassandra-compatible API |
| On-demand request metering | Request units across operations | Separate read and write request units |
| Discount commitments | 1- or 3-year throughput reservation | 1-year hourly spend commitment |

Compared Nov 2026.

**[Amazon Neptune](https://blowstack.com/tools/cloud-services-hub/amazon-neptune)**: Amazon Neptune and Azure Cosmos DB’s Gremlin API both offer managed graph queries with Gremlin, while Neptune also supports openCypher for property graphs and SPARQL for RDF. Provisioned Neptune compute is billed by instance-hour, while Cosmos DB charges for provisioned throughput in request units per second.

| | Azure Cosmos DB | Amazon Neptune |
| --- | --- | --- |
| Graph query languages | Gremlin | Gremlin, openCypher, SPARQL |
| Provisioned billing basis | Provisioned RU/s over time | Instance-hours by class and region |
| Serverless billing basis | Request units consumed | Capacity units per second |

Compared Nov 2026.

## What is Azure Cosmos DB

Azure Cosmos DB is designed for operational applications that need predictable data access as traffic, data volume, and geographic reach grow. Microsoft manages the underlying infrastructure, patching, replication, and physical partition management. Engineers remain responsible for choosing partition keys, modeling documents around access patterns, configuring indexes, and selecting throughput and reliability settings.

For new document-oriented applications, Azure Cosmos DB for NoSQL provides JSON storage, SQL-like queries, and native SDKs. Compatibility APIs include MongoDB, Apache Cassandra, Gremlin, and Table; protocol compatibility does not imply complete behavioral equivalence with the original database. Features, limits, authentication options, and integration support vary by API, so validate the selected API against application requirements before migration.

Partition-key design is a primary architectural decision. Choose keys that distribute storage and request traffic while allowing frequent queries to target a limited set of partitions. A tenant identifier can provide useful query locality, but a very large or unusually active tenant can create an uneven workload. Hierarchical partition keys can support more granular distribution for appropriate NoSQL workloads. Point reads using both the item identifier and partition key are generally more efficient than queries that search for the same item.

Database operations consume request units, or RUs, which represent their resource cost. Provisioned throughput reserves RU/s, autoscale adjusts provisioned throughput within configured bounds, and serverless charges for consumed request units. Measure representative reads, writes, and queries rather than sizing from document count alone. Large documents, extensive indexing, and cross-partition queries can increase consumption. Monitor throttling and SDK diagnostics, and use bounded retries that respect server retry guidance.

Configure regional replication and failover according to latency, availability, and recovery requirements. Multi-region writes are available for supported configurations, but require deliberate conflict-resolution design. The five consistency levels are strong, bounded staleness, session, consistent prefix, and eventual. Their availability and behavior depend on the account configuration and API; stronger consistency can increase latency or read cost. Use SDK regional preferences and test application behavior during regional failures.

For NoSQL applications, transactions through transactional batches are scoped to a single logical partition. Model related updates accordingly rather than assuming relational joins or unrestricted distributed transactions. Automatic indexing simplifies initial development, but production indexing policies should match actual query patterns. Vector indexes allow embeddings to be stored and searched alongside operational documents for retrieval and recommendation scenarios.

Use change feed processing to maintain derived views, update search indexes, or trigger downstream workflows. Consumers should tolerate retries and duplicate processing. Latest-version change feed is not a complete audit history and does not capture deletes; select a suitable feed mode or explicitly model deletion events when downstream systems must observe them.

Secure access with supported identity-based authorization, least-privilege permissions, and appropriate network controls. Enable diagnostic telemetry and configure backups before production deployment. Native continuous backup supports point-in-time recovery, while Azure Backup adds isolated, immutable long-term protection. Replication protects availability but does not replace backups against accidental deletion or application-level corruption.
