设置 Application Integration

本页面介绍了在 Google Cloud 项目中成功设置或预配 Application Integration 所需的不同方法和步骤。

准备和规划

在设置 Application Integration 之前,请执行以下步骤:

  1. 在 Google Cloud 控制台中,前往项目选择器页面。

    转到“项目选择器”

  2. 选择或创建 Google Cloud 项目。

    选择或创建项目所需的角色

    • 选择项目:选择项目不需要特定的 IAM 角色,您可以选择已获授角色的任何项目。
    • 创建项目:如需创建项目,您需要拥有 Project Creator 角色 (roles/resourcemanager.projectCreator),该角色包含 resourcemanager.projects.create 权限。了解如何授予角色。
  3. 验证是否已为您的 Google Cloud 项目启用结算功能。

所需的角色

如需获得设置 Application Integration 所需的权限,请让管理员向您授予项目的以下 IAM 角色:

如需详细了解如何授予角色,请参阅管理对项目、文件夹和组织的访问权限。

您也可以通过自定义角色或其他预定义角色来获取所需的权限。

设置 Application Integration 的方法

您可以通过以下方式在 Google Cloud 云项目中设置 Application Integration:

  • 快速设置

    快速设置是一键式自动化流程,可预配 Application Integration,您无需担心任何设置配置。请参阅开始快速设置。

  • 高级设置

    高级设置是一个手动流程,您可以在其中选择要用于在 Google Cloud 云项目 中设置 Application Integration 的加密方法。请参阅开始高级设置。

开始快速设置

快速设置是一键式操作,可自动使用所需默认配置来预配 Application Integration,让您快速开始使用该产品。默认配置包括启用 API(Application Integration API、Secret Manager API 和 Connectors API)、创建默认服务账号,以及使用 Google-owned and Google-managed encryption keys 作为所选区域的加密方法。

如需启动快速设置,请执行以下操作:

  1. 打开 Google Cloud 控制台,然后使用您的 Google Cloud 账号登录。
  2. 前往 Application Integration 页面。

    转到 Application Integration

  3. 选择要在其中设置 Application Integration 的 Google Cloud 项目。
  4. 在概览页面中,选择要部署 Application Integration 的区域,然后点击快速设置。

    快速设置图片 快速设置图片

  5. 系统会显示一个进度条,指示设置进度。成功完成后,您将被重定向到集成列表页面。

开始高级设置

使用高级设置手动选择要在项目中预配 Application Integration 的加密方法。

如需启动高级设置,请执行以下操作:

  1. 打开 Google Cloud 控制台,然后使用您的 Google Cloud 账号登录。
  2. 前往 Application Integration 页面。

    转到 Application Integration

  3. 选择要在其中设置 Application Integration 的 Google Cloud 项目。

    系统会显示概览页面。

  4. 点击高级设置。

    高级设置图片 高级设置图片

    系统会显示设置 Application Integration 页面。

    如需成功设置 Application Integration,请在设置 Application Integration 页面中完成以下步骤:

    1. 启用所需的 API。
    2. 选择区域和加密方法。

启用 API

启用 API 部分显示在设置过程中必须为 Application Integration 启用的一组 API。只有在所有 API 都启用后,您才能进入下一步。

您只需点击一下,即可顺畅启用所有必需的 API:

  1. 点击启用 API,然后等待几分钟,让系统自动启用所需的 API。

    在此步骤中,系统会启用以下 API(如果尚未启用):

    API 名称 位置信息 说明
    Application Integration API integrations.googleapis.com 允许用户使用 Application Integration 界面创建和管理与 Google Cloud 服务和其他业务应用的集成。
    Secret Manager API secretmanager.googleapis.com 存储敏感数据,例如 API 密钥、密码和证书。在提升安全性的同时提供便利。
    Connectors API connectors.googleapis.com 让用户能够使用 Integration Connectors 界面创建和管理与 Google Cloud 服务和其他业务应用的连接。
    Cloud KMS API cloudkms.googleapis.com

    允许使用客户管理的加密密钥 (CMEK) 进行数据加密。这样,您就可以使用自己的密钥(而不是 Google-owned and Google-managed encryption keys)对集成数据进行加密。

    如需详细了解 CMEK,请参阅客户管理的加密密钥。
  2. 当设置 Application Integration 页面指示所有 API 均已成功启用时,点击下一步,如下图所示。
“启用 API”步骤图片 “启用 API”步骤图片

选择区域和加密方法

在此步骤中,您将选择要部署 Application Integration 的区域,并为所选区域选择加密方法。

在选择区域部分下,执行以下步骤:

  1. 区域:选择您要部署 Application Integration 资源并存储集成数据的区域位置。 存储在某个区域中的数据会在该区域内的所有可用区中以冗余方式提供。

    如需了解支持的 Application Integration 区域,请参阅 Application Integration 位置。

  2. 高级设置:您可以选择展开并选择要在所选区域中使用的加密方法。您可以选择以下任一方法:
    • Google-managed encryption key:这是默认加密方法。如果您希望由 Google 管理用于保护所选区域中数据的加密密钥,请使用此方法。
    • 客户管理的加密密钥 (CMEK):如果您想控制和管理用于保护所选区域中数据的加密密钥,请使用此方法。
      1. 点击选择客户管理的密钥,然后选择所选区域中可用的现有 CMEK 密钥。您还可以创建新密钥或使用现有密钥的密钥资源 ID。
      2. 点击验证,检查您的默认服务账号是否具有对所选 CMEK 密钥的加密密钥访问权限。
      3. 如果所选 CMEK 密钥的验证失败,请点击授予,将 CryptoKey Encrypter/Decrypter IAM 角色分配给默认服务账号。
      如需详细了解 CMEK,请参阅客户管理的加密密钥。
  3. 点击完成,完成 Application Integration 设置。

“选择区域和加密”步骤图片 “选择区域和加密”步骤图片

后续步骤