在组织和项目层次结构中,一个组织可以包含多个项目(以前称为群组)。在此结构下:
计费在组织层面进行,同时保持对每个项目使用情况的可见性。
您可以查看组织内的所有项目。
您可以使用团队将组织用户批量分配给组织内的项目。
To learn about recommendations for organizations, including organization hierarchy, see Recommendations for Atlas Orgs, Projects, and Clusters in the Atlas Architecture Center.
创建组织
在创建组织时,您将添加为组织的 Organization Owner。
输入新组织的名称。
重要
不要在组织名称中包含敏感信息。
选择 Atlas 并单击 Next(下一步)。
You have the option of adding a new Cloud Manager organization or a new Atlas organization. For more information on Cloud Manager see the documentation.
(可选)禁用 Atlas Administration API 的 IP 访问列表要求。
使用 Atlas UI 创建新组织时,Atlas 默认需要 Atlas Administration API 的 IP 访问列表。如果需要 IP 访问列表,那么 Atlas Administration API 密钥在发起 API请求时只能从您在 IP 访问列表中指定的基于位置的 IP 或 CIDR 地址发出。
要禁用 IP 访问列表要求并允许您的 Atlas Administration API 密钥从互联网上的任何地址发出请求,请将Require IP Access List for the Atlas Administration API(需要针对 Atlas Administration API 的 IP 访问列表)切换到 OFF(关闭)。
要学习;了解更多信息,请参阅可选:需要IP访问列表。
查看组织
要列出使用 Atlas CLI 的所有组织,请运行以下命令:
atlas organizations list [options]
要使用 Atlas CLI 返回指定组织的详细信息,请运行以下命令:
atlas organizations describe <ID> [options]
To learn more about the syntax and parameters for the previous commands, see the Atlas CLI documentation for atlas organizations list and atlas organizations describe.
离开组织
重要
要退出组织,必须至少存在另一个用户以作为组织的所有者。
重命名组织
您必须具有组织的 Organization Owner 角色,才能重命名该组织。
在 Atlas 中,转到 Organization Settings(项目设置)页面。
如果尚未显示,组织从导航栏中的Organizations菜单。
在侧边栏中,单击 Organization Settings。
显示“组织设置”页面。
删除组织
重要
要删除组织,您必须具有该组织的 Organization Owner 角色。
您无法删除具有活动项目的组织。您必须先删除组织的项目,然后才能删除组织。
您无法删除未付款的组织。要了解更多信息,请参阅发票和付款故障排除。
If you have a Backup Compliance Policy enabled, you can't delete a project if any snapshots exists. If you can't remove all projects, you can't delete the organization.
要使用 Atlas CLI 删除组织,请运行以下命令:
atlas organizations delete <ID> [options]
To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas organizations delete.
在 Atlas 中,转到 Organization Settings(项目设置)页面。
如果尚未显示,组织从导航栏中的Organizations菜单。
在侧边栏中,单击 Organization Settings。
显示“组织设置”页面。
在 General Settings 标签页中,单击 Delete。这将显示 Delete Organization 对话框。