Atlas 支持在 Microsoft Azure 上部署集群。
可用区和支持的地区
Atlas supports the following Azure regions and Availability Zones. While all of the following regions support dedicated clusters (M10+), some regions don't support Free clusters (formerly known as M0) or Flex clusters. The Atlas API uses the corresponding Atlas Region.
注意
Clusters spun up in an Atlas organization created through Azure Native Integration aren't limited to the specific Azure region where the organization is based. Clusters can be deployed in any of the 40+ worldwide Azure regions in which Atlas is supported. The organization region is only required to fit the Azure resource requirements and has no impact on the regions where clusters in the organization are deployed.
重要
我们建议您使用下表中标有星号 () 的区域仅作为多区域集群中的从节点灾难恢复 (DR) 区域,因为这些区域的成本高于表中的其他区域。
此外,未经 Azure 支持批准,这些区域可能无法在 Azure 环境中使用。如果您想利用私有网络选项(例如 vNet 对等互连或私有终结点),将集群部署在一个或多个区域,则必须允许您的 Azure 订阅在这些区域中创建资源。要了解更多信息,请联系 Azure 支持。
Azure 区域 | 地点 | Atlas 区域 | Free 支持
| Flex 支持
| M10+ 支持
| 可用区 |
|---|---|---|---|---|---|---|
| Iowa, USA |
| ||||
| 弗吉尼亚州(美国东部) |
| ||||
| Virginia, USA |
| ||||
| Illinois, USA |
| ||||
| 美国加利福尼亚州 |
| ||||
| 美国华盛顿州 |
| ||||
| Arizona, USA |
| ||||
| Wyoming, USA |
| ||||
| Texas, USA |
| ||||
| 巴西圣保罗 |
| ||||
| Rio de Janeiro, Brazil |
| ||||
| 加拿大魁北克省魁北克市 |
| ||||
| 加拿大安大略省多伦多 |
| ||||
| Santiago |
| ||||
| 墨西哥克雷塔罗州 |
|
Azure 区域 | 地点 | Atlas 区域 | Free 支持
| Flex 支持
| M10+ 支持
| 可用区 |
|---|---|---|---|---|---|---|
| 爱尔兰 |
| ||||
| 荷兰 |
| ||||
| 英国英格兰伦敦 |
| ||||
| 英国威尔士卡迪夫 |
| ||||
| 法国巴黎 |
| ||||
| 法国马赛 |
| ||||
| 意大利米兰 |
| ||||
| 德国法兰克福 |
| ||||
| 德国柏林 |
| ||||
| 波兰华沙 |
| ||||
| 苏黎世瑞士 |
| ||||
| 瑞士日内瓦 |
| ||||
| 挪威奥斯陆 |
| ||||
| 挪威斯塔万格 |
| ||||
| 瑞典耶夫勒 |
| ||||
| 瑞典斯塔凡斯托普 |
| ||||
| 西班牙马德里 |
|
Azure 区域 | 地点 | Atlas 区域 | Free 支持
| Flex 支持
| M10+ 支持
| 可用区 |
|---|---|---|---|---|---|---|
| 中国香港 |
| ||||
| 新加坡 |
| ||||
| 澳大利亚堪培拉 |
| ||||
| 澳大利亚堪培拉 |
| ||||
| 澳大利亚新南威尔士州 |
| ||||
| 澳大利亚维多利亚州 |
| ||||
| 浦那(印度中部) |
| ||||
| Chennai, India |
| ||||
| 印度孟买 |
| ||||
| Jakarta |
| ||||
| Tokyo, Japan |
| ||||
| 日本大阪 |
| ||||
| Seoul, South Korea |
| ||||
| 韩国釜山 |
| ||||
| 马来西亚 |
| ||||
| 新西兰奥克兰 |
|
Azure 区域 | 地点 | Atlas 区域 | Free 支持
| Flex 支持
| M10+ 支持
| 可用区 |
|---|---|---|---|---|---|---|
| 南非约翰内斯堡 |
|
Azure 区域 | 地点 | Atlas 区域 | Free 支持
| Flex 支持
| M10+ 支持
| 可用区 |
|---|---|---|---|---|---|---|
| Dubai, UAE |
| ||||
| 阿联酋阿布扎比 |
| ||||
| Qatar |
| ||||
| 以色列 |
| ||||
| 南非约翰内斯堡 |
| ||||
| 南非开普敦 |
|
扩展存储/IOPS 支持区域
Atlas支持以下 Azure 区域中的 NVMe 存储 和 扩展存储/IOPS 。
注意
这些区域中在 11 月1 、2024 之后创建的集群支持扩展存储。随着时间的推移,在此日期之前已存在于这些区域的集群将自动支持扩展存储。要在 11 月 之前创建的集群上启用扩展存储,1 2024更早,联系MongoDB支持部门。
Azure 区域 | 地点 | Atlas 区域 | NVMe 支持 | 扩展存储/IOPS |
|---|---|---|---|---|
| Iowa, USA |
| ||
| 弗吉尼亚州(美国东部) |
| ||
| Virginia, USA |
| ||
| Illinois, USA |
| ||
| 美国加利福尼亚州 |
| ||
| 美国华盛顿州 |
| ||
| Arizona, USA |
| ||
| Wyoming, USA |
| ||
| Texas, USA |
| ||
| 巴西圣保罗 |
| ||
| Rio de Janeiro, Brazil |
| ||
| 加拿大魁北克省魁北克市 |
| ||
| 加拿大安大略省多伦多 |
| ||
| Santiago |
| ||
| 墨西哥克雷塔罗州 |
|
Azure 区域 | 地点 | Atlas 区域 | NVMe 支持 | 扩展存储/IOPS |
|---|---|---|---|---|
| 爱尔兰 |
| ||
| 荷兰 |
| ||
| 英国英格兰伦敦 |
| ||
| 英国威尔士卡迪夫 |
| ||
| 法国巴黎 |
| ||
| 法国马赛 |
| ||
| 意大利米兰 |
| ||
| 德国法兰克福 |
| ||
| 德国柏林 |
| ||
| 波兰华沙 |
| ||
| 苏黎世瑞士 |
| ||
| 瑞士日内瓦 |
| ||
| 挪威奥斯陆 |
| ||
| 挪威斯塔万格 |
| ||
| 瑞典耶夫勒 |
| ||
| 瑞典斯塔凡斯托普 |
| ||
| 西班牙马德里 |
|
Azure 区域 | 地点 | Atlas 区域 | NVMe 支持 | 扩展存储/IOPS |
|---|---|---|---|---|
| 中国香港 |
| ||
| 新加坡 |
| ||
| 澳大利亚堪培拉 |
| ||
| 澳大利亚堪培拉 |
| ||
| 澳大利亚新南威尔士州 |
| ||
| 澳大利亚维多利亚州 |
| ||
| 浦那(印度中部) |
| ||
| Chennai, India |
| ||
| 印度孟买 |
| ||
| Jakarta |
| ||
| Tokyo, Japan |
| ||
| 日本大阪 |
| ||
| Seoul, South Korea |
| ||
| 韩国釜山 |
| ||
| 马来西亚 |
| ||
| 新西兰奥克兰 |
|
Azure 区域 | 地点 | Atlas 区域 | NVMe 支持 | 扩展存储/IOPS |
|---|---|---|---|---|
| Dubai, UAE |
| ||
| 阿联酋阿布扎比 |
| ||
| Qatar |
| ||
| 以色列 |
| ||
| 南非约翰内斯堡 |
| ||
| 南非开普敦 |
|
集群配置选项
每个 Atlas 集群层均附带一组默认资源。 Atlas提供以下资源配置选项:
- 自定义存储大小
服务器根卷的大小。部署到Azure上的Atlas集群使用高级固态硬盘 。 [1]
注意
RAM 可用性
由于内核保留的内存, 每个集群层可用的实际 RAM 数量可能略低于所述内存数量。
注意
截至 10 月 18、2021,部署到Azure 的以下Atlas集群提供 16、000 IOPS(高于 7、500)和 500 MB/秒吞吐量(高于 250 MB/秒):
具有 4 TB 存储卷的新集群。
可扩展到 4 TB 存储卷的现有集群。
以下是可用的集群层:
Cluster Tiers存储范围默认存储默认 RAMM0
.5 GB
.5 GB
共享
Flex
5 GB
5 GB
Flex
M10
8 GB 至 128 GB
8 GB
2 GB
M20
8 GB 至 256 GB
16 GB
4 GB
M30
8 GB 至 512 GB
32 GB
8 GB
M40
8 GB 至 1 TB
64 GB
16 GB
M40 低 CPU
8 GB 至 1 TB
128 GB
16 GB
M50
8 GB 至 4 TB
128 GB
32 GB
M50 低 CPU
8 GB 至 4 TB
128 GB
32 GB
M60
8 GB 至 4 TB
128 GB
64 GB
M60_NVME
1600 GB
1600 GB
64 GB
M60 低 CPU
8 GB 至 4 TB
128 GB
64 GB
M80
8 GB 至 4 TB
256 GB
128 GB
M80 低 CPU
8 GB 至 4 TB
256 GB
128 GB
M80_NVME
1600 GB
1600 GB
128 GB
M200
8 GB 至 4 TB
256 GB
256 GB
R200
8 GB 至 4 TB
256 GB
256 GB
M200_NVME
3100 GB
3100 GB
256 GB
R300
8 GB 至 4 TB
512 GB
384 GB
M300_NVME
3,600 GB
3,600 GB
384 GB
R400
8 GB 至 4 TB
512 GB
432 GB
M400_NVME
4000 GB
4000 GB
512 GB
M600_NVME
4000 GB
4000 GB
640 GB
可以将此层用于多云集群。
在以下地区不可用:
germanywestcentral
switzerlandnorth
switzerlandwest
注意
集群层级和 API 命名约定
For purposes of management with the Atlas Administration API, cluster tier names that are prepended with
Rinstead of anM(R40for example) run a low-CPU version of the cluster. When creating or modifying a cluster with the API, be sure to specify your desired cluster class by name with thereplicationSpecs[n].regionConfigs[m].electableSpecs.instanceSizeattribute.工作负载通常需要低于
2TB。
Atlas 自动配置以下资源,且不允许用户修改:
- 已加密存储卷
- Azure 存储卷始终处于加密状态。
Azure 可用性区域
Azure 在每个区域维护多个数据中心。Azure 将数据中心划分为可用区,这些可用区是区域内的独立位置。在不同的物理位置维护数据中心有助于 Azure 承受本地故障。
Azure 可用区并非在所有地区都可用。要了解哪些 Azure 地区维护可用性区域,请参阅 Azure 地区表。在尚无可用性区域的地区,Azure 使用故障域确保容错能力。
Atlas 会在您将专用集群部署到支持 Azure 可用性区域的地区时,自动使用 Azure 可用性区域。Atlas 会将集群节点分割到不同的可用性区域。例如,三节点副本集群会在每个区域上部署一个节点。托管一个节点的 Azure 数据中心出现本地故障不会影响托管其他节点的数据中心的操作。
注意
具有可用区的区域可为 9 月 12 日 (2019) 之后部署的专用集群提供更长的正常运行时间。对于 9 月 13 日 (2019) 之前部署的集群,如果所在地区目前有可用区,则这些集群不自动在可用区之间分割。要了解有关可用区的更多信息,请参阅 Azure 的文档。
Azure 容错域
每个 Azure 区域均包括一定数量的容错域以实现容错性。容错域由一组共享公用电源和网络交换机的虚拟机组成。如果您将集群部署到不支持可用性区域的地区,Atlas 会将节点分布到不同的容错域。
Atlas使用可用性集跨故障域部署集群。对于至少有三个故障域(3 FD) 的区域, Atlas跨三个故障域部署集群。对于只有两个故障域 (2 FD) 的区域, Atlas跨两个故障域部署集群。
Atlas“添加新集群”表单将支持3FD 集群的区域标记为 Recommended,因为它们提供更高的可用性。
地区中故障域的数量对 Atlas可以部署 MongoDB 节点的数量没有影响。 MongoDB Atlas 集群总是由至少有三个 MongoDB 节点的副本集组成。
有关 Azure 容错域和可用性集的一般信息,请参阅可用性集概述
具有至少三个故障域的区域
如果所选的 Azure 区域至少有三个故障域,则 Atlas 集群将拆分到三个容错域。例如,三节点副本集集群会在每个区域上部署一个节点。
与 2FD 集群相比,3FD 集群具有更高的可用性。然而,并非所有地区都支持3FD 集群。
仅有两个容错域的区域
如果所选的 Azure 地区有两个故障域,则 Atlas 集群将拆分到两个容错域。例如,三节点副本集集群会将两个节点部署到一个区域,将其余节点部署到另一区域。
在区域丢失的事件,2FD 集群比 3FD 集群更有可能失去可用性。但是,在延迟或位置为优先级的情况下,支持 2FD 集群的地区可能是首选。
| [1] | 有关 Azure 存储选项的详细文档,请参阅虚拟机高性能高级存储和托管磁盘 |
自适应容量
Adaptive capacity is a feature of Azure instances that Atlas uses to help keep your cluster available when an Azure region is temporarily out of capacity for the instance type that your cluster uses. Atlas enables adaptive capacity by default for clusters on Azure that have at least one node.
注意
AZURE capacity reservations are not the same as Atlas's use of Azure adaptive capacity. Atlas respects Azure capacity reservations and uses the logic described in this section.
When an Azure region temporarily runs out of capacity for the instance type that your cluster uses, you might be unable to scale the cluster, and Atlas might be unable to replace a node during automatic recovery. To keep your cluster available, Atlas provisions an alternate instance type with available capacity and moves the cluster to it temporarily.
自适应容量的工作原理
When Atlas detects that the Azure instance type your cluster uses is out of capacity, Atlas provisions an alternate instance type with available capacity and moves your cluster to it temporarily so the cluster can continue running. Atlas selects the alternate instance type from the same cluster class and doesn't move your data.
Atlas 仅在您更改集群的计算资源时使用自适应容量,例如:
在添加节点或分片时,Atlas 不使用自适应容量。
替代实例类型可使集群可用,而且更改不会导致停机。替代实例类型的性能可能低于原始实例类型,因此,在 Atlas 将集群返回原始实例类型之前,应用程序可能会出现 CPU 使用率较高、延迟增加或超时等情况。
当原始实例类型返回到可用容量时,Atlas 会自动将集群返回到该实例类型。如果定义了维护窗口,Atlas 将遵循该窗口。
支持的集群
On Azure, Atlas uses adaptive capacity for dedicated clusters M30 and larger that have at least one node. Adaptive capacity is available for these clusters in all Azure regions listed in Supported Regions. Atlas doesn't use adaptive capacity for M10 clusters, Free clusters, or Flex clusters.
For M20 clusters, adaptive capacity is available only in Azure regions that offer alternative instance families as fallback. If the M20 instance type itself runs out of capacity, Atlas cannot fall back to an alternate instance type.
如果您选择的 M10 或 M20 实例类型没有可用容量,Atlas 将在 Atlas 用户界面中通知您。要部署集群,请执行以下操作之一:
Select a different Azure region. To review available Azure regions, see Supported Regions.
选择较大的集群层级(
M30或更大)。等待容量返回。
容量短缺是临时的。当云提供商在该区域恢复容量时,实例类型将再次可用。
Atlas 不会对使用 NVMe 存储的集群使用自适应容量,因为 Atlas 会将其存储与实例类型绑定。
当 Atlas 因容量限制而预配替代实例类型时,它不会改变集群的价格。
选择退出自适应容量
We recommend that you enable adaptive capacity to maintain the availability of your cluster during Azure capacity shortages. Atlas enables adaptive capacity by default. You can opt out of using adaptive capacity for an individual cluster. When you opt out, Atlas keeps your cluster on its original instance type, and a capacity shortage might prevent you from scaling the cluster.
要退出 Atlas 自适应容量变更,请参阅 Azure 集群的自适应容量。
专用搜索节点
支持区域
Atlas 支持在 Azure 上为 M10 及更高版本的集群部署单独的搜索节点。
Atlas doesn't support Search Nodes in the following Azure regions:
地区名称 | Azure 区域 |
|---|---|
AUSTRALIA_CENTRAL_2 |
|
AUSTRALIA_SOUTH_EAST |
|
BRAZIL_SOUTHEAST |
|
CANADA_EAST |
|
GERMANY_NORTH |
|
INDIA_WEST |
|
INDIA_SOUTH |
|
ITALY_NORTH(仅适用于低 CPU 搜索节点) |
|
JAPAN_WEST |
|
KOREA_SOUTH |
|
NORWAY_WEST |
|
SOUTH_AFRICA_WEST |
|
SPAIN_CENTRAL |
|
SWEDEN_SOUTH |
|
SWITZERLAND_WEST |
|
UAE_CENTRAL |
|
UK_WEST |
|
US_WEST_CENTRAL |
|
US_WEST |
|
可用搜索层级
Atlas 为部署在 Azure 上的搜索节点提供不同的搜索层级。
下表列出了各类硬件(低 CPU 和高 CPU)可用的搜索层,默认RAM和存储以千兆字节 (GiB) 为单位:
实例大小 | 实例详细信息 |
|---|---|
S40 |
|
S50 |
|
S60 |
|
S80 |
|
S90 |
|
S100 |
|
S110 |
|
S130 |
|
S135 |
|
实例大小 | 实例详细信息 |
|---|---|
S10 |
|
S20 |
|
S30 |
|
S40 |
|
S50 |
|
S60 |
|
S70 |
|
S80 |
|
Stream Processing 工作区
重要
如需请求未列出的区域,请将您的反馈添加到MongoDB 反馈门户。您的反馈有助于优先规划未来扩展 Atlas Stream Processing 的覆盖范围。
Atlas 支持在以下 Azure 区域部署 Stream Processing 工作区:
Azure 区域 | 地点 | Atlas 区域 |
|---|---|---|
| Virginia, USA |
|
| Virginia, USA |
|
| 美国加利福尼亚州 |
|
| 巴西圣保罗 |
|
Azure 区域 | 地点 | Atlas 区域 |
|---|---|---|
| 澳大利亚新南威尔士州 |
|
| 中国香港 |
|
| 新加坡 |
|
Azure 区域 | 地点 | Atlas 区域 |
|---|---|---|
| 爱尔兰 |
|
| 荷兰 |
|
Integrations
除了全球区域支持以外,以下产品集成使得在 Azure 上运行的应用程序(如 Azure 虚拟机、Azure Functions 和 Azure 容器实例)能够轻松安全地使用 Atlas 实例。
网络服务
Azure 虚拟网络:设置与 Azure 的网络对等连接
Azure 专用链接:使用 Azure 设置专用端点
Azure Key Vault:
安全和身份服务
Microsoft Entra ID:为 MongoDB 用户界面配置联合身份验证
Microsoft Entra ID 域服务:配置数据库用户验证和授权
采购
- Azure Marketplace:通过 Azure 支付 Atlas 使用费用
与其他 Azure 服务的集成
Azure Databricks:使用 Databricks 和 Apache Spark 读取和写入到 Atlas
Microsoft Fabric:将 Atlas 数据镜像到 OneLake,以进行近实时分析
Azure原生集成:从Azure创建Atlas组织,计费的自助服务
详细信息
有关如何最有效地将 Azure 与 Atlas 结合使用的详细信息,请查看以下最佳实践、指南和案例研究:
Power BI Desktop:从 Power BI Desktop 连接到 Atlas
Visual Studio (VS) Code:通过 VS Code 使用 MongoDB