1.4. Microsoft Azure 上的 Ansible Automation Platform 基础架构使用
在 Microsoft Azure 上安装 Ansible Automation Platform 时,以下基础架构会部署到 Microsoft Azure 订阅中:
- 受管身份
- 启用 Ansible Automation Platform 组件与其他 Microsoft Azure 服务(如数据库、DNS、存储和其他服务)通信的 Microsoft Azure 服务。
- 密钥库
- 用于存储对 Ansible Automation Platform 部署是唯一的 secret 的安全密钥库。
- 日志分析工作区(Log Analytics Workspace)
- Microsoft Azure 服务,可让红帽站点可靠性工程师检查 Microsoft Azure 上的 Ansible Automation Platform 的操作。
- 私有 DNS 区域
- 管理 Microsoft Azure 上 Ansible Automation Platform 使用的服务的本地 DNS 请求。
- 存储帐户
Microsoft Azure 服务用于文件和块存储,如项目和容器的本地存储。
Service Shape:
- StorageV2 - 如果没有启用灾难恢复,则 Standard_LRS
- StorageV2 - 如果启用了灾难恢复,则 Standard_GRS
- 虚拟网络
Microsoft Azure 服务用于管理所有内部网络和依赖服务,如 Azure 应用程序网关。
Service Shape: Application Gateway: WAF_v2
- Azure Kubernetes 服务(AKS)
用于部署 Ansible Automation Platform 应用程序和服务的 Kubernetes 集群。
Service Shape 用于所有 AAP 计划大小:
- Compute 节点: Standard_D4ds_v5 (4 个 vCPU x 16 GiB)
- 自动缩放最小节点:3
- 自动缩放最大节点:20
- PostgreSQL 的 Azure 数据库
用于 Ansible Automation Platform 的 PostgreSQL 数据库的 Microsoft Azure 数据库服务。下表根据所购买的计划显示了不同的配置层。
Expand AAP 计划大小(最少节点数)
数据库组成配置
数据库存储
50
Standard_D2s_v3
512 GB
置备 2,300; 最多 3,500
400
Standard_D4s_v3
512 GB
置备 2,300; 最多 3,500
1000
Standard_D2s_v3
512 GB
置备 2,300; 最多 3,500
2500
Standard_D2s_v3
512 GB
置备 2,300; 最多 3,500
5000
Standard_D2s_v3
1 TB
5000
10000
Standard_D2s_v3
1 TB
5000
确切的基础架构使用取决于在租期中部署受管应用程序的时间长度,以及可能导致 Kubernetes 集群自动扩展以满足您的工作负载需求的自动化要求。
Microsoft 提供了一个 定价计算器,用于估算 Microsoft Azure 产品和服务的成本。红帽已在定价计算器中配置了示例场景: 使用 Azure 基础架构上的 Red Hat Ansible Automation Platform 来根据机构的工作负载调整 Kubernetes 预期的自动扩展变量。
如果红帽决定部署的自动化可能会超过部署当前层的功能,则 Red Hat SREs 将与您合作来根据自动化需求升级基础架构层。