您可以使用已安装在 AWS 私有云上的现有 Control Room,在 AWS 私有云上创建、运行和管理 API 任务。 此部署模式使您能够使用安装在 Windows 或 Linux EC2 实例上的 Control Room

工作流

您必须配置安装了 Control RoomAWS 账户,以便连接到 AWS 账户上的 API 任务

步骤 任务 描述
1 Control Room AWS 账户上部署 CloudFormation 堆栈。 您必须根据您的需求修改 api-task-controlroom-account.yaml CloudFormation 模板文件的参数,以便 Control Room AWS 账户中的某个 IAM 角色能够在 API 任务 AWS 账户中担任管理员角色。

在 Control Room AWS VPC 上部署 CloudFormation 堆栈

2 API 任务 AWS 上部署 CloudFormation 堆栈。 您必须根据您的需求修改 api-task-controlroom-account.yaml CloudFormation 模板文件的参数,以便 Control Room AWS 账户中的某个 IAM 角色能够在 API 任务 AWS 账户中担任管理员角色。

在 API 任务 AWS VPC 上部署 CloudFormation 堆栈

3 设置 VPC 对等连接 在两个AWS账户之间设置VPC对等连接。

在 AWS 账户之间设置 VPC 对等连接

4 API 任务 AWS 账户中的路由表配置。 更新 API 任务 AWS 的路由表,以确保传出数据流量通过 VPC 对等连接路由。

为 Control Room AWS 账户创建 VPC 对等连接的路由表

5 Control Room AWS 账户中的路由表配置。 更新 Control Room AWS 的路由表,以确保传入数据流量通过 VPC 对等连接路由。

为 Control Room AWS 账户创建 VPC 对等连接的路由表

6 Control Room AWS 中配置 DNS Control Room AWS 中配置 DNS,使 Control Room 能够通过 VPC 对等连接,使用 Control Room 的域名下载依赖项。

在 Control Room AWS 账户中配置 DNS

7 连接 Control Room AWS 账户到 API 任务 AWS 请将两个AWS账户连接,以便在AWS私有云上运行API 任务

连接 Control Room AWS 账户 和 API 任务 AWS 账户