使用现有的 Control Room 进行部署
- Updated: 2025/12/15
您可以使用已安装在 AWS 私有云上的现有 Control Room,在 AWS 私有云上创建、运行和管理 API 任务。 此部署模式使您能够使用安装在 Windows 或 Linux EC2 实例上的 Control Room。
工作流
您必须配置安装了 Control Room 的 AWS 账户,以便连接到 AWS 账户上的 API 任务。
| 步骤 | 任务 | 描述 |
|---|---|---|
| 1 | 在 Control Room AWS 账户上部署 CloudFormation 堆栈。 | 您必须根据您的需求修改 api-task-controlroom-account.yaml CloudFormation 模板文件的参数,以便 Control Room AWS 账户中的某个 IAM 角色能够在 API 任务 AWS 账户中担任管理员角色。 |
| 2 | 在 API 任务 AWS 上部署 CloudFormation 堆栈。 | 您必须根据您的需求修改 api-task-controlroom-account.yaml CloudFormation 模板文件的参数,以便 Control Room AWS 账户中的某个 IAM 角色能够在 API 任务 AWS 账户中担任管理员角色。 |
| 3 | 设置 VPC 对等连接 | 在两个AWS账户之间设置VPC对等连接。 |
| 4 | API 任务 AWS 账户中的路由表配置。 | 更新 API 任务 AWS 的路由表,以确保传出数据流量通过 VPC 对等连接路由。 |
| 5 | Control Room AWS 账户中的路由表配置。 | 更新 Control Room AWS 的路由表,以确保传入数据流量通过 VPC 对等连接路由。 |
| 6 | 在 Control Room AWS 中配置 DNS | 在 Control Room AWS 中配置 DNS,使 Control Room 能够通过 VPC 对等连接,使用 Control Room 的域名下载依赖项。 |
| 7 | 连接 Control Room AWS 账户到 API 任务 AWS。 | 请将两个AWS账户连接,以便在AWS私有云上运行API 任务。 |