November 23rd, 2026
0 reactions

More deployment choice for open-source DocumentDB with Azure Arc and Azure Local

Principal Program Manager

The right place for an application is not always an Azure region. Your team may need to work alongside existing systems in a datacenter, explore an application in another cloud, or bring data closer to devices at the edge. Evaluating a document database should start with those application needs.

Open-source DocumentDB gives developers a familiar, MongoDB API compatible database to evaluate across compatible customer-managed environments, using Kubernetes for deployment and Azure Arc for connected management. Azure Local provides an infrastructure option for teams hosting applications and data on customer-owned hardware.

The value is deployment choice: explore DocumentDB alongside your application, work with familiar database clients and APIs, and decide how database operations fit into your team’s existing responsibilities. This post introduces the preview, the scenarios it can help you evaluate, and a practical starting point.

Start with the application you want to build

Consider these evaluation scenarios:

  • Keep the database close to an existing application. Prototype a product catalog or device-inventory service alongside the systems it works with, then measure query behavior and latency in your environment.
  • Explore a hybrid or multicloud deployment. Evaluate DocumentDB in the infrastructure you already operate, using familiar database APIs while connecting cluster management to Azure.
  • Bring document data to edge applications. Explore document storage near retail equipment, industrial devices, appliances, or vehicles where a suitable Kubernetes environment is available.
  • Plan an application on Azure Local. Assess how a document database could fit alongside applications on customer-owned infrastructure.

Start with a representative application workflow and the questions you want to answer. Review the preview scope and limitations before choosing an environment.

Azure Arc connects. Azure Local hosts.

Azure Arc-enabled Kubernetes connects your Kubernetes cluster to Azure management. The database runs on your infrastructure, while the connected management plane remains in Azure.

Azure Local supplies infrastructure on customer-owned hardware and uses Azure Arc for Azure management. Kubernetes can run on that infrastructure, so Arc and Azure Local can be used together. Their roles are complementary, rather than a choice between an “on-premises” product and an “edge” product.

The DocumentDB Kubernetes operator is the deployment and management component for open-source DocumentDB. The Arc extension installs the operator components; you then create database deployments through Kubernetes custom resources. PostgreSQL provides storage, and a MongoDB API compatible gateway provides application access.

Conceptual architecture showing the Azure management plane connected through Azure Arc to customer-managed Kubernetes containing the DocumentDB operator, PostgreSQL and DocumentDB, and a MongoDB-compatible gateway, with other infrastructure or Azure Local as hosting options.

Azure Arc connects the environment to Azure management; the DocumentDB Kubernetes operator manages database workloads in your cluster.

Work with familiar database tools

Start with the application’s essentials: create databases and collections, run CRUD operations, and evaluate aggregation queries using MongoDB API compatible clients.

For platform teams, kubectl and DocumentDB custom resources provide the database lifecycle workflow. The portal’s Kubernetes resource view lets authorized users inspect workloads, services, and storage, and edit supported objects as YAML.

The Arc preview also includes operational capabilities to evaluate:

  • Local high availability: Automatic failover within a single Kubernetes cluster.
  • Monitoring: Opt-in OpenTelemetry metrics with OTLP or Prometheus export, alongside status, logs, and events. You provide the monitoring backend.
  • Backup and restore: On-demand or scheduled CSI snapshots, with retention and restore into a new cluster.
  • Compute and storage adjustments: Configure CPU and memory, use one to three instances per logical node, and grow persistent volume claims.

Your team operates the infrastructure and database, including access, configuration, monitoring, and troubleshooting. For implementation background and operating guidance, see the DocumentDB Kubernetes operator documentation.

Preview scope and limitations

Microsoft provides no support for this DocumentDB capability during preview. Do not use it for production workloads. This restriction does not change the support terms for the underlying Azure Arc, Azure Local, or Kubernetes infrastructure services.

Plan your evaluation around these boundaries:

  • Environment compatibility: Check the Kubernetes, runtime, storage, and package combination for your environment. The scenarios and diagram above are not validated platform configurations or production reference architectures. Exact Azure Local configurations and Arc/Local feature parity remain unconfirmed. A Kind deployment or successful extension installation does not establish Azure Local validation or application compatibility.
  • Connectivity and data placement: Disconnected operation remains unconfirmed. Local or edge placement does not remove Azure connectivity, registry, or telemetry dependencies, or establish that all operational data stays local.
  • Feature scope: Cross-cluster replication and promotion, horizontal distributed scaling, multishard deployments, full-text search, and DiskANN are excluded. The instances per logical node described above are not distributed sharding. Point-in-time recovery, in-place restore, and storage shrinking are not included. Snapshot backup requires CSI snapshot support; volume growth requires a compatible CSI driver and StorageClass.
  • Management boundaries: The portal provides a generic Kubernetes view, not a dedicated DocumentDB administration or query interface. There is no dedicated DocumentDB Azure Resource Manager resource provider for database creation through the portal or Azure CLI. Managed Azure DocumentDB deployment templates do not apply, and Arc onboarding does not install a local Azure portal or make the database a managed Azure service.
  • Access and versions: Confirm subscription and region access; selecting the preview release train does not grant access. Upstream operator releases and the Arc extension have separate lifecycles. Match guidance to the deployed package rather than assuming newer upstream features or standalone operator upgrade instructions apply to the Arc extension.
  • Safe test connections: Use synthetic data. The Kind quickstart’s certificate-validation bypass is limited to disposable localhost evaluation; it does not verify server identity and must not be copied into remote or production connections.

Get started with a disposable Kind environment

Use the DocumentDB with Azure Arc Kind quickstart to try the workflow on a local Kubernetes test cluster. Kind lets you begin with a small, disposable environment before evaluating the infrastructure you have in mind.

The quickstart takes you through a focused workflow:

  1. Prepare a local Bash environment and verify Docker connectivity. On Windows, follow the WSL requirements rather than substituting PowerShell or Git Bash.
  2. Create a dedicated Kind cluster, connect it to Arc, and install the required components.
  3. Create credentials and a DocumentDB custom resource, then check database readiness independently of extension provisioning.
  4. Connect with mongosh, insert and retrieve a test document, and clean up the disposable resources.

An acknowledged write and matching read provide a useful first milestone. Next, try a representative application query and inspect the database resources and events to evaluate how DocumentDB fits your workload.

For planning details, read the DocumentDB with Azure Arc overview and the DocumentDB on Azure Local overview. Start with an application question, use the quickstart to build familiarity, and share what you learn.

Have feedback on the operator or its documentation? Share a reproducible example through the operator repository, without credentials or sensitive data.

About Azure DocumentDB

Azure DocumentDB is the fully managed database service in Azure. If your goal is to build an application without operating the database infrastructure, explore that service separately. Running open-source DocumentDB on your Kubernetes infrastructure with Azure Arc or Azure Local is a different operating model: you retain responsibility for the environment and database operations.

Category

Author

Theo van Kraay
Principal Program Manager

Principal Program Manager on the Azure Cosmos DB engineering team. Currently focused on AI, programmability, and developer experience for Azure Cosmos DB.

0 comments