You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure Cosmos DB模拟器能否在无法连接Azure甚至断网环境中使用?

Can the Azure Cosmos DB Emulator Run Without Azure/Internet Access?

Great question! The Azure Cosmos DB Emulator was built precisely for situations like yours—where you can't access Azure or even have an internet connection due to security restrictions. Here's what you need to know:

Core Offline Functionality

  • 100% Local Execution: Once installed, the emulator runs entirely on your local machine. It doesn't require any internet access or connection to Azure cloud services to operate. All data and operations stay confined to your device.
  • Matches Cloud Cosmos DB Features: You’ll get access to nearly all the core capabilities you’d use in the cloud: creating databases/containers, running SQL queries, using your preferred SDKs (Python, .NET, Java, etc.), testing change feeds, and more—all without leaving your offline environment.
  • No Azure Account Needed: Unlike the cloud service, you don’t need an active Azure subscription or account to use the emulator. It’s a standalone tool that mimics Cosmos DB’s API endpoints locally.

One Critical Pre-Requisite

You’ll need internet access only once—during the initial installation of the emulator. The installer needs to download the necessary files from Microsoft’s servers. But once the installation is complete, you can disconnect from the network entirely and still run the emulator without issues.

Quick Connection Tip

When connecting your project to the emulator, use the local endpoint (usually https://localhost:8081) and the preconfigured primary key provided with the tool. No cloud-based auth tokens or external network routing is required.

内容的提问来源于stack exchange,提问作者Sehun Park

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.14 06:23:44